Skip to content

AlignmentGroup

An AlignmentGroup contains one or more possible alignments from the same CySeq read. For more information on why a CySeq read can have multiple alignments see Mapping

pycyseq.AlignmentGroup dataclass

Group of alignments that belong to the same CySeq read.

Parameters:

Name Type Description Default
alignments List[SingleStrandAlignment] | List[DoubleStrandAlignment]

List of SingleStrandAlignment or DoubleStrandAlignment objects.

required

Raises:

Type Description
ValueError

If not all objects in alignments are of the same type SingleStrandAlignment or DoubleStrandAlignment.

has_rotations: bool property

Return true if there is more than one possible alignment.

is_dsdna: bool property

Return true if the alignments in this object are from dsDNA molecules.

is_ssdna: bool property

Return true if the alignments in this object are from ssDNA molecules.

name: str | None property

Name of the CySeq read.

__len__() -> int

Number of alignments.