|
1 | | -# yaml-language-server: $schema=https://raw.githubusercontent.com/nf-core/modules/master/modules/yaml-schema.json |
2 | 1 | name: "eggnogmapper" |
3 | 2 | description: Fast genome-wide functional annotation through orthology assignment. |
4 | 3 | keywords: |
5 | 4 | - annotation |
| 5 | + - functional annotation |
6 | 6 | - orthology |
7 | 7 | - genomics |
| 8 | + - eggnog |
8 | 9 | tools: |
9 | 10 | - "eggnogmapper": |
10 | | - description: "Fast genome-wide functional annotation through orthology assignment." |
| 11 | + description: | |
| 12 | + EggNOG-mapper is a tool for fast functional annotation of novel sequences. |
| 13 | + It uses precomputed orthologous groups and phylogenies from the eggNOG database |
| 14 | + to transfer functional information from fine-grained orthologs only. |
11 | 15 | homepage: "https://github.com/eggnogdb/eggnog-mapper" |
12 | 16 | documentation: "https://github.com/eggnogdb/eggnog-mapper/wiki" |
13 | 17 | tool_dev_url: "https://github.com/eggnogdb/eggnog-mapper" |
14 | 18 | doi: "10.1093/molbev/msab293" |
15 | | - licence: ["AGPL v3"] |
16 | | - identifier: "" |
| 19 | + licence: |
| 20 | + - "AGPL v3" |
| 21 | + identifier: "biotools:eggnog-mapper-v2" |
17 | 22 | input: |
18 | 23 | - - meta: |
19 | 24 | type: map |
20 | 25 | description: | |
21 | 26 | Groovy Map containing sample information |
22 | | - e.g. `[ id:'test', single_end:false ]` |
| 27 | + e.g. `[ id:'sample1' ]` |
23 | 28 | - fasta: |
24 | 29 | type: file |
25 | | - description: Database of sequences in FASTA format |
26 | | - pattern: "*.{fasta,fa,fasta.gz,fa.gz}" |
27 | | - ontologies: [] |
28 | | - - eggnog_db: |
29 | | - type: file |
30 | | - description: The eggnog database file (e.g. eggnog-mapper/data/eggnog.db) |
31 | | - pattern: "*.db" |
32 | | - ontologies: [] |
| 30 | + description: Input sequences in FASTA format (plain or gzip-compressed) |
| 31 | + pattern: "*.{fasta,faa,fa}(.gz)?" |
| 32 | + ontologies: |
| 33 | + - edam: http://edamontology.org/format_1929 # FASTA |
| 34 | + - - search_mode: |
| 35 | + type: string |
| 36 | + description: | |
| 37 | + Search mode passed to emapper.py via -m. Determines which backend |
| 38 | + is used and which database flag is applied internally. |
| 39 | + Supported modes: |
| 40 | + - diamond: DIAMOND-based homology search (--dmnd_db) |
| 41 | + - novel_fams: DIAMOND search against novel families (--dmnd_db) |
| 42 | + - mmseqs: MMseqs2-based search (--mmseqs_db) |
| 43 | + - hmmer: HMMER-based search (--database) |
| 44 | + - no_search: Skip search step and annotate from a precomputed |
| 45 | + *.emapper.seed_orthologs file (--annotate_hits_table) |
| 46 | + - cache: Reuse a previously generated hits table (--cache) |
| 47 | + enum: [diamond, novel_fams, mmseqs, hmmer, no_search, cache] |
| 48 | + - db: |
| 49 | + type: file |
| 50 | + description: | |
| 51 | + Database file, directory, or precomputed results file required by the |
| 52 | + selected search_mode. The module automatically assigns the correct |
| 53 | + flag depending on search_mode: |
| 54 | + - diamond / novel_fams: DIAMOND database (*.dmnd) |
| 55 | + - mmseqs: MMseqs2 database directory or prefix |
| 56 | + - hmmer: HMM database (*.hmm, *.h3m) |
| 57 | + - no_search: Precomputed *.emapper.seed_orthologs file |
| 58 | + - cache: Previously generated *.emapper.hits file |
| 59 | + This input is mandatory but its expected format depends on search_mode. |
| 60 | + pattern: "*" |
| 61 | + ontologies: |
| 62 | + - edam: http://edamontology.org/format_1370 # HMMER format |
| 63 | + - edam: http://edamontology.org/format_3475 # TSV |
33 | 64 | - eggnog_data_dir: |
34 | 65 | type: directory |
35 | | - description: Directory containing eggnog database files (e.g. eggnog-mapper/data) |
| 66 | + description: | |
| 67 | + Directory containing eggnog-mapper database files |
| 68 | + (e.g. can be downloaded via download_eggnog_data.py, |
| 69 | + found in the eggnog-mapper repository) |
36 | 70 | pattern: "*" |
37 | | - - - meta2: |
38 | | - type: map |
39 | | - description: | |
40 | | - Groovy Map containing database information |
41 | | - e.g. `[ id:'test' ]` |
42 | | - - eggnog_diamond_db: |
43 | | - type: file |
44 | | - description: The eggnog Diamond protein database file (e.g. eggnog-mapper/data/eggnog_proteins.dmnd) |
45 | | - pattern: "*.dmnd" |
46 | | - ontologies: [] |
47 | 71 | output: |
48 | 72 | annotations: |
49 | 73 | - - meta: |
50 | 74 | type: map |
51 | 75 | description: | |
52 | 76 | Groovy Map containing sample information |
53 | | - e.g. `[ id:'test', single_end:false ]` |
| 77 | + e.g. `[ id:'sample1' ]` |
54 | 78 | - "*.emapper.annotations": |
55 | 79 | type: file |
56 | | - description: TSV with the results from the annotation phase |
| 80 | + description: TSV file with the results from the annotation phase, including |
| 81 | + functional annotations, GO terms, KEGG pathways, and COG categories |
57 | 82 | pattern: "*.emapper.annotations" |
58 | | - ontologies: [] |
| 83 | + ontologies: |
| 84 | + - edam: http://edamontology.org/format_3475 # TSV |
59 | 85 | orthologs: |
60 | 86 | - - meta: |
61 | 87 | type: map |
62 | 88 | description: | |
63 | 89 | Groovy Map containing sample information |
64 | | - e.g. `[ id:'test', single_end:false ]` |
| 90 | + e.g. `[ id:'sample1' ]` |
65 | 91 | - "*.emapper.seed_orthologs": |
66 | 92 | type: file |
67 | | - description: TSV with the results from parsing the hits, linking queries with |
68 | | - seed orthologs (with commented metadata) |
| 93 | + description: TSV file with the results from parsing the hits, linking queries |
| 94 | + with their best seed orthologs (includes commented metadata header) |
69 | 95 | pattern: "*.emapper.seed_orthologs" |
70 | | - ontologies: [] |
| 96 | + ontologies: |
| 97 | + - edam: http://edamontology.org/format_3475 # TSV |
71 | 98 | hits: |
72 | 99 | - - meta: |
73 | 100 | type: map |
74 | 101 | description: | |
75 | 102 | Groovy Map containing sample information |
76 | | - e.g. `[ id:'test', single_end:false ]` |
| 103 | + e.g. `[ id:'sample1' ]` |
77 | 104 | - "*.emapper.hits": |
78 | 105 | type: file |
79 | | - description: TSV with the results from the Diamond search phase |
| 106 | + description: TSV file with the raw search hits from the Diamond/MMseqs2/HMMER |
| 107 | + search phase before annotation |
80 | 108 | pattern: "*.emapper.hits" |
81 | | - ontologies: [] |
| 109 | + ontologies: |
| 110 | + - edam: http://edamontology.org/format_3475 # TSV |
| 111 | + versions_eggnogmapper: |
| 112 | + - - ${task.process}: |
| 113 | + type: string |
| 114 | + description: The name of the process |
| 115 | + - eggnog-mapper: |
| 116 | + type: string |
| 117 | + description: The name of the tool |
| 118 | + - emapper.py --version 2>&1 | grep -o 'emapper-[0-9]\+\.[0-9]\+\.[0-9]\+' | sed 's/emapper-//': |
| 119 | + type: eval |
| 120 | + description: The expression to obtain the version of the tool |
| 121 | +topics: |
82 | 122 | versions: |
83 | | - - versions.yml: |
84 | | - type: file |
85 | | - description: File containing software versions |
86 | | - pattern: "versions.yml" |
87 | | - ontologies: |
88 | | - - edam: http://edamontology.org/format_3750 # YAML |
| 123 | + - - ${task.process}: |
| 124 | + type: string |
| 125 | + description: The name of the process |
| 126 | + - eggnog-mapper: |
| 127 | + type: string |
| 128 | + description: The name of the tool |
| 129 | + - emapper.py --version 2>&1 | grep -o 'emapper-[0-9]\+\.[0-9]\+\.[0-9]\+' | sed 's/emapper-//': |
| 130 | + type: eval |
| 131 | + description: The expression to obtain the version of the tool |
89 | 132 | authors: |
90 | 133 | - "@vagkaratzas" |
91 | 134 | maintainers: |
|
0 commit comments