Skip to content

SingleStrandAlignment

pycyseq.SingleStrandAlignment dataclass

Alignment of a single-strand DNA molecule.

Parameters:

Name Type Description Default
aln Alignment

Alignment object

required
has_rotations: bool property

Whether the DNA sequence has more than one possible rotation based on alignment.

is_duplicate: int property

Return true if the alignment has been marked as duplicate

len: int property

Number of aligned bases in the DNA sequence

mapq: int property

Mapping quality of the alignment.

name: str | None property

Name of the read

num_rotations: int property

The number of possible rotations.

pysam: pysam.AlignedSegment property

The pysam.AlignmentSegment object for access to its methods. See https://pysam.readthedocs.io/en/stable/index.html for documentation.