-
Notifications
You must be signed in to change notification settings - Fork 198
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
adding annotation on a gff file results in uniqueID offset-1968619510" #1556
Comments
what is the issue? not clear the small gff fragment that is pasted can't be loaded because it refers to parent features that don't exist and it does seem that flatfile-to-json fails on the contigs containing a pipe symbol in them...not sure if there is anything we can do about that though |
This is the error message when trying to run flatfile-to-json:
With the original gff file, it works even with the pipes. In the alternative, do you any other method to add more attributes to a gff file without eventually breaking it? Thanks for your help, super fast as always |
Can you share the whole GFF? The error I think is that the Parent= attribute in column 9 refers to another feature's ID that is then not in the file |
Ahypochondriacus_459_v2.1.gene.gff3.gz another_attempt.gff.sorted.gff.gz The ‘annotation_info’ is the file having extra attributes that I want to add. |
In what way is the another_attempt file not working? |
When I load the another_attempt.gff.sorted.gz it appears to look ok in the browser If the issue is strictly about the uniqueID appearing in the feature details then that is probably a small issue, but otherwise I am not sure what the issue is? My track config is just this
|
I tried now with the simple configuration like you shown and it worked. I had it this way before which resulted in not showing any of the new attributes:
I just had a bad definition of the track, then. Any idea why also the uniqueID insists on appearing? Thank you one more time for your help! |
Good to know. This branch might fix the uniqueID appearing.... https://github.com/GMOD/jbrowse/tree/uniqueID_remove_gff3tabix If you have any interest feel free to test...can probably get merged and released later on too |
Also not sure, that track definition looks ok so surprising that mine helped at all! Maybe just some weird luck or something? Hopefully didnt just gloss over a bug but the another_attempt file looked like it worked ok |
I have a gff file that contains some info on the annotation of my genome. E.g:
I have another file with extra information on the annotation that I parsed and pasted to the 9th column of the gff file. I followed the same pattern, having the feature identifier, equal sign, feature and semi-colon. e.g
"Panther=PTHR10668,PTHR10668:SF80;"
The new gff is looking like this:
When I tried to use
bin/flatfile-to-json.pl
I had several error messages, so I opted to follow the indexed file format to add the annotation.My problem now is that instead of having all these features that I added no the gff file column, I only have a feature stating
"uniqueID offset-1968619510" <img width="276" alt="Screenshot 2020-11-12 at 23 38 15" src="https://user-images.githubusercontent.com/49553532/99004909-25f6d480-2540-11eb-9354-8e02840fdee4.png">
Can you help me with this issue, please? Thank you
The text was updated successfully, but these errors were encountered: