[maker-devel] Merging 2 annotations

66 views
Skip to first unread message

Anthony Bretaudeau

unread,
Jun 3, 2014, 4:38:51 AM6/3/14
to maker...@yandell-lab.org
Hello,

I am working on the annotation of an insect genome, and I have 2 gff files:
-an automatic annotation (done by another lab, with something else than
maker, ~20000genes)
-a manually curated annotation (with webapollo, ~1500 genes)

From this, I would like to produce a single gff combining the 2. I'd
like to keep all the manually curated models, and only the automatic
ones that have no equivalent in the manually curated gff.

Is it possible to do something like this with maker? I guess I could
play with the model_gff option, but I'm not sure how exactly I could use it.

Thank you for your help
Regards

Anthony

_______________________________________________
maker-devel mailing list
maker...@box290.bluehost.com
http://box290.bluehost.com/mailman/listinfo/maker-devel_yandell-lab.org

Carson Holt

unread,
Jun 3, 2014, 12:33:34 PM6/3/14
to Anthony Bretaudeau, maker...@yandell-lab.org
You can give the manually curate ones to model_gff and the other ones to
pred_gff. Then set keep_preds=1. The model_gff resuls always get kept
even without evidence support, the pred_gff will be kept even without
evidence support because you set keep_preds=1, but model_gff results will
take precedence.

--Carson


On 6/3/14, 2:38 AM, "Anthony Bretaudeau"

Anthony Bretaudeau

unread,
Jun 12, 2014, 9:01:12 AM6/12/14
to Carson Holt, maker...@yandell-lab.org
Thank you, it works fine!
A little question which is related: I set the map_forward option to 1,
but it seems to work only for the model_gff gff. Is there a way to make
it keep the original IDs also for the pred_gff file?
Thank you
Anthony

Daniel Ence

unread,
Jun 12, 2014, 11:50:36 AM6/12/14
to Anthony Bretaudeau, <maker-devel@yandell-lab.org>
Hi Anthony, So I think that the gene ID gets changed in the process of promoting things from pred_gff to gene models. If you know which predictions you want to keep, then you can select those out and pass them to model_gff. 

~Daniel


Daniel Ence
Graduate Student
de...@genetics.utah.edu
Eccles Institute of Human Genetics
University of Utah
15 North 2030 East, Room 2100
Salt Lake City, UT 84112-5330

On Jun 12, 2014, at 7:00 AM, Anthony Bretaudeau <anthony.b...@rennes.inra.fr>
 wrote:

Anthony Bretaudeau

unread,
Jun 12, 2014, 12:17:36 PM6/12/14
to Daniel Ence, <maker-devel@yandell-lab.org>
Yes, I think that's why the ids get changed.
But I don't know which predictions I want to keep as I'm using maker to only keep the ones that are not equivalent to the models that are in the model_gff.

Anthony

Carson Holt

unread,
Jun 12, 2014, 12:23:24 PM6/12/14
to Anthony Bretaudeau, Daniel Ence, <maker-devel@yandell-lab.org>
This might be a round about way to get them to have the names unaltered.  Give the pred_gff ones to est_gff.  Still give the model_gff ones to model_gff. Set est2genome=1 and single_exon=1.  Then add this line to the control file est_forward=1.  This is normally used to move transcripts forward onto new assemblies with names being drawn from the alignment, but by telling MAKER that these are ESTs instead of predictions and setting the appropriate values, it will think it's moving transcripts forward, and the final result may be what you want.

--Carson
Reply all
Reply to author
Forward
0 new messages