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

Improve mGEMS extract #21

Open
tmaklin opened this issue Jun 9, 2023 · 0 comments
Open

Improve mGEMS extract #21

tmaklin opened this issue Jun 9, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@tmaklin
Copy link
Collaborator

tmaklin commented Jun 9, 2023

Currently running mGEMS extract always names the files with the suffix "_1.fastq.gz", "_2.fastq.gz", "_3.fastq.gz" etc. depending on the number and order of the input files. It would be useful to add an option to change the name (or print to cout) to enable usage with calls like the following:

mGEMS extract --bins input.bin -r reads_1.fastq.gz -o outdir &
mGEMS extract --bins input.bin -r reads_2.fastq.gz -o outdir &
wait

This may be faster than extracting both reads with a single command as compressing the reads sometimes takes more time than actually writing them. Current implementation does not allow the above call to work, because both calls will attempt to write to "input_1.fastq.gz".

@tmaklin tmaklin added the enhancement New feature or request label Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant