You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be helpful if when adding introns to a gff3 it would also add ID's instead of just Parent's. Similar to how exons and cds's have ID's associated with their parent.
Thanks for your feature request. It is very specific, given that IDs are usually only used in GenomeTools to enable Parent-child links and do not carry meaning. The -retainids option is indeed a compromise to not lose data in case IDs actually already contain information.
I think it would not be difficult to implement an ID assignment scheme as you are proposing it, but it would need to be restricted to the use case where indeed -retainids and -addintrons as well as something like -intronids is set.
Perhaps a suggestion...
What about having a generic flag that adds new IDs to children nodes (-retainids -addmissingids) that don't have IDs even if they are childless? I know this is not the original intention of the ID flag (only purpose of having an ID was to be able to have its children linked to it). However I have run into external tools that rely on these IDs (when importing GFF annotations) as DB index keys (or primary keys) to all features and children.
So you are just referring to leaf nodes, because for all internal nodes would always get an ID for connecting children?
Please be aware that these would then not necessarily follow the naming scheme that you are trying to keep with -retainids as we can't predict or interpret how these would be formed (the current automatic ID generation IIRC just produces an ID from type plus incremented number).
Hello,
It would be helpful if when adding introns to a gff3 it would also add ID's instead of just Parent's. Similar to how exons and cds's have ID's associated with their parent.
I am using the
-retainids -addintrons
flags.Currently, the results look like:
It would be very helpful if the introns could be returned as such.
The text was updated successfully, but these errors were encountered: