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

Render non coding genes using gene glyph #513

Open
shashankbrgowda opened this issue Jan 29, 2025 · 1 comment · May be fixed by #518
Open

Render non coding genes using gene glyph #513

shashankbrgowda opened this issue Jan 29, 2025 · 1 comment · May be fixed by #518
Assignees

Comments

@shashankbrgowda
Copy link
Contributor

When we have only exon features without CDS then genericChildGlyph is used to render the gene.

image

@garrettjstevens
Copy link
Contributor

looksLikeGene in packages/jbrowse-plugin-apollo/src/LinearApolloDisplay/stateModel/layouts.ts currently returns true if a feature has children that look like mRNA, which in turn have children that look like CDS and exon. We should remove the requirement that mRNA-like children have CDS-like children, to account for non-coding genes like this one.

Then we'll need to make any modifications needed to the gene glyph to draw just exons with no CDS. It would draw exons as shorter gray boxes (like the UTRs look in the screenshot below), with none of the tall, colored CDS boxes.

Image

@shashankbrgowda shashankbrgowda self-assigned this Jan 30, 2025
@shashankbrgowda shashankbrgowda linked a pull request Feb 10, 2025 that will close this issue
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