matsengrp / historydag

https://matsengrp.github.io/historydag
GNU General Public License v3.0
0 stars 1 forks source link

Create subclass for ambiguous samples #47

Closed willdumm closed 1 year ago

willdumm commented 1 year ago

This PR creates the new subclass historydag.sequence_dag.AmbiguousLeafSequenceHistoryDag which allows leaf sequences to contain ambiguous characters, provides a convenient edge weight function for computing minimum hamming distance on those edges, and provides overridden methods that use that edge weight function.

it also: