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

add a --resume option #34

Open
Psy-Fer opened this issue Mar 13, 2024 · 0 comments
Open

add a --resume option #34

Psy-Fer opened this issue Mar 13, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Psy-Fer
Copy link
Owner

Psy-Fer commented Mar 13, 2024

sometimes a run will crash or hit a wall limit due to hardware of system limits.

It would be helpful to easily resume the sequencing run.

I think a quick way to do this, would be to read the sam/fastq already written and put the readIDs into a set, and then start reading the blow5 again, doing a quick set check on each readID.

Only initial overhead is extracting readIDs from the output file.

If original output was something like --output my.fastq then arg for resume would be --resume my.fastq and --output my2.fastq and then the user can merge them at the end.

If it's a single file, that's easy just read it, fastq or sam, use extension for detection
If it's multiple files, like pass/fail or barcoding. then have the option of multiple args, like --resume file1.fastq file2.fastq, or give a path like --resume ./somepath/ and do a dir check, and recursively read all files using extension check for fastq/sam.

That should cover almost every case. if someone breaks it, they can tell me what they need.

@Psy-Fer Psy-Fer added the enhancement New feature or request label Mar 13, 2024
@Psy-Fer Psy-Fer self-assigned this Mar 13, 2024
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