Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

bismark2bedGraph fails to sort GZIP compressed files #9

Closed
FelixKrueger opened this issue Dec 9, 2015 · 1 comment
Closed

bismark2bedGraph fails to sort GZIP compressed files #9

FelixKrueger opened this issue Dec 9, 2015 · 1 comment

Comments

@FelixKrueger
Copy link
Owner

It appears the bismark2bedGraph produces empty coverage files when using the command line

bismark2bedGraph --dir /Path_to_dir --buffer_size 10G --scaffolds -o CpG_file.bed.gz /path_to_dir/CpG_context_file.fastq.gz_bismark_pe.deduplicated.sorted.txt.gz

@FelixKrueger
Copy link
Owner Author

I have looked into this and it appears that the files were opened as a stream from the Unix sort command, however sort cannot read gzip compressed files. As a result the stream from sort is just empty. I have now changed this to a zcat stream piped into sort, and it seems to be working well on my end now. Addressed in 271c00f.

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

No branches or pull requests

1 participant