removing adapters based on IDs not sequence
0
0
Entering edit mode
6.7 years ago

I am using cutadapt to remove the adapters from fastq file. in the paper I got the data from it mentioned that they use P5 and P7 adapters. is there any option in cutadapt to remove this adapters without giving the sequence itself?

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

I believe cutadapt can't do this, it can only trim using given sequence. You could create variables for each adapter (which you could append to your .bashrc):

P5ADAPT=AACCGGTT
P7ADAPT=TTAAGGCC

cutadapt -a $P5ADAPT -a $P7ADAPT -o output.fastq input.fastq
ADD REPLY

Login before adding your answer.

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