Skip to content

ENH: add an action to transfer functional annotations #341

@misialq

Description

@misialq

Is your feature request related to a problem? Please describe.
In the current MAG recovery flow the set of contigs between SampleData[Contigs] and FeatureData[MAGs] gets progressively reduced while preserving contig IDs. If we annotated the SampleData[Contigs] using map-eggnog it should technically be possible to "transfer" the annotations obtained for this set of contigs to any downstream set of contigs. This would greatly reduce the resource usage for the users who want to annotate each of those inputs.

Describe the solution you'd like
We should introduce a new action transfer-eggnog-annotations which would perform the transfer between compatible inputs:

  • SampleData[Contigs] -> SampleData[MAGs]
  • SampleData[MAGs] -> FeatureData[MAG] (this is actually a simple filter action on the superset of MAGs from the input)
  • SampleData[Contigs] -> FeatureData[MAG]

The action should accept two inputs:

  • the eggnog annotations of the "source"
  • the sequences of the "destination" (one of the semantic types above)

There should be one output containing eggnog annotations matching the "destination" sequences.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request
No fields configured for Feature.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions