Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add protein sequence to transcript detail panel #485

Open
garrettjstevens opened this issue Nov 27, 2024 · 0 comments · May be fixed by #486
Open

Add protein sequence to transcript detail panel #485

garrettjstevens opened this issue Nov 27, 2024 · 0 comments · May be fixed by #486
Assignees

Comments

@garrettjstevens
Copy link
Contributor

In the transcript details panel, under the Sequence header, currently we have "CDS", "cDNA", and "genomic" as options. This will add "protein" to those options.

Basically this will be the same as getting the "CDS" sequence, but the sequence is translated to a protein sequence before being displayed. This can use the defaultCodonTable from @jbrowse/core/util, the same as is used in packages/jbrowse-plugin-apollo/src/LinearApolloDisplay/stateModel/rendering.ts.

There is already a color code for protein in packages/jbrowse-plugin-apollo/src/FeatureDetailsWidget/TranscriptSequence.tsx that isn't used yet, but we can change the color if it doesn't look right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants