-
Notifications
You must be signed in to change notification settings - Fork 130
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
Validate annotations produced from ancestral + translate #951
Comments
I think this issue arose as part of this Slack conversation. @corneliusroemer, am I correct in this? |
(1 year later...) The annotations schema now requires 'nuc' to be present (d6246ca) however neither Conceptually we could have the annotations from |
augur translate
doesn't know about nuc
annotation
Just a note, I ran into this issue working on my PRRSV dataset (https://github.com/mazeller/NextClade_Datasets/tree/main/prrsv_yimim_v3). I needed to append the following line to my GFF manually. DQ478308.1 Genbank source 1 603 . + . locus_tag=nuc |
As of 1d17699 (in master, but not yet released)
P.S. recent augur PRs (merged but not released) will fix this, we'll now read the nuc coords from the sequence-region pragma in your GFF ("##sequence-region DQ478308.1 1 603"). |
I've encountered a bug that took me very long to figure out. Augur export reported the following error:
Now it turns out, that export requires
nuc
annotations, and these come in usually throughaa_mut.json
fromaugur translate
.I was reading in annotations from a
.gff
into translate, something that's theoretically supported. However, it's actually not possible to read innuc
annotation in the current implementation.It would have very much sped up debugging if
augur translate
had warned me (or even errored) when it realised that it was lackingnuc
annotations.I'd propose an error if
nuc
not output intoaa_mut.json
:Related to #881
The text was updated successfully, but these errors were encountered: