![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adapter trimming and trimming by quality question | alisrpp | Bioinformatics | 5 | 04-08-2013 05:55 PM |
Trimming or filtering the data from Solid | anusha | Bioinformatics | 4 | 12-19-2012 09:00 AM |
Filtering and trimming data | salmonella | Bioinformatics | 10 | 11-17-2011 06:39 AM |
Please Help: What is the differences between standard trimming and adaptive trimming | byou678 | Bioinformatics | 8 | 08-22-2011 01:05 PM |
Trimming or filtering the data from Solid | anusha | SOLiD | 1 | 01-21-2010 10:19 AM |
![]() |
|
Thread Tools |
![]() |
#1 |
Junior Member
Location: Melbourne Australia Join Date: Oct 2013
Posts: 4
|
![]()
Does the order of trimming reads first and then filterings or first filtering reads and then trimming make a diffrence?
|
![]() |
![]() |
![]() |
#2 | |
Devon Ryan
Location: Freiburg, Germany Join Date: Jul 2011
Posts: 3,480
|
![]()
To copy and paste my comment on Biostars:
Quote:
|
|
![]() |
![]() |
![]() |
#3 |
Member
Location: Göttingen Join Date: May 2012
Posts: 10
|
![]()
I did trimming of bad quality bases first. I think you can retain more of your reads like this, because after that step more of your reads will pass the filtering step.
Maybe you could try both ways with a subset of reads and see which one yields more reads after filtering. |
![]() |
![]() |
![]() |
#4 |
Junior Member
Location: Melbourne Australia Join Date: Oct 2013
Posts: 4
|
![]()
The subset test is a good idea.
I am actually wondering what the purpose of filtering is if you are trimming reads down and discard them when there are not enough bases left. |
![]() |
![]() |
![]() |
#5 |
Member
Location: SE MN Join Date: Oct 2013
Posts: 44
|
![]()
Not sure myself. Generally, I've done
Filtering of contaminant genomes (YMMV), then Trimmomatic with the appropriate adaptors. For Trimmomatic, I'm not quite sure if they trim adaptors first then do quality trim, or vice versa. That said...what did you mean by filtering? Last edited by ctseto; 10-29-2013 at 06:41 AM. |
![]() |
![]() |
![]() |
#6 |
Devon Ryan
Location: Freiburg, Germany Join Date: Jul 2011
Posts: 3,480
|
![]()
I don't bother with filtering after trimming. The quality dip is almost always just near the ends of the reads, so there's likely no benefit unless you're doing a homopolymer filter or something like that. Even then, unless you have a lot of reads that would otherwise be filtered out, the change in alignment time is likely about as long as the amount of time needed for the filtering.
|
![]() |
![]() |
![]() |
#7 |
Member
Location: Göttingen Join Date: May 2012
Posts: 10
|
![]()
It depends on what you want to do with your reads. For mappings I wouldn't filter too strictly. For assemblies you want the best quality reads possible.
In the case of an assembly I remove reads with ambiguous bases first. Assemblers don't handle them well. Then you trimm and then you filter. I try to estimate how many reads I need in the end for a decent assembly. There are some numbers here in the forum for a few species. Then I iterate the filter criteria with a subset in a way to approximately reach that number. The more reads you have to begin with the more you can filter out resulting in higher quality of the remaining. |
![]() |
![]() |
![]() |
Tags |
filtering reads, quality filtering, quality trimming, trimming |
Thread Tools | |
|
|