This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Trinity - in silico normalization before/after trimmomatic?

I have 100+ million paired-end reads from which adapter sequences have been removed but quality trimming has not yet been conducted. It seems most efficient from a memory utilization standpoint to conduct in silico normalization and trimmomatic steps FIRST and only once and then to use normalized/trimmed data for any subsequent trinity assembly trials. If so, which should come first, the normalization operation or the trimmomatic operation? Thanks!

rna-seq

2 answers

The optimal order is:

1) Adapter-trimming

2) Quality-trimming (if necessary)

3) Normalization (if necessary)

From a memory perspective, if you use BBNorm for normalization, the order does not matter since its memory use is unrelated to input data. However, the quality of normalization is superior for trimmed data because there are fewer erroneous kmers.

If you download the BBMap package, there is a file at /bbmap/docs/guides/PreprocessingGuide.txt which outlines my recommendations for the order of preprocessing steps.

Thanks for the advice and links, Brian. I've been considering BBNorm for all the reasons you mention in support of the software above and elsewhere.

Dear wasphunter, Hi

You can launch normalization and Trimmomatic at the same time in just one script in Trinity.

After quality trimming of reads using Trimmomatic remember to use trimmed files for the next steps NOT the original read files.

By the way, in silico normalization now happens by default in the most recent version of Trinity (v2.3.2).

~ Best

Thanks Farbod. I was aware of the capacity to package all steps in a single Trinity run. That is attractive but, like many, I have limited access to computing resources. It seemed to me prudent to create a high-quality, normalized data set one time that I could then use for any downstream assemblies that I wanted to undertake.

Log in to answer this question.