merenlab / anvio

An analysis and visualization platform for 'omics data
http://merenlab.org/software/anvio
GNU General Public License v3.0
432 stars 145 forks source link

[FEATURE REQUEST] Using a list of gene callers id with anvi-export-functions #2287

Closed FlorianTrigodet closed 3 months ago

FlorianTrigodet commented 3 months ago

The need

Export functional annotation for a list of gene calls. Just like it is possible with other commands like anvi-export-gene-coverage-and-detection or anvi-get-short-reads-mapping-to-a-gene.

The solution

The user would provide a list of gene callers id in a text, or coma separated list. Here is the solution for anvi-export-gene-coverage-and-detection:

  --genes-of-interest FILE
                        A file with anvi'o gene caller IDs. There should be only one column in the file, and each line should correspond to a unique gene caller id (without a
                        column header).