NBISweden / AGAT

Another Gtf/Gff Analysis Toolkit
GNU General Public License v3.0
465 stars 56 forks source link

agat_sp_manage_functional_annotation.pl #339

Closed DiegoSafian closed 1 year ago

DiegoSafian commented 1 year ago

Is your feature request related to a problem? Please describe. I would like to be able to manipulate/select what to add in the gff3 file when using this application. As it is, you can only functionally annotate a file if the GN (gene name) is present in the database. I would like to be able to pick another feature (e.g. ID of the gene) from the header.

Describe the solution you'd like I would like to know how to edit the .pl file to keep what I need.

Thanks in advance!

Juke34 commented 1 year ago

Hi Diego, here we save the gene name from the protein header (we have a list of key=value attributes).
here we put the stored value within the Name attribute of the gene feature. You can modify those lines.