-
Notifications
You must be signed in to change notification settings - Fork 11
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
Can't load_gff3 #63
Comments
Could you try with increased logging |
Now he's processing all the sequences from my GFF file, but when I refresh the Apollo page, the GFF file is not loaded into the annotation track. The GFF file and the FASTA file with the sequence that I'm using can be found here: OBS: My GFF file has 36 sequences. The output was too big, so this is just the ending part of it. . |
what's your gff look like? I'm guessing it doesn't match our expected structure hence this result. edit: ah you linked to it, ok, ill take a look when i can (apologies, not much spare time currently) |
Looking at the gff it does follow roughly the expected model, with the change of
it could be fixed either by changing https://github.com/GMOD/Apollo/blob/develop/client/apollo/js/SequenceOntologyUtils.js#L55 suggests that it's a valid feature as far as apollo is concerned, so likely we should expand to include some of these other terms (@abretaud what do you think), but until now we've been a bit cautious to only support structures we've seen before, lest this library cause any issues. It looks like You can patch this yourself quickly by editing |
Yeah we could support other top level feature types, no time to change the code for now, but feel free to propose a PR (or just modify the input gff to the expected |
Oh, I see. I tried adding the types in the apollo/util.py file as you suggested, and it worked. He loaded all the features in the annotation track, but some of them were loaded with an exclamation mark. I'm not sure why this happened. These are the modifications I made in the apollo/util.py file. Thanks for the help. |
Questions marks only represent non-canonical splice sites: it's just a visual warning for curators in case they want to check carefully the splice site position |
Hi everyone!
I’m using the arrow command arrow annotations load_gff3 to load a full GFF3 into an annotation track, but nothing's happening.
The version of my plugin:
apollo 4.2.13
Command:
arrow annotations load_gff3 [OPTIONS] ORGANISM GFF3
My command:
arrow annotations load_gff3 Leishmania /home/renanigor/Downloads/TriTrypDB-67_LdonovaniBPK282A1.gff
OBS: I’m using the docker to run the Apollo
My organism:
arrow organisms show_organism Leishmania
{
"commonName": "Leishmania",
"blatdb": "/data/temporary/apollo_data/34-Leishmania/seq/Leishmania.fa.2bit",
"metadata": "{"creator":"32"}",
"annotationCount": 2,
"currentOrganism": true,
"obsolete": false,
"sequences": 36,
"directory": "/data/temporary/apollo_data/34-Leishmania",
"publicMode": false,
"valid": true,
"genomeFastaIndex": "seq/Leishmania.fa.fai",
"genus": null,
"species": "donovani",
"id": 34,
"nonDefaultTranslationTable": null,
"genomeFasta": "seq/Leishmania.fa"
}
I really don’t know what the actual problem is because there are no error log messages.
When I run the command, the output is just empty braces.
(apollo_env) renanigor@pop-os:~/VirtualEnvs$ arrow annotations load_gff3 Leishmania /home/renanigor/Downloads/TriTrypDB-67_LdonovaniBPK282A1.gff
{}
Does anyone know how I can fix this?
The text was updated successfully, but these errors were encountered: