modos.genomics.formats#
Classes#
Enumeration of all supported genomic file suffixes. |
Functions#
|
Automatically instantiate a pysam file object from input path and passes any additional kwarg to it. |
Module Contents#
- class modos.genomics.formats.GenomicFileSuffix[source]#
-
Enumeration of all supported genomic file suffixes.
- classmethod from_path(path)[source]#
- Parameters:
path (pathlib.Path)
- Return type:
- modos.genomics.formats.read_pysam(path, region=None, **kwargs)[source]#
Automatically instantiate a pysam file object from input path and passes any additional kwarg to it.
- Parameters:
path (pathlib.Path)
region (Optional[modos.genomics.region.Region])
- Return type:
Iterator[pysam.AlignedSegment | pysam.VariantRecord]