Hi all,
I am trying to use RSEM to receive relative abundance estimates of viruses within my metagenomic data, not transcripts. The problem is that I am no longer using Trinity as the assembler because I had much better luck with SPAdes, especially considering that I am not working with mRNA sequencing. Is it possible to use RSEM on a non Trinity assembly? If so, how do I go about doing so?
Note: I know that the SPAdes IDs provide a coverage meaurement for each individual contig; however, I need to compare the abundances of sequences across different samples and RSEM was good for that. What I mean is that I was able to pool all of my samples into one assembly, and RSEM would be able to differentiate the abundance of a certain sequence in each individual sample. If a sequence was assembled but only in one of my samples, RSEM would give me that information with the TPM measurements. If there is an alternative program I can use, please let me know!
RSEM
andTrinity
are completely independent of one another. I don't see what the problem here actually is.Apologies for the confusion. I've successfully assembled my RNA data using SPAdes (I've had more success with this assembler for viral RNA work). I am wondering if I can perform the same tasks below with SPAdes assembly output rather than Trinity.
Here is my code for the Trinity assembly. The samples file contains forward and reverse reads for three different samples (six files total):
Prepping a reference for RSEM:
Then, I align reads to the assembly using bowtie2 and estimate abundance:
The resulting RSEM.isoforms.results file produced for each of my samples provides me with TPM values for each contig that was assembled:
Essentially, I want to know if there's a way to carry out this same task (calculating TPMs per sample for each contig in my assembly) without using any scripts that are specific to Trinity. I am not well-experienced with any of this, so please let me know if that makes sense. I can provide more information if necessary. I've tried several things over the past few months but to no avail (I stepped away from this analysis for a while).
Thanks!