Protocol of cutadapt
0
0
Entering edit mode
9.6 years ago

Hi, I'm newbie in this forum, I'm using option -b with cutadapt to trim adapter from the fastq files, but I lose interest sequence of each reads when the adapter is in the middle or is not in a end of the read. my question is: How Cutadapt defines the cut before or after finding an adapter located in the middle of the read?. Hihlighted sequence was removed : the command used was

cutadapt -b AGATC -o output.fastq input.fastq
1 -> AGATCTGGAGGA
_____^---^
2 -> GTGAAATAGATCCTGAAACCGTA
____________^---^
3 -> AGCGGAGTGAAATAGATCCTGAAACCGTATGCTCTAGTCTTGTGACGA
__________________^---^
4 -> CGCAGAACAGAGCGTGCATAACGACTGAAAAGCGACGCAGATCAAAGTGGAAGATGTACTGTTTGCGATGGTGAAAGAAGTAGAAAATCGCCCAGCTGTT
___________________________________________^---^
5 -> CGAGGCGCTCGCTTCAGATCATACTAGCGTGAAAAGGTAAACACGTGCGATGAGCGGAACGTATCCAAATCTATCTAATCCACCCATCGTAGAT
____________________^---^
6 -> CACTTGAACTCCGCCATCTCCGTTACTTCATCACAGTGGCTGAAGATCTGCATTTCAGCCGCGCGGCAGAGC
________________________________________________^---^

I would appreciate any help.

RNA-Seq • 3.0k views
ADD COMMENT
0
Entering edit mode

Why you use option b, instead of a or g? Are your adapters in 5' or 3' ends of reads?

ADD REPLY
0
Entering edit mode

hi, yes, some adapters and contaminants appearing in different parts of the reads, i identifies some contaminants with fastqc.

ADD REPLY
0
Entering edit mode

To answer your question: "How Cutadapt defines the cut?".

Cutadapt states this very clearly: "The adapter itself and anything that follows is trimmed".

But are your using right tool do achieve wanted results? cutadapt removes adapters and if you want to remove contaminants you might want to use another tool.

ADD REPLY

Login before adding your answer.

Traffic: 2148 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6