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

joingenes removes "gene" entries from CGP predictions #31

Closed
jguhlin opened this issue Nov 5, 2018 · 2 comments
Closed

joingenes removes "gene" entries from CGP predictions #31

jguhlin opened this issue Nov 5, 2018 · 2 comments

Comments

@jguhlin
Copy link

jguhlin commented Nov 5, 2018

Currently following the AUGUSTUS-CGP tutorial will lead to running the joingenes binary. This creates a file of all predictions joined into a single file, but only has transcript / CDS entries. Running gtf2gff with options -gff3 will result in a file containing mRNA, CDS, and exons, but not gene entries (although mRNA entries will have a parent, said parent by ID will not be found).

Not sure if a bug or part of the pipeline, but there should be a way to add it back in I would imagine.

@KatharinaHoff
Copy link
Member

The problem of missing gene entries causes problems on different levels.

I have written a small Perl script for postprocessing the joingenes output, it is in Augustus/scripts at https://github.com/Gaius-Augustus/Augustus/blob/master/scripts/fix_joingenes_gtf.pl

fix_joingenes_gtf.pl < joingenes.gtf > joingenes.fixed.gtf

After this, the fixed joingenes output will contain the gene feature line and correctly formatted transcript line that is fully comptabile with gtf2gff.pl:

gtf2gff.pl < joingenes.fixed.gtf --gff3 --out=joingenes.gff3

This issue remains open because eventually it should be fixed on joingenes level.

@Neato-Nick
Copy link

I landed here after Google brought me to #39.

Looks like There hasn't been a new Augustus release since this issue was first opened. But @KatharinaHoff, your perl script did the trick and I've got a nice gff3 in hand now. Thanks!

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

No branches or pull requests

3 participants