|
4 | 4 | Functional annotation
|
5 | 5 | ================================
|
6 | 6 |
|
| 7 | +After your genome has gone through the gene prediction module and you have gene models that pass NCBI specs the next step is to add functional annotate to the protein-coding genes. Funannotate accomplishes this using several curated databases and is run using the :code:`funannotate annotate` command. |
| 8 | + |
| 9 | +Funannotate will parse the protein-coding models from the annotation and identify Pfam domains, CAZYmes, secreted proteins, proteases (MEROPS), and BUSCO groups. If you provide the script with InterProScan5 data :code:`--iprscan`, funannotate will also generate additional annotation: InterPro terms, GO ontology, and fungal transcription factors. If Eggnog-mapper is installed locally or you pass eggnog results via :code:`--eggnog`, then Eggnog annotations and COGs will be added to the functional annotation. The scripts will also parse UniProtKb/SwissProt searches with Eggnog-mapper searches (optional) to generate gene names and product descriptions. |
| 10 | + |
| 11 | +InterProScan5 and Eggnog-Mapper are two functional annotation pipelines that can be parsed by funannotate, however due to the large database sizes they are not run directly. If :code:`emapper.py` (Eggnog-mapper) is installed, then it will be run automatically during the functional annotation process. Because InterProScan5 is Linux only, it must be run outside funannotate and the results passed to the script. If you are on Mac, I've included a method to run InterProScan5 using Docker and the :code:`funannotate predict` output will let the user know how to run this script. Alternatively, you can run the InterProScan5 search remotely using the :code:`funannotate remote` command. |
| 12 | + |
| 13 | +Phobius and SignalP will be run automatically if they are installed (i.e. in the PATH), however, Phobius will not run on Mac. If you are on Mac you can run Phobius with the :code:`funannotate remote` script. |
| 14 | + |
| 15 | +If you are annotating a fungal genome, you can run Secondary Metabolite Gene Cluster prediction using antiSMASH. This can be done on the webserver, submit your GBK file from predict (predict_results/yourGenome.gbk) or alternatively you can submit from the command line using :code:`funannotate remote`. Of course, if you are on Linux you can install the antiSMASH program locally and run that way as well. The annotated GBK file is fed back to this script with the :code:`--antismash` option. |
| 16 | + |
| 17 | +Similarily to :code:`funannotate predict`, the output from :code:`funannotate annotate` will be populated in the output/annotate_results folder. The output files are: |
| 18 | + |
| 19 | ++------------------------------------+----------------------------------------------------------------------------------------------------------------------------------+ |
| 20 | +| **File Name** | **Description** | |
| 21 | ++------------------------------------+----------------------------------------------------------------------------------------------------------------------------------+ |
| 22 | +| Basename.gbk | Annotated Genome in GenBank Flat File format | |
| 23 | ++------------------------------------+----------------------------------------------------------------------------------------------------------------------------------+ |
| 24 | +| Basename.contigs.fsa | Multi-fasta file of contigs, split at gaps (use for NCBI submission) | |
| 25 | ++------------------------------------+----------------------------------------------------------------------------------------------------------------------------------+ |
| 26 | +| Basename.agp | AGP file; showing linkage/location of contigs (use for NCBI submission) | |
| 27 | ++------------------------------------+----------------------------------------------------------------------------------------------------------------------------------+ |
| 28 | +| Basename.tbl | NCBI tbl annotation file (use for NCBI submission) | |
| 29 | ++------------------------------------+----------------------------------------------------------------------------------------------------------------------------------+ |
| 30 | +| Basename.sqn | NCBI Sequin genome file (use for NCBI submission) | |
| 31 | ++------------------------------------+----------------------------------------------------------------------------------------------------------------------------------+ |
| 32 | +| Basename.scaffolds.fa | Multi-fasta file of scaffolds | |
| 33 | ++------------------------------------+----------------------------------------------------------------------------------------------------------------------------------+ |
| 34 | +| Basename.proteins.fa | Multi-fasta file of protein coding genes | |
| 35 | ++------------------------------------+----------------------------------------------------------------------------------------------------------------------------------+ |
| 36 | +| Basename.transcripts.fa | Multi-fasta file of transcripts (mRNA) | |
| 37 | ++------------------------------------+----------------------------------------------------------------------------------------------------------------------------------+ |
| 38 | +| Basename.discrepency.report.txt | tbl2asn summary report of annotated genome | |
| 39 | ++------------------------------------+----------------------------------------------------------------------------------------------------------------------------------+ |
| 40 | +| Basename.annotations.txt | TSV file of all annotations added to genome. (i.e. import into excel) | |
| 41 | ++------------------------------------+----------------------------------------------------------------------------------------------------------------------------------+ |
| 42 | +| Gene2Products.must-fix.txt | TSV file of Gene Name/Product deflines that failed to pass tbl2asn checks and must be fixed | |
| 43 | ++------------------------------------+----------------------------------------------------------------------------------------------------------------------------------+ |
| 44 | +| Gene2Products.need-curating.txt | TSV file of Gene Name/Product defines that need to be curated | |
| 45 | ++------------------------------------+----------------------------------------------------------------------------------------------------------------------------------+ |
| 46 | +| Gene2Products.new-names-passed.txt | TSV file of Gene Name/Product deflines that passed tbl2asn but are not in Gene2Products database. Please submit a PR with these. | |
| 47 | ++------------------------------------+----------------------------------------------------------------------------------------------------------------------------------+ |
| 48 | + |
| 49 | +.. code-block:: none |
| 50 | +
|
| 51 | + Usage: funannotate annotate <arguments> |
| 52 | + version: 1.0.1 |
| 53 | +
|
| 54 | + Description: Script functionally annotates the results from funannotate predict. It pulls |
| 55 | + annotation from PFAM, InterPro, EggNog, UniProtKB, MEROPS, CAZyme, and GO ontology. |
| 56 | + |
| 57 | + Required: -i, --input Folder from funannotate predict |
| 58 | + or |
| 59 | + --genbank Genome in GenBank format |
| 60 | + -o, --out Output folder for results |
| 61 | + or |
| 62 | + --gff Genome GFF3 annotation file |
| 63 | + --fasta Genome in multi-fasta format |
| 64 | + -s, --species Species name, use quotes for binomial, e.g. "Aspergillus fumigatus" |
| 65 | + -o, --out Output folder for results |
| 66 | +
|
| 67 | + Optional: --sbt NCBI submission template file. (Recommended) |
| 68 | + -a, --annotations Custom annotations (3 column tsv file) |
| 69 | + --eggnog Eggnog-mapper annotations file (if NOT installed) |
| 70 | + --antismash antiSMASH secondary metabolism results (GBK file from output) |
| 71 | + --iprscan InterProScan5 XML file |
| 72 | + --phobius Phobius pre-computed results (if phobius NOT installed) |
| 73 | + --isolate Isolate name |
| 74 | + --strain Strain name |
| 75 | + --busco_db BUSCO models. Default: dikarya |
| 76 | + -t, --tbl2asn Additional parameters for tbl2asn. Example: "-l paired-ends" |
| 77 | + -d, --database Path to funannotate database. Default: $FUNANNOTATE_DB |
| 78 | + --force Force over-write of output folder |
| 79 | + --cpus Number of CPUs to use. Default: 2 |
| 80 | +
|
| 81 | + ENV Vars: If not specified at runtime, will be loaded from your $PATH |
| 82 | + --AUGUSTUS_CONFIG_PATH |
7 | 83 |
|
0 commit comments