-
Notifications
You must be signed in to change notification settings - Fork 1
Support RNA sequences #21
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestpaperWould be nice to get done before submitting this somewhereWould be nice to get done before submitting this somewhere
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestpaperWould be nice to get done before submitting this somewhereWould be nice to get done before submitting this somewhere
Probably the easiest solution is adding a boolean flag
rnawhen creating aDotPlotMatrix(defaulting to False). If this is True, then the code should just work as normal but replace T with U. If either of the input sequences contain a T then this should cause an error, same as how (currently) if either of the input sequences contain a U then this causes an error.This is similar to #12 / #13.
Edit: actually, it would be even better to just add a flag called
seq_typeor something that can be one of {dna,rna,protein} or something. It should default todnaand result in the current validation behavior. We can just save this as a property of the matrix object -- will make the code easy to interpret.