Repository revision
5:bc88856eddab

Repository 'antismash'
hg clone https://toolshed.g2.bx.psu.edu/repos/bgruening/antismash

Antismash tool metadata
Miscellaneous
Antismash
allows the genome-wide identification, annotation and analysis of secondary metabolite biosynthesis gene clusters
antismash
toolshed.g2.bx.psu.edu/repos/bgruening/antismash/antismash/6.1.1+galaxy1
6.1.1+galaxy1
antismash --version
True
Version lineage of this tool (guids ordered most recent to oldest)
toolshed.g2.bx.psu.edu/repos/bgruening/antismash/antismash/6.1.1+galaxy1 (this tool)
toolshed.g2.bx.psu.edu/repos/bgruening/antismash/antismash/6.1.1+galaxy0
toolshed.g2.bx.psu.edu/repos/bgruening/antismash/antismash/5.1.2
toolshed.g2.bx.psu.edu/repos/bgruening/antismash/antismash/4.1
toolshed.g2.bx.psu.edu/repos/bgruening/antismash/antismash/4.0.2
toolshed.g2.bx.psu.edu/repos/bgruening/antismash/antismash/2.0.2.2
antismash
Requirements (dependencies defined in the <requirements> tag set)
name version type
antismash 6.1.1 package
Additional information about this tool
export PYTHONWARNINGS="ignore::FutureWarning" &&

        #import os, glob
        #set $htmloutputfolder = $html.files_path
        #if str($infile.ext) == 'genbank':
            #set $file_extension = 'gb'
        #else:
            #set $file_extension = $infile.ext
        #end if

        ln -s '$infile' input_tempfile.$file_extension &&
        #if $genefinding_gff3
            ln -s $genefinding_gff3 annotation.gff3 &&
        #end if

        #if $sideload.file
            #if $sideload.format == 'harmonize'
                python '$__tool_directory__/harmonize2antismash.py' '$sideload.file' sideload.json &&
            #else
                ln -s '$sideload.file' sideload.json &&
            #end if
        #end if

        ## create html folder
        mkdir -p '$htmloutputfolder' &&

        antismash
            --cpus "\${GALAXY_SLOTS:-12}"
            --taxon '${cond_taxon.taxon}'
            #if $genefinding_gff3
                --genefinding-gff3 annotation.gff3
            #end if
            --genefinding-tool $cond_taxon.genefinding_tool

            ${cb_general}
            ${cb_subclusters}
            ${cb_knownclusters}
            ${smcog_trees}
            --tta-threshold ${tta_threshold}
            ${asf}

            ${clusterhmmer}
            ${fullhmmer}
            #if $cond_taxon.taxon == 'fungi':
                $cond_taxon.cassis
            #else   
                $cond_taxon.tigrfam
            #end if

            ${cc_mibig}
            ${rre}
            --logfile $log

            ## Advanced options
            --minlength $advanced_options.minlength
            --hmmdetection-strictness $advanced_options.hmmdetection_strictness
            --cb-nclusters $advanced_options.cb_nclusters
            --cb-min-homology-scale $advanced_options.cb_min_homology_scale
            --rre-cutoff $advanced_options.rre_cutoff
            --rre-minlength $advanced_options.rre_minlength

            #if $sideload.file
                --sideload 'sideload.json'
            #end if

            input_tempfile.$file_extension &&

        ## copy all content to html folder
        cp input_tempfile/index.html '${html}' 2> /dev/null &&
        cp -r input_tempfile/* '${htmloutputfolder}'

    
None
False
Functional tests
name inputs outputs required files
Test-1 infile: sequence.fasta
name: value
sequence.fasta
value
Test-2 infile: sequence.gb
cond_taxon|cassis: True
cond_taxon|taxon: fungi
fullhmmer: True
clusterhmmer: True
cb_general: True
outputs: ['html', 'gb']
name: value
sequence.gb
value
Test-3 infile: sequence_long.fasta
genefinding_gff3: annotation.gff3
fullhmmer: True
cc_mibig: True
pfam2go: True
rre: True
advanced_options|minlength: 1000
advanced_options|hmmdetection_strictness: strict
advanced_options|cb_nclusters: 10
advanced_options|cb_min_homology_scale: 0.1
advanced_options|rre_cutoff: 10
advanced_options|rre_minlength: 50
outputs: ['html', 'gb', 'log']
name: value
name: value
sequence_long.fasta
annotation.gff3
value
Test-4 infile: sequence.fasta
sideload|file: sideload.json
sideload|format: native
name: value
sequence.fasta
sideload.json
value
Test-5 infile: sequence.fasta
sideload|file: harmonize.json
sideload|format: harmonize
name: value
sequence.fasta
harmonize.json
value