Closed agroppi closed 4 years ago
This is more of a JBrowse than an Apollo question. You can search further here (https://sourceforge.net/p/gmod/mailman/search/?q=flat-file-to-json.pl) or ask (preferably on gitter) https://jbrowse.org/en/contact.html. You can flag me on gitter at @nathandunn, as well. They should be able to tell you right away.
I'm not sure if moving to 2.4 will help. My guess is that you need to provide exon coordinates in your GFF3 to make it show up the way you desire.
I'm closing this for now, but feel free to follow-up here if it ends up being an Apollo error.
@agroppi Just in case I'm being dense, you might try setting the type to transcript
instead:
perl flatfile-to-json.pl \
--gff /home/ag/data/temp/augustus.hints.sorted.gff3 \
--type transcript \
--trackLabel Prediction_Gene \
--out /home/ag/data/my_genome
That file is basically a gtf not a gff. I'd convert to gff :)
Good eye @cmdcolin! Yeah it doesn't reference a Parent or provide an ID in column 9:
Here is the way they should be nested here:
Thanks @nathandunn and @cmdcolin
@nathandunn I have alredy tried with --type transcript
The original output file frome braker was a GTF
I'd converted to GFF3 with the script from braker2 gtf2gff.pl
But as you pointed, it seems that it doesn't deal correctly with reference a Parent or provide an ID in column 9
I just find this tool https://github.com/The-Sequence-Ontology/GAL/blob/master/bin/gtf2gff3 Maybe It can do the conversion properly
Cheers from Bordeaux
Good luck. Let us know how it goes.
gtf2gff3
has a lot a parsing bugs.
I had to clean the raw GTF ouput from Braker2 v2.1.4 (augustus.hints.gff3). And despite this, gtf2gff3 produced a gff3 not displaying correctly in Apollo.
What I've done :
gtf_to_alignment_gff3.pl
(from Transdecoder 5.5.0)TransDecoder.LongOrfs
and TransDecoder.Predict
)cdna_alignment_orf_to_genome_orf.pl
(from Transdecoder 5.5.0)The resulting GFF3 (after sorting it) works perfectly in Apollo
The gtf to gff is always awkward even though the formats are quite similar
I have used gffread tool before, but this is good to know this workflow that you used too
http://jbrowse.org/docs/faq_data_loading.html#how-do-i-convert-gtf-to-gff
Hi,
I have an instance of Apollo 2.2.0 running. I'm trying to load a GFF3 ouput from Braker2 v2.1.4 (augustus.hints.gff3) This file is sorted.
here is a sample from this file :
My command line :
The loading works but the exons / introns are not displayed
Here is a screen capture :
The upper part is the results from transdecoder on RNA assembly The lower is from the GFF3 from braker2 augustus.hints.gff3
Should I upgrade to Apollo 2.4.1. Or is there a way to modify my GFF3 (even for 2.2.0 or 2.4. 1) in order to have the good gene structure displayed ?
Thanks