historydag.sequence_dag
Classes
|
A HistoryDag subclass with node labels containing full nucleotide sequences. |
|
A HistoryDag subclass with node labels containing full, unambiguous nucleotide sequences. |
- class historydag.sequence_dag.SequenceHistoryDag(dagroot, attr={})[source]
A HistoryDag subclass with node labels containing full, unambiguous nucleotide sequences.
The constructor for this class requires that each node label contain a ‘sequence’ field, which is expected to hold an unambiguous nucleotide sequence.
A HistoryDag containing ‘compact_genome’ node label fields which contain
compact_genome.CompactGenome
objects may be automatically converted to this subclass by calling the class methodSequenceHistoryDag.from_dag()
, providing the HistoryDag object to be converted.
- class historydag.sequence_dag.AmbiguousLeafSequenceHistoryDag(dagroot, attr={})[source]
A HistoryDag subclass with node labels containing full nucleotide sequences.
The constructor for this class requires that each node label contain a ‘sequence’ field, which is expected to hold an unambiguous nucleotide sequence if the node is internal. The sequence may be ambiguous for leaf nodes.
A HistoryDag containing ‘compact_genome’ node label fields which contain
compact_genome.CompactGenome
objects may be automatically converted to this subclass by calling the class methodSequenceHistoryDag.from_dag()
, providing the HistoryDag object to be converted.