exonviz.Coding

class exonviz.Coding(start: int = 0, end: int = 0, start_phase: int = 0, end_phase: int = 0)

Coding region for an Exon

Parameters:
  • start – Start of the Coding region relative to the start of the Exon

  • end – End of the Coding region relative to the end of the Exon

  • start_phase – Reading phase of the start of the Coding region

  • end_phase – Reading phase of the end of the Coding region

__init__(start: int = 0, end: int = 0, start_phase: int = 0, end_phase: int = 0) None

Methods

__init__([start, end, start_phase, end_phase])

split(size)

Split a chunk of size from the Coding region

Attributes

end

end_phase

size

Return the size of the Coding region

start

start_phase