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

feature request: read gzipped genomes #145

Open
ctb opened this issue Nov 22, 2020 · 4 comments
Open

feature request: read gzipped genomes #145

ctb opened this issue Nov 22, 2020 · 4 comments

Comments

@ctb
Copy link

ctb commented Nov 22, 2020

I've been working on running mummer from within a script (for #144) and it would be super nice if future versions of mummer could read gzipped files without me having to uncompress them first -- e.g. mashmap reads gzipped files natively!
(not sure if it requires that the extension be .gz or not)

@alekseyzimin
Copy link
Collaborator

Thank you for your suggestion. Reading gzipped genomes is easy to incorporate, but it would break the downstream functionality, as the programs like delta-filter, dnadiff or mummerplot rely in unzipped fasta to be present at the location specified in delta file. It is possible to change all of the programs in the suite, I will look into that.

@ctb
Copy link
Author

ctb commented Nov 30, 2020

thanks! I really appreciate the response & thanks again for mummer!

@Caiyulu-818
Copy link

so when i run dnadiff -p 10 ~/data1/LUCY/magdrep21077/SRR10159350bin.26.fa /home/ec2-user/data1/LUCY/refseq/undownr1/GCF_003988655.1_ASM398865v1_genomic.fna.gz
Building alignments
terminate called after throwing an instance of 'std::runtime_error'
what(): Unsupported format
ERROR: Failed to run nucmer, aborting.

it cannot read "gz files,how can i solve this problem ,thanks a lot.

@alekseyzimin
Copy link
Collaborator

alekseyzimin commented Apr 6, 2022 via email

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

3 participants