trimming the paired end reads with cutadapt
2
1
Entering edit mode
8.2 years ago
zizigolu ★ 4.3k

Hi,

I have paired end reads then I tried the below syntax to trim the universal adapters and quality trimming by cutadapt but I faced error always.

[izadi@lbox161 bowtie2-2.2.5]$ $CUT/cutadapt -q 35 -m 15 -a AGATCGGAAGAGCACACGTCTGAACTCCAGTCAC -A AGATCGGAAGAGCGTCGTGTAGGGAAAGAGTGTAGATCTCGGTGGTCGCCGTATCATT -o out.1.fastq -p out.2.fastq L6_1.fq L6_2.fq

cutadapt: error: no such option: -A

What is my fault please?

Thank you

RNA-Seq cutadapt software-error • 16k views
ADD COMMENT
2
Entering edit mode

What do you think "no such option: -A" means?

ADD REPLY
0
Entering edit mode

But I used the cutadapt manual syntax

cutadapt \
            -a AGATCGGAAGAGCACACGTCTGAACTCCAGTCAC \
            -A AGATCGGAAGAGCGTCGTGTAGGGAAAGAGTGTAGATCTCGGTGGTCGCCGTATCATT \
            -o trimmed.1.fastq.gz -p trimmed.2.fastq.gz \
            reads.1.fastq.gz reads.2.fastq.gz

for paired end I should use -A? What is wrong?

ADD REPLY
1
Entering edit mode

Maybe try to use the most recent version of cutadapt, the version I have installed (1.4.1) does not have -A argument option!

ADD REPLY
1
Entering edit mode

Either the documentation is wrong or they have a bug there. Or you're using a version that doesn't match the documentation.

ADD REPLY
3
Entering edit mode
8.2 years ago
Benn 8.3k

-A

There is no such option!

ADD COMMENT
3
Entering edit mode
8.2 years ago
BioRyder ▴ 220

Cut adapt is having only the following options.

Adapter type                Command-line option
3' adapter                  -a ADAPTER
5' adapter                  -g ADAPTER
Anchored 3' adapter         -a ADAPTER$
Anchored 5' adapter         -g ^ADAPTER
5' or 3' (both possible)    -b ADAPTER

For more information with examples: http://cutadapt.readthedocs.org/en/stable/guide.html

Links:

ADD COMMENT
1
Entering edit mode

I should change -A to -g then no error anymore

ADD REPLY
1
Entering edit mode

yes, for 5' adapter you have to use -g option.

ADD REPLY
2
Entering edit mode

-A is in read the docs, unfortunately (http://cutadapt.readthedocs.org/en/stable/guide.html#trimming-paired-end-reads ). I think they just need to fix their documentation.

ADD REPLY
0
Entering edit mode

Hello Ryan,

Yes, you are right. they have to update their documentation.

ADD REPLY

Login before adding your answer.

Traffic: 2806 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