modos.genomics.cram#
Utilities to interact with genomic intervals in CRAM files.
Functions#
|
Extract metadata from the CRAM file header and |
|
Validate CRAM files using pysam. |
|
Helper function to create a unique id from a sequence name and md5 hash |
Module Contents#
- modos.genomics.cram.extract_cram_metadata(cram)[source]#
Extract metadata from the CRAM file header and convert specific attributes according to the modo schema.
- Parameters:
cram (pysam.AlignmentFile)
- Return type:
List