Title: Harmonize Profile and LightweightProfile · Issue #1018 · biojava/biojava · GitHub
Open Graph Title: Harmonize Profile and LightweightProfile · Issue #1018 · biojava/biojava
X Title: Harmonize Profile and LightweightProfile · Issue #1018 · biojava/biojava
Description: I think Profile was indended to be general enough to represent multiple sequence alignments. However SimpleProfile is the only current implementation and it only supports pairwise alignments. There is also LightweightProfile with similar...
Open Graph Description: I think Profile was indended to be general enough to represent multiple sequence alignments. However SimpleProfile is the only current implementation and it only supports pairwise alignments. There...
X Description: I think Profile was indended to be general enough to represent multiple sequence alignments. However SimpleProfile is the only current implementation and it only supports pairwise alignments. There...
Opengraph URL: https://github.com/biojava/biojava/issues/1018
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Harmonize Profile and LightweightProfile","articleBody":"I think `Profile` was indended to be general enough to represent multiple sequence alignments. However `SimpleProfile` is the only current implementation and it only supports pairwise alignments. There is also `LightweightProfile` with similarly named methods that is implemented by `MultipleSequenceAlignment` and seems intended for ungapped sequences. Is that an accurate summary of the situation?\r\n\r\nIf so, I propose steps to \r\n\r\n- Make `Profile\u003cS,C\u003e` extend `LightweightProfile\u003cAlignedSequence\u003cS,C\u003e,C\u003e`\r\n- Improve documentation clarifying that `SimpleProfile` is pairwise\r\n- Deprecate one of `Profile.StringFormat` or `LightweightProfile.StringFormat`\r\n- Add constructors to ease conversion between `SimpleProfile` and `MultipleSequenceAlignment` instances\r\n- Document what `toString(StringFormat)` is expected to produce for each format. Ideally it should be the same for two or more sequences. If a format is only applicable to pairwise alignments this needs to be clearly documented.\r\n\r\nThe last point regarding formats is relevant to #983. I had difficulties recommending a solution because the pairwise and MSA outputs are different and undocumented.","author":{"url":"https://github.com/sbliven","@type":"Person","name":"sbliven"},"datePublished":"2022-01-27T15:18:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1018/biojava/issues/1018"}
| 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:5285f2b9-7031-a667-543b-9d8e7876c203 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E868:2F9F8B:1778121:1E95586:6974448E |
| html-safe-nonce | 9353810670999a739a5a352d4de05ff00191431874e00b452d677199d655d029 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODY4OjJGOUY4QjoxNzc4MTIxOjFFOTU1ODY6Njk3NDQ0OEUiLCJ2aXNpdG9yX2lkIjoiOTA5MzM4MzU5MDY5MDE3ODE5MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1720342c92bd6e05c7cddea10a3b7d5a75a7548b4ac0c67377f84cffc7c75b01 |
| hovercard-subject-tag | issue:1116366163 |
| 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/1018/issue_layout |
| twitter:image | https://opengraph.githubassets.com/548185f445a5bbebecbf25a99b3b9f18e5ee1dec8e8885d52f6ba540a3f21a87/biojava/biojava/issues/1018 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/548185f445a5bbebecbf25a99b3b9f18e5ee1dec8e8885d52f6ba540a3f21a87/biojava/biojava/issues/1018 |
| og:image:alt | I think Profile was indended to be general enough to represent multiple sequence alignments. However SimpleProfile is the only current implementation and it only supports pairwise alignments. There... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sbliven |
| hostname | github.com |
| expected-hostname | github.com |
| None | e0b95d743b7672c9ac0e1032d5f117950182dc164a83434a7db86510e8f0b37c |
| 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 | 56fe7e2e8de6e57740bca50402351ea656f7a4bf |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width