You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also testing single-stranded restriction products, I tried to create them from a representation:
Dseq.from_representation("""\
CCGAATTAAT
""")
I find it funky that the overhang of the sequence depends on the number of spaces that are present on the watson strand, and the length too when there is more (or less) spaces beyond the crick strand. This is a problem for testing. Here are some examples that may be important to consider:
No spaces in first line -> Sequence considered as watson
Both this issue and #321 happened when writing tests for the USER and Nickase enzymes. For visualization, I find it handy to create Dseq objects of the "restriction" products. However, some of these products end up being single-stranded, so I would need a way to create this "single-stranded product of a single-strand cut of a double-stranded Dseq".
I don't know if this would be a widespread usecase, but it was intuitive for me. And the alternative I could think of (#321) also gave some errors.
Related to #321
Also testing single-stranded restriction products, I tried to create them from a representation:
I find it funky that the overhang of the sequence depends on the number of spaces that are present on the
watson
strand, and the length too when there is more (or less) spaces beyond thecrick
strand. This is a problem for testing. Here are some examples that may be important to consider:No spaces in first line -> Sequence considered as
watson
Only one space (indentation does not match) -> negative overhang and higher length
Four spaces (correct indentation) -> Seems the accurate way to type it, but ovhg = 0
Sequence full of spaces -> Accurate way to type it so it matches a 10-bases long single-stranded restriction product
More spaces than indent + crick length -> The length is higher than expected, overhang matches length
How would you go about fixing this? I can give it a look but don't want to break anything!
The text was updated successfully, but these errors were encountered: