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

Handle cortex fails in variant call script #115

Merged
merged 1 commit into from
Jul 5, 2023

Conversation

martinghunt
Copy link
Member

Handle edge cases caused by bad input data:

  • when Cortex fails (non-zero exit code), or finishes with zero exit code but doesn't make a VCF file
  • input reads files or ref dir do not exist
  • input reads files are empty

Always tries to carry on, even if that means the final VCF file has no records, and then the inferred consensus FASTA is all Ns.

Writes error messages to stderr in capitals, so should be clear that something is wrong with the sample.

Closes #114

@martinghunt martinghunt merged commit 1bb159f into iqbal-lab-org:master Jul 5, 2023
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

Successfully merging this pull request may close these issues.

Samples with a small number of reads causes Clockwork to crash
1 participant