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

Use grabix to detect compression mode of FASTA input. #121

Open
subwaystation opened this issue Apr 17, 2023 · 2 comments
Open

Use grabix to detect compression mode of FASTA input. #121

subwaystation opened this issue Apr 17, 2023 · 2 comments
Labels
enhancement Improvement for existing functionality

Comments

@subwaystation
Copy link
Collaborator

Is your feature request related to a problem? Please describe

If I enter give nf-core/pangenome a GZIP compressed FASTA as input, WFMASH will complain.

Describe the solution you'd like

Use grabix in order to find out if the input file was GZIP or BGZIP compressed. If it was GZIP compressed, uncompress it, compress it with BGZIP, index it, then run the pipeline.

@subwaystation subwaystation added the enhancement Improvement for existing functionality label Apr 17, 2023
@MartaSantanaSilva MartaSantanaSilva removed their assignment Mar 26, 2024
@jkartuch jkartuch self-assigned this May 21, 2024
@jkartuch jkartuch moved this to In progress in Hackathon: May 2024 May 21, 2024
@jkartuch jkartuch moved this from In progress to To do in Hackathon: May 2024 May 22, 2024
@jkartuch jkartuch removed their assignment May 22, 2024
@heuermh
Copy link
Contributor

heuermh commented Jan 15, 2025

I think folks in nf-core/references also would like to do this; perhaps we can borrow from there if we don't get to it first

@subwaystation
Copy link
Collaborator Author

Good to know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement for existing functionality
Projects
No open projects
Status: To do
Development

No branches or pull requests

4 participants