Repository revision
13:0b8d49d3742d

Repository 'funannotate_annotate'
hg clone https://toolshed.g2.bx.psu.edu/repos/iuc/funannotate_annotate

Funannotate functional tool metadata
Miscellaneous
annotation
funannotate_annotate
toolshed.g2.bx.psu.edu/repos/iuc/funannotate_annotate/funannotate_annotate/1.8.17+galaxy5
1.8.17+galaxy5
funannotate check --show-versions
True
Version lineage of this tool (guids ordered most recent to oldest)
toolshed.g2.bx.psu.edu/repos/iuc/funannotate_annotate/funannotate_annotate/1.8.17+galaxy5 (this tool)
toolshed.g2.bx.psu.edu/repos/iuc/funannotate_annotate/funannotate_annotate/1.8.15+galaxy4
toolshed.g2.bx.psu.edu/repos/iuc/funannotate_annotate/funannotate_annotate/1.8.15+galaxy3
toolshed.g2.bx.psu.edu/repos/iuc/funannotate_annotate/funannotate_annotate/1.8.15+galaxy2
toolshed.g2.bx.psu.edu/repos/iuc/funannotate_annotate/funannotate_annotate/1.8.15+galaxy1
toolshed.g2.bx.psu.edu/repos/iuc/funannotate_annotate/funannotate_annotate/1.8.15+galaxy0
toolshed.g2.bx.psu.edu/repos/iuc/funannotate_annotate/funannotate_annotate/1.8.9+galaxy3
toolshed.g2.bx.psu.edu/repos/iuc/funannotate_annotate/funannotate_annotate/1.8.9+galaxy2
toolshed.g2.bx.psu.edu/repos/iuc/funannotate_annotate/funannotate_annotate/1.8.9+galaxy1
funannotate_annotate
Requirements (dependencies defined in the <requirements> tag set)
name version type
funannotate 1.8.17 package
Additional information about this tool
## Needed by some subprocess invoked internally
## https://github.com/nextgenusfs/funannotate/issues/905
export FUNANNOTATE_DB='$database.fields.path' &&

## show detailed info about the reference DB on stdout
funannotate database &&

funannotate annotate

#if $input.input_type == 'gbk'
    --genbank '${input.genbank}'
#else
    --gff '${input.gff}'
    --fasta '${input.fasta}'
    --species '${input.species}'
#end if

--out output
--tmpdir "\${_GALAXY_JOB_TMP_DIR:-/tmp}"

--database '$database.fields.path'

#if $sbt:
    --sbt '${sbt}'
#end if

#if $annotations:
    --annotations '${annotations}'
#end if

#if $eggnog:
    --eggnog '${eggnog}'
#end if

#if $antismash:
    --antismash '${antismash}'
#end if

#if $iprscan:
    --iprscan '${iprscan}'
#end if

#if $phobius:
    --phobius '${phobius}'
#end if

--busco_db '${busco_db}'

--isolate '${isolate}'
--strain '${strain}'

#if $rename:
    --rename '${rename}'
#end if
#if $fix:
    --fix '${fix}'
#end if
#if $remove:
    --remove '${remove}'
#end if
--header_length $header_length
--cpus \${GALAXY_SLOTS:-2}

&&

## Funannotate sometimes leaves multiple *part.tbl and *part.sqn files:
## https://github.com/nextgenusfs/funannotate/issues/777
## The partial tbl files are combined by funannotate and are deleted below.
## The sqn files are discrete and are collected with discover_datasets.
find output/annotate_results
-regex ".*part_[0-9]+\.\(tbl\)$"
-delete

    
None
False
Functional tests
name inputs outputs required files
Test-1 input|genbank: predict_augustus/Genus_species.gbk
input|input_type: gbk
database: 2021-07-20-120000
busco_db: insecta
outputs: ['gbk', 'annotations', 'contigs_fsa', 'agp', 'tbl', 'sqn', 'scaffolds_fa', 'proteins_fa', 'mrna_transcripts_fa', 'cds_transcripts_fa', 'gff3', 'discrepency', 'stats', 'must_fix', 'need_curating', 'new_names_passed']
name: value
name: value
name: value
name: value
name: value
name: value
name: value
name: value
name: value
name: value
name: value
name: value
name: value
name: value
name: value
predict_augustus/Genus_species.gbk
value
Test-2 input|gff: predict_augustus/Genus_species.gff3
input|fasta: genome.fa
input|species: Genus species
input|input_type: gff
database: 2021-07-20-120000
busco_db: insecta
outputs: ['gbk', 'annotations', 'contigs_fsa', 'agp', 'tbl', 'sqn', 'scaffolds_fa', 'proteins_fa', 'mrna_transcripts_fa', 'cds_transcripts_fa', 'gff3', 'discrepency', 'stats', 'must_fix', 'need_curating', 'new_names_passed']
name: value
name: value
name: value
name: value
name: value
name: value
name: value
name: value
name: value
name: value
name: value
name: value
name: value
name: value
name: value
predict_augustus/Genus_species.gff3
genome.fa
value