Skip to content

Support RNA sequences #21

Open
Open

Description

@fedarko

Probably the easiest solution is adding a boolean flag rna when creating a DotPlotMatrix (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_type or something that can be one of {dna, rna, protein} or something. It should default to dna and 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.

Activity

  1. added
    enhancement
    on Feb 10, 2025
  2. added
    paper
    on Aug 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpaper

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions