In my opinion the most convenient and sensitive but also potentially slowest way is to align the illumina adapters using e.g. SSAHA2 which will even detect adapters when there is a rather high error rate in the data. The SSAHA2 output can then be parsed to cut the first base in a read with aligned adapter or to set the PHRED Score to zero from this position on.
UPDATE:
In fact it is not that slow: 2 min per 1M reads.
Unconfigured Ad
Collapse
X
-
Thanks again. I think these sequences (CGTCTG and TATCTCGTATG) will be removed if i do adapter trimming?
Do you have experience of using any software to trim adapter sequence?
Leave a comment:
-
The position of these peaks in the kmer plot is a function of read lengths. Your reads are ~ the length of the adapter, so you've got some to the right of the plot. (my experience is solely with some 105nu read length libraries, so I'm more used to seeing these to the left)Originally posted by arrchi View PostGreat. Thanks. But the k-mer plot shows peaks at the right side instead of left side.
Did you know how to derive the adapter sequence? I thought an adapter from Illumina is 12 fixed 6-bp sequences. Am I wrong?
You're absolutely right about the indexing (though I think there are 27 of them rather than just 12). It's straighforward enough to derive the adapter sequence, although having a rubbish the library does make this easier. Your kmer plot is much cleaner than mine so it's more of a challenge. Nontheless, your plot has ...
bestPHP Code:... on the left
CGTCT (pink) centered at 17,
GTCTG (red) centered at 18 ...
I read that as CGTCTG, which is nuc 16..21 of any of the indexed adapter oligos
To the right you have
TATCT (yellow) at 40
TCTCG (black)
CTCGT (green)
GTATG (blue)
I read that as TATCTCGTATG, which is nuc 39..40 of index 2, 6 or 10
(the leading 'T' is the last position of the 6 nuc index, which is T for 2, 6, 10)
m
Leave a comment:
-
Great. Thanks. But the k-mer plot shows peaks at the right side instead of left side.
Did you know how to derive the adapter sequence? I thought an adapter from Illumina is 12 fixed 6-bp sequences. Am I wrong?Attached FilesLast edited by arrchi; 12-06-2011, 01:10 PM.
Leave a comment:
-
Well there was also evidence from the kmer analysis, which given your 57% figure I would guess would also be the case for your dataset. But yes, column 3 & 4 were the source for my (rounded) figure.Originally posted by arrchi View PostThanks, mgg.
Sorry, I think I did not describe my question clearly.
The 57% is from fastQC "Overrepresented sequences" section. The first two rows look like this:
Column 3 just says the percentage, did you conclude that "you have adapter contamination" by looking at this column and/or column 4 (Possible source)? Could you please let me know what the "possible source" of your data corresponding to "5.1%"? Is it the same (or similar) as mine?
If your data look anything like mine, take a good look at the kmer analysis; I had a series of peaks from the left side - if you look at the legend for each, you can discern the sequence of the adapter itself.
best
m
Leave a comment:
-
Thanks, mgg.
Sorry, I think I did not describe my question clearly.
The 57% is from fastQC "Overrepresented sequences" section. The first two rows look like this:
Column 3 just says the percentage, did you conclude that "you have adapter contamination" by looking at this column and/or column 4 (Possible source)? Could you please let me know what the "possible source" of your data corresponding to "5.1%"? Is it the same (or similar) as mine?#Sequence Count Percentage Possible Source
AGATCGGAAGAGCACACGTCTGAACTCCAGTCACGCCAATATCTCGTATG 329332 57.09431522083974 TruSeq Adapter, Index 6 (100% over 49bp)
GATCGGAAGAGCACACGTCTGAACTCCAGTCACGCCAATATCTCGTATGC 69354 12.023487355696135 TruSeq Adapter, Index 6 (100% over 50bp)
Leave a comment:
-
The sequences attached to the Index6 TruSeq Adapter may not be redundant; its more likely that only the TruSeq adapter itself is over-represented. I'd be inclined to trim these adapter sequences off, rather than using them as a handle to filter the entire reads out (which would lose you 50% of your reads).Originally posted by arrchi View Post@ arrchi
At the meantime, I have a question for anybody. We have a human RNA seq data generated by Hiseq, and a fastQC report showing that the percentage of one sequence (AGATCGGAAGAGCACACGTCTGAACTCCAGTCACGCCAATATCTCGTATG) is more than 50%. The possible source is "TruSeq Adapter, Index 6). I wonder if this means that this sequence contains adapter sequence. Should I filter out the redundant sequences or should I trim the adapter from these sequences?
Thanks again.
rgds
m
Leave a comment:
-
Hi mgg,
How did you find this information from fastQC report "FastQC says 5.31% adapter"? Thanks.
At the meantime, I have a question for anybody. We have a human RNA seq data generated by Hiseq, and a fastQC report showing that the percentage of one sequence (AGATCGGAAGAGCACACGTCTGAACTCCAGTCACGCCAATATCTCGTATG) is more than 50%. The possible source is "TruSeq Adapter, Index 6). I wonder if this means that this sequence contains adapter sequence. Should I filter out the redundant sequences or should I trim the adapter from these sequences?
Thanks again.
Leave a comment:
-
true, and i agree with your earlier explanation as well.Originally posted by simonandrews View PostExcept that that wouldn't explain getting different numbers. If a sequence is seen in the first 200,000 then it will be tracked right through the file and the final count should be accurate. This might explain a sequence being absent all together, but it's there the numbers should match up.
since the grepped pattern probably would not correspond to the whole read, which is what FastQC reports, counts wont match. However, if it could run beyond 200,000, a number of other reads could turn up containing the same adapter, so he would come close to grep count. Thats what I saw in one of my datasets.
btw, will appreciate if anyone has any comment re: this
http://seqanswers.com/forums/showthread.php?t=15716
Leave a comment:
-
Except that that wouldn't explain getting different numbers. If a sequence is seen in the first 200,000 then it will be tracked right through the file and the final count should be accurate. This might explain a sequence being absent all together, but it's there the numbers should match up.Originally posted by analyst View PostSimple it is.
From FastQC's manual:
To conserve memory only sequences which appear in the first 200,000 sequences are tracked to the end of the file. It is therefore possible that a sequence which is overrepresented but doesn't appear at the start of the file for some reason could be missed by this module.
Leave a comment:
-
Simple it is.Originally posted by mgg View PostHi,
I have an odd observation with fastQC's figure for over-represented sequences versus the number I get out when I do a simple egrep for adapter sequences in the .fastq file.
There must be a simple explanation?! Suggestions welcome.
M
From FastQC's manual:
To conserve memory only sequences which appear in the first 200,000 sequences are tracked to the end of the file. It is therefore possible that a sequence which is overrepresented but doesn't appear at the start of the file for some reason could be missed by this module.
Leave a comment:
-
When you are grepping with your adapter sequence are you putting in a pattern which runs the whole length of your read? The most obvious reason for the discrepancy is that there are more reads which start with adapter than have adapter over their whole length.
The overrepresented sequences report in FastQC requires an exact match over either the whole read length or the first 50bp (whichever is shorter). If you have only partial adapter sequences in some reads, or if you have a high level of base miscalls then the value reported by FastQC would be less than the true amount of adapter.
Leave a comment:
-
Here's a little from the documentation...
Don't know if that really helps, though. You might want to contact the author.
From my email with him, I was asking him "what does the "(96% over 25bp)" mean?"
"the program does a simple ungapped matching to find the best region of match to a known contaminant. The hit description simply means that the match found covered only 25bp of the original sequence, but that this had 96% identity to the sequence in the contaminants file."
Leave a comment:
-
The numbers from egrep and FastQC are (each col is a libraryOriginally posted by maubp View PostWhat are your percentages?
Proportion of reads containing at least one adapter?
Adapters as % 0.48 2.93 2.31 2.45 0.93 3.90 4.43 21.20 8.60 5.77
“ from FastQC 0.27 2.07 1.32 1.37 0.47 1.62 2.39 4.15 3.45 3.25
FastQC over represented sequences tool generally reports matches of >97% over the lengthOriginally posted by maubp View PostProportion of total bases matching adapters?
[/QUOTE]Originally posted by maubp View PostHow are you counting the grep matches? One per line (i.e. one per sequence), or might it count multiple matches per line?
I'm using egrep in bash script. I count using -c option. I also count with
pattern ^start anchored to see where the adapter is.
total=`egrep ${indexseq[${libindex[${sample}]}]} $pathFastq$sn_1 -c`
atstart=`egrep ^${indexseq[${libindex[${sample}]}]} $pathFastq$sn_1 -c`
(that hideous expression in the middle ${indexseq[${libindex[${sample}]}]}
pulls from an array the indexed adapter sequence appropriate to the library )
I'm new to this, so quite possibly this can/could count multiple matches/line.
But I don't think that's the source of the observation; the ^start-anchored
egrep returns figures which with but one exception show the vast majority of
adapters are at the start of the reads.
still baffled ...
m
Leave a comment:
Latest Articles
Collapse
-
by SEQadmin2
Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?
Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating...-
Channel: Articles
10-14-2026, 09:55 AM -
-
by SEQadmin2
Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.
We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing...-
Channel: Articles
-
ad_right_rmr
Collapse
News
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by SEQadmin2, Yesterday, 11:13 AM
|
0 responses
21 views
0 reactions
|
Last Post
by SEQadmin2
Yesterday, 11:13 AM
|
||
|
Started by SEQadmin2, Yesterday, 10:48 AM
|
0 responses
18 views
0 reactions
|
Last Post
by SEQadmin2
Yesterday, 10:48 AM
|
||
|
Started by SEQadmin2, 10-15-2026, 10:52 AM
|
0 responses
36 views
0 reactions
|
Last Post
by SEQadmin2
10-15-2026, 10:52 AM
|
||
|
Started by SEQadmin2, 10-14-2026, 05:39 AM
|
0 responses
42 views
0 reactions
|
Last Post
by SEQadmin2
10-14-2026, 05:39 AM
|
Leave a comment: