pangenome icon indicating copy to clipboard operation
pangenome copied to clipboard

Use `grabix` to detect compression mode of FASTA input.

Open subwaystation opened this issue 2 years ago • 2 comments

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 avatar Apr 17 '23 12:04 subwaystation