fastx_clipper problem in output
0
0
Entering edit mode
6.0 years ago
mnmalash • 0

I use fastx_clipper to clip adapters from FASTQ files after quality filtering using Fastq_quality_filter, but the output file is empty while after execution it says how much the input and output were and how much too short reads it discarded. what could be wrong?

next-gen software error • 1.9k views
ADD COMMENT
0
Entering edit mode

show us the command line.

ADD REPLY
0
Entering edit mode

fastx_clipper -k -n -v -i SRR123456.qualF.fastq -o SRR123456.qualF.clipped.fastq

ADD REPLY
0
Entering edit mode

It looks like you have not provided the adaptor string hence the program is looking for dummy default adaptor specified below.

[-a ADAPTER] = ADAPTER string. default is CCTTAAGG (dummy adapter).
ADD REPLY
0
Entering edit mode

yes, I left it for default. is it required for functioning?

ADD REPLY
0
Entering edit mode

Do not use fastx-toolkit in 2018. It is not actively being maintained and does not support paired-end data (as far as I know). Currently accepted options are bbdup.sh from BBMap, trimmomatic, cutadapt or skewer (the latter is my go-to choice).

ADD REPLY
0
Entering edit mode

Thanks for the nice recommendations. I have read about skewer as you recommended and I see it makes quality filtering. Does this mean I don't need quality filtering by other methods such as pearf or even fastq_quality_filter of fastx-toolkit and it will do both functions at once?

ADD REPLY
0
Entering edit mode

Yes, skewer does all in one go. A typical command line for single-end data Illumina data could be:

./skewer -n -q 25 -Q 25 in.fastq.gz

It removes reads with excessive Ns (-n), removes bases at the 3' end until it hits a base with quality > 25 (-q 25) and discards reads with an average base quality below 25 (-Q 25). Supports multithreading (-t numberCores) and offers compression (-z) of the trimmed reads.

ADD REPLY
0
Entering edit mode

this is awesome. Thank you dear

ADD REPLY

Login before adding your answer.

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