Bio.Align.bigmaf module

Bio.Align support for the “bigmaf” multiple alignment format.

The bigMaf format stores multiple alignments in a format compatible with the MAF (Multiple Alignment Format) format. BigMaf files are binary and are indexed as a bigBed file.

See https://genome.ucsc.edu/goldenPath/help/bigMaf.html

class Bio.Align.bigmaf.AlignmentIterator(source)

Bases: Bio.Align.bigbed.AlignmentIterator, Bio.Align.maf.AlignmentIterator

Alignment iterator for bigMaf files.

The file may contain multiple alignments, which are loaded and returned incrementally.

Alignment annotations are stored in the .annotations attribute of the Alignment object, except for the alignment score, which is stored as an attribute. Sequence information of empty parts in the alignment block (sequences that connect the previous alignment block to the next alignment block, but do not align to the current alignment block) is stored in the alignment annotations under the "empty" key. Annotations specific to each line in the alignment are stored in the .annotations attribute of the corresponding sequence record.

fmt = 'bigMaf'
mode = 'b'
__abstractmethods__ = frozenset({})