deeplotyper.data_modelsΒΆ

Functions

TypedDict(typename[, fields, total])

A simple typed namespace.

dataclass([cls, init, repr, eq, order, ...])

Add dunder methods based on the fields defined in the class.

field(*[, default, default_factory, init, ...])

Return an object to identify dataclass fields.

Classes

Base

alias of str

BaseCoordinateMapping(global_position, ...)

Maps a single base between global, genomic, and transcript coordinates.

CodonCoordinateMapping(codon_index, codon, ...)

Maps a codon and its amino acid across genomic and transcript coordinates.

CodonIndex

alias of int

ExonDef

Definition of an exon segment.

HaplotypeEvent(pos0, ref_allele, alt_seq)

A single variant event relative to a reference haplotype.

MappingEntry

Mapping between transcript and genomic indices.

NewTranscriptSequences([exon_sequences, ...])

Constructed sequences and maps after applying haplotype events.

Position

alias of int

RawBase(region, position, base)

A raw base in a given region before any alignment or mapping.

Region

alias of str

SequenceMappingResult([base_mappings, ...])

Result of mapping an entire transcript against the genome at base resolution.

TranscriptMappingResult([...])

Comprehensive mapping results for a single transcript.