Strand

Contents

Strand#

class alphagenome.data.genome.Strand(value)[source]#

Represents the strand of a DNA sequence.

This enum defines the possible strands for a DNA sequence:

  • POSITIVE: The forward strand (5’ to 3’).

  • NEGATIVE: The reverse strand (3’ to 5’).

  • UNSTRANDED: The strand is not specified.

Methods

from_str(strand)

Creates a Strand enum member from '+', '-', or '.'.