Title: o.b.n.core.sequence.CDSSequence doesn't reverse-complement correctly · Issue #1016 · biojava/biojava · GitHub
Open Graph Title: o.b.n.core.sequence.CDSSequence doesn't reverse-complement correctly · Issue #1016 · biojava/biojava
X Title: o.b.n.core.sequence.CDSSequence doesn't reverse-complement correctly · Issue #1016 · biojava/biojava
Description: 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...
Open Graph Description: 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...
X Description: 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 rev...
Opengraph URL: https://github.com/biojava/biojava/issues/1016
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"o.b.n.core.sequence.CDSSequence doesn't reverse-complement correctly","articleBody":"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.\r\n\r\nThis seems to be due to the complement being made twice:\r\n\r\n```java\r\nString sequence = this.getSequenceAsString(getBioBegin(), getBioEnd(), getStrand()); \r\n```\r\nin CDSSequence# getCodingSequence() \r\n\r\ngenerates the reverse complement, but subsequent code makes a complementary sequence again, so the end result is simply a reversed sequence.\r\n\r\nA simple fix might be just to remove this second complementation, but possibly it might be needed in some circumstances.\r\n\r\nThe bug is exposed by test TranscriptSequenceTest#getCDNASeqNegativeStrand() \r\n\r\n","author":{"url":"https://github.com/richarda23","@type":"Person","name":"richarda23"},"datePublished":"2022-01-04T18:11:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1016/biojava/issues/1016"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e81c1061-041f-d2c0-0e2d-4450dc9e9497 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DADA:37B3A3:D15962:114B3F6:69740B1A |
| html-safe-nonce | 8b6e3e47102b22053bae7772175e039f678086a5b33af8aa225436fde8cf3bc8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQURBOjM3QjNBMzpEMTU5NjI6MTE0QjNGNjo2OTc0MEIxQSIsInZpc2l0b3JfaWQiOiIxNzk5OTE1MTU1MjUwMjQ1MzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8b6a4aa9bf77f8ec05e3d19b836439b7f0995f84da2db4cbf2a560de63ec3ad5 |
| hovercard-subject-tag | issue:1093631779 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/biojava/biojava/1016/issue_layout |
| twitter:image | https://opengraph.githubassets.com/accfa3181e9c69232f3ca4a8f1d0eb00b53a841381119fce5d08db5d48aa67c8/biojava/biojava/issues/1016 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/accfa3181e9c69232f3ca4a8f1d0eb00b53a841381119fce5d08db5d48aa67c8/biojava/biojava/issues/1016 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | richarda23 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 59b702da6e0daafaa39128183fb631c1ac58292fa7c764b7482070a04fb5b4a1 |
| turbo-cache-control | no-preview |
| go-import | github.com/biojava/biojava git https://github.com/biojava/biojava.git |
| octolytics-dimension-user_id | 237402 |
| octolytics-dimension-user_login | biojava |
| octolytics-dimension-repository_id | 9199359 |
| octolytics-dimension-repository_nwo | biojava/biojava |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 9199359 |
| octolytics-dimension-repository_network_root_nwo | biojava/biojava |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3cb518f5e73629eee4767718742673274eb03bd7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width