GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — o.b.n.core.sequence.CDSSequence doesn't reverse-complement correctly · Issue #1016 · biojava/biojava

o.b.n.core.sequence.CDSSequence doesn't reverse-complement correctly #1016

New issue
Copy link
New issue
Copy link
Open
#1160
Open
o.b.n.core.sequence.CDSSequence doesn't reverse-complement correctly#1016
#1160
Copy link
Labels
bugBugs and bugfixesBugs and bugfixes

Description

@richarda23
richarda23
opened on Jan 4, 2022
Issue body actions

Given a transcript sequence derived from a GeneSequence defined on reverse strand of a chromosomal sequence, the method getCodingSequence doesn't return the reverse complement, but just the reverse.

This seems to be due to the complement being made twice:

String sequence = this.getSequenceAsString(getBioBegin(), getBioEnd(), getStrand()); 

in CDSSequence# getCodingSequence()

generates the reverse complement, but subsequent code makes a complementary sequence again, so the end result is simply a reversed sequence.

A simple fix might be just to remove this second complementation, but possibly it might be needed in some circumstances.

The bug is exposed by test TranscriptSequenceTest#getCDNASeqNegativeStrand()

Activity

  1. josemduarte
    added
    bugBugs and bugfixesBugs and bugfixes
    on Jan 6, 2022
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

    bugBugs and bugfixesBugs and bugfixes

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.