Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Output corrupted with gzipped reads #6

Closed
bsiranosian opened this issue Feb 21, 2019 · 2 comments
Closed

Output corrupted with gzipped reads #6

bsiranosian opened this issue Feb 21, 2019 · 2 comments

Comments

@bsiranosian
Copy link

When I give two gzipped reads to fastq_pair, it seems to function normally. The output files are named with the .fq extension, but they're not a text file, nor a gzipped file.

$ fastq_pair SAMPLE_1.fq.gz SAMPLE_2.fq.gz
Writing the paired reads to SAMPLE_1.fq.gz.paired.fq and SAMPLE_2.fq.gz.paired.fq.
Writing the single reads to SAMPLE_1.fq.gz.single.fq and SAMPLE_2.fq.gz.single.fq
Left paired: 11619              Right paired: 11619
Left single: 381534             Right single: 418985

$ file -i SAMPLE_1.fq.gz.paired.fq
SAMPLE_1.fq.gz.paired.fq: application/octet-stream; charset=binary

$ gzip -t SAMPLE_1.fq.gz.paired.fq
gzip: SAMPLE_1.fq.gz.paired.fq: not in gzip format
@bsiranosian
Copy link
Author

Sorry, realized this was covered in the readme. Still, should not exit without an error if gzipped reads are given...

@linsalrob
Copy link
Owner

Agreed. This needs to be resolved. Its because we're using random access to the filestream that is not possible with gzipped files.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants