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

Colour alternative start codons [feature request] #582

Closed
sjackman opened this issue Sep 22, 2018 · 14 comments
Closed

Colour alternative start codons [feature request] #582

sjackman opened this issue Sep 22, 2018 · 14 comments
Labels
enhancement Indicates new feature requests

Comments

@sjackman
Copy link
Contributor

sjackman commented Sep 22, 2018

AUA, AUU, AUC are alternative start codons of the vertebrate mitochondrial code.
See https://en.wikipedia.org/wiki/Vertebrate_mitochondrial_code#Alternative_initiation_codons

@jrobinso
Copy link
Contributor

jrobinso commented Sep 23, 2018

Should this only be done for mitochondria? I'm not sure how that would be detected, other than chr naming convention, but in principle would that be the right thing?

@sjackman sjackman changed the title Colour alternative start codons in yellow [feature request] Colour alternative start codons [feature request] Sep 23, 2018
@sjackman
Copy link
Contributor Author

Although I said yellow, I think a desaturated pale green may be a better colour.

@sjackman
Copy link
Contributor Author

Should this only be done for mitochondria? I'm not sure how that would be detected, other than chr naming convention, but in principle would that be the right thing?

Base it on the genetic code (translation table) which is set by right clicking on the sequence. These ATN alternative start codons are for vertebrate mitochondrial.

@sjackman
Copy link
Contributor Author

sjackman commented Sep 23, 2018

Funny. When googling this issue just now I stumbled on this related issue Cryptic ACG start codon #582. That one's trickier because there is no specific genetic code for plant mitochondria, which use the standard genetic code. Perhaps the genetic code could specify a set of default alternative start codons (like for vertebrate mitochondria), and the user could specify additional custom alternative start codons, that may be specific to their particular species.

@jrobinso jrobinso added this to the 2.5 milestone Oct 25, 2018
@jrobinso jrobinso modified the milestones: 2.6, 2.7 Jul 16, 2019
@jrobinso jrobinso removed this from the 2.7 milestone Nov 14, 2019
@jrobinso
Copy link
Contributor

@sjackman Came across this again, I'd like to take care of it for vertebrate mito, but can you point me to an example mitochondrial sequence with annotations? Its hard to test otherwise.

@helgathorv helgathorv added Feature Request enhancement Indicates new feature requests and removed Feature Request labels Nov 21, 2019
@sjackman
Copy link
Contributor Author

Great! Here's the human mitochondrial genome. https://www.ncbi.nlm.nih.gov/nuccore/NC_012920.1
I don't recall off the top of my head whether it uses any alternative start codons.

@jrobinso
Copy link
Contributor

IGV doesn't fully support genbank format, so the coding sections aren't visualized in IGV (no codons of any kind in the annotation track). However, reading this thread again I think you are primarily focused on the 3 frame translation track under the sequence, correct? I was thinking about the annotation track. Of course both should be in sync.

@jrobinso
Copy link
Contributor

@sjackman I see AUU and AUA here, but not AUC. This might confuse some to color AUC for human. Perhaps I should add specific entries for human, bos taurus, etc.
Or is this opening a can of worms?
https://en.wikipedia.org/wiki/Vertebrate_mitochondrial_code#Alternative_initiation_codons

@sjackman
Copy link
Contributor Author

sjackman commented Nov 26, 2019

Bos: AUA
Homo: AUA, AUU
Mus: AUA, AUU, AUC
Coturnix, Gallus: also GUG[8]

https://en.wikipedia.org/wiki/Vertebrate_mitochondrial_code#Alternative_initiation_codons

Each individual vertebrate species could potentially use a different subset of these three alternative start codons. I haven't done the survey myself. I'd be inclined to colour AUA AUC AUU as yellow for all vertebrate species. Since human is super common, you could perhaps add a special case just for that one species (though I probably wouldn't bother).

@jrobinso
Copy link
Contributor

jrobinso commented Nov 28, 2019

Well I've spent some time looking at this, I didn't write this code originally so it took some review. Currently its coloring based on the amino acid, not the codon, so it colors Methionine green wherever its found. This works for the standard table because ATG/AUG encodes for M, and nothing else does. But it's not going to work correctly for the Mitochondrial table, or probably others, so this needs some rework.

@sjackman
Copy link
Contributor Author

Thanks for looking into it, Jim.

@jrobinso
Copy link
Contributor

I think this is sorted out, you can pull and try it.

@sjackman
Copy link
Contributor Author

sjackman commented Dec 1, 2019

Thanks, Jim! Your responsiveness to rather fairly random requests is amazing. Enjoy your Thanksgiving weekend.

@helgathorv
Copy link
Contributor

Released in IGV 2.8.0

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

No branches or pull requests

3 participants