I would like to do RNA-seq differential expression analysis on an experiment run on 8 pigs (4 cases and 4 controls, not matched). I've already done the tophat/cuffdiff approach using the pig genome. My PI also wants me to try out Trinity (without using the pig genome sequence).
I noticed that trinity can take in multiple fastq files at a time. How should I run my Trinity run(s)? Do I do 8 separate Trinity runs? Two runs for the two conditions?
If you're looking to do a DE analysis on your Trinity results, then provide all of your fastq's at the same time. Take note if you have PE reads or SE reads. They are supplied differently to Trinity on the command line. This will create a single de novo assembly. If you assemble each sample separately, you'll have trouble with the RSEM step when aligning the raw reads back to the assembly to get abundance estimates. You can do individual runs, if you simply just want a de novo assembly for that sample. But for the DE analysis, you'll need to create a single assembly, combining all samples as inputs.
Example:
if PE: cat all your read 1's, and cat all your read 2's
This is what I ended up doing, except instead of cat-ing the reads together I provided a list of them (separated by a space) since Trinity says I can provide 1 or more fastq files.
You can provide a list of file names for the --left and --right command line parameters but that list of names should be a comma separated list, not space separated. I fear that in this case Trinity may have taken the first file in each list and ignored the rest.
This is what I ended up doing, except instead of cat-ing the reads together I provided a list of them (separated by a space) since Trinity says I can provide 1 or more fastq files.
You can provide a list of file names for the
--left
and--right
command line parameters but that list of names should be a comma separated list, not space separated. I fear that in this case Trinity may have taken the first file in each list and ignored the rest.The Trinity documentation is very shoddy...This is what it says:
I've always just concatenated the files in respect to read orientation.