Does Jellyfish support zipped fastq sequences?
1
1
Entering edit mode
7.4 years ago
comma1993 ▴ 20

I used jellyfish to counting kmers and my input files were zipped fastq. I used the commond :

jellyfish count -m 17 -o 17mer_counts -s 500000000 -t 5 -c 3 read_1.fq.gz read_2.fq.gz

And I got the errors like this:

terminate called after throwing an instance of 'std::runtime_error'
  what():  Unsupported format

I don't know how to solve it.

genome Assembly kmer • 7.3k views
ADD COMMENT
0
Entering edit mode

Answer to your question is no. Workaround is described by @Sej below.

ADD REPLY
6
Entering edit mode
7.4 years ago
Sej Modha 5.3k

Jellyfish manual: http://www.genome.umd.edu/docs/JellyfishUserGuide.pdf

2.1 How to read compressed files (or other format) Jellyfish only reads FASTA or FASTQ formatted input files. By reading from pipes, jellyfish can read compressed files, like this: zcat *.fastq.gz | jellyfish count /dev/fd/0 ... or by using the '<()' redirection provided by the shell (e.g. bash, zsh): jellyfish count <(zcat file1.fastq.gz) <(zcat file2.fasta.gz) ...

ADD COMMENT
0
Entering edit mode

Thanks for your reply~~It helps a lot.

ADD REPLY

Login before adding your answer.

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