telomeric-identifier
telomeric-identifier copied to clipboard
Implement From trait for conversions between Clade, TelomereSeq and Seq
Changes
- Convert clades into enum
- Use the
strumcrate for easy operations between theCladeenum and strings - Do not use heap allocate inner slice of a
Seq - Implement From trait to convert
CladeintoSeq - Implement From trait to convert
CladeintoTelomereSeq - Removes redundant
lengthfield forTelomereSeq, now accessed through thelenmethod of theseqfield - Do not panic when parsing string as clade and getting the respective telomere sequence, return a result instead. Can aid with #7
Thanks for this - I will get around to looking at this. Just writing up tidk as a paper at the moment, so on a code freeze for a bit. I also need to think whether we should introduce more crates for this!
Sure thing! Maybe we can have a separate branch to work on while the main branch code stays frozen?