-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update sample_vcf_to_zarr.py Allow contigs to be read from VCF by default, preserving backwards compatibility with existing scripts * Update sample_vcf_to_zarr.py Remove accidental keypresses * read contigs from header instead of from content * add error handling on faulty file * implemented Alistairs suggestions `str.endswith()` can take a tuple of values, so I've combined both `endswith` suggestions * update logs to be more explicit * import gzip module * add extra test to verify new contigs-in-header feature * update fixtures to include contig header Co-authored-by: Guus van de Steeg <[email protected]>
- Loading branch information
1 parent
9e10e8e
commit 66d0f6d
Showing
4 changed files
with
46 additions
and
5 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters