Skip to content

valid_ct() fails for sequences that start with . #5

Description

@djevic

Thanks for the great package!

If you change your example dot bracket notation to start with a dot (and change the final bracket as well), the code fails.

This is because pos '1' - bound '0' = <2

I assume this is a mistake.

ct=makeCt(".(((...(((((((....)))))))...((((...))))...))).",

  •       "CCCCAAAGGGGGGGAUUACCCCUCCUUUAAAAGGGUUUUCCCCCCC"
    
  • )

coord=ct2coord(ct)
[[1]]
[1] "Gap between bound NTs is less than 2"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions