Inserting sequences can duplicate a single sequence
beowulfey opened this issue · comments
You can have two copies of the same sequence, which is no good. Should make the SeqInit check the seqlist and prevent duplicating. I already prevent duplicating alignments, so trying to make an alignment using this dupe instead of the original opens the same alignment.
Although, maybe this is good? Like if people want to have two copies of the same sequence, depending on their organization strategy?
Rebuilt using BioPython's SeqR that I subclassed, and now stores the SEQRs in the list of sequences. Subclassing allowed for comparisons based on the sequence. So if the same sequence is present, it detects... and thus the names can be kept unique too.