Repository revision
20:4f6349228462

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

Nextclade tool metadata
Miscellaneous
Nextclade
Viral genome clade assignment, mutation calling, and sequence quality checks
nextclade
toolshed.g2.bx.psu.edu/repos/iuc/nextclade/nextclade/2.7.0+galaxy0
2.7.0+galaxy0
nextclade --version-detailed
True
Version lineage of this tool (guids ordered most recent to oldest)
toolshed.g2.bx.psu.edu/repos/iuc/nextclade/nextclade/2.7.0+galaxy0 (this tool)
toolshed.g2.bx.psu.edu/repos/iuc/nextclade/nextclade/2.4.0+galaxy0
toolshed.g2.bx.psu.edu/repos/iuc/nextclade/nextclade/1.11.0+galaxy0
toolshed.g2.bx.psu.edu/repos/iuc/nextclade/nextclade/1.10.3+galaxy0
toolshed.g2.bx.psu.edu/repos/iuc/nextclade/nextclade/1.10.2+galaxy0
toolshed.g2.bx.psu.edu/repos/iuc/nextclade/nextclade/1.10.1+galaxy0
toolshed.g2.bx.psu.edu/repos/iuc/nextclade/nextclade/1.9.0+galaxy0
toolshed.g2.bx.psu.edu/repos/iuc/nextclade/nextclade/1.7.0+galaxy0
toolshed.g2.bx.psu.edu/repos/iuc/nextclade/nextclade/1.5.1+galaxy0
toolshed.g2.bx.psu.edu/repos/iuc/nextclade/nextclade/1.4.5+galaxy0
toolshed.g2.bx.psu.edu/repos/iuc/nextclade/nextclade/1.4.1+galaxy0
toolshed.g2.bx.psu.edu/repos/iuc/nextclade/nextclade/1.4.0+galaxy0
toolshed.g2.bx.psu.edu/repos/iuc/nextclade/nextclade/1.3.0+galaxy0
toolshed.g2.bx.psu.edu/repos/iuc/nextclade/nextclade/1.2.3+galaxy0
toolshed.g2.bx.psu.edu/repos/iuc/nextclade/nextclade/0.14.4+galaxy0
toolshed.g2.bx.psu.edu/repos/iuc/nextclade/nextclade/0.14.3+galaxy1
toolshed.g2.bx.psu.edu/repos/iuc/nextclade/nextclade/0.14.2+galaxy1
toolshed.g2.bx.psu.edu/repos/iuc/nextclade/nextclade/0.14.2+galaxy0
nextclade
Requirements (dependencies defined in the <requirements> tag set)
name version type
nextclade 2.7.0 package
coreutils 9.0 package
Additional information about this tool
#if $db.source == "cached"
            ln -s '${db.release.fields.path}' db &&
        #elif $db.source == "download"
            nextclade dataset get -n '${organism}' -o db &&
        #end if 
        
    #if $input_fasta.is_of_type('fasta.gz')
        #set $query = 'query.fa.gz'
    #else
        #set $query = 'query.fa'
    #end if
    ln -s '$input_fasta' $query &&    

        nextclade run
        --input-dataset db/
        #if $adv.advanced_options == 'yes'
            #if $adv.input_qc_config
                --input-qc-config '$adv.input_qc_config'
            #end if
            #if $adv.input_root_seq
                --input-root-seq '$adv.input_root_seq'
            #end if
            #if $adv.input_tree
                --input-tree '$adv.input_tree'
            #end if
            #if $adv.input_gene_map
                --input-gene-map '$adv.input_gene_map'
            #end if 
            #if $adv.input_pcr_primers
                --input-pcr-primers '$adv.input_pcr_primers'
            #end if
            #if $adv.input_virus_properties
                --input-virus-properties '$adv.input_virus_properties'
            #end if
        #end if
        #if $outputs and "report_tsv" in $outputs
            #if $include_header
                --output-tsv '$report_tsv'
            #else
                --output-tsv report.tsv
            #end if
        #end if 
        #if $outputs and "report_json" in $outputs
            --output-json '${report_json}'
        #end if 
        #if $outputs and "output_tree" in $outputs
            --output-tree '${output_tree}'
        #end if
        #if $outputs and "output_fasta" in $outputs
            --output-fasta "${output_fasta}"
            #if str($adv.advanced_options) == "yes"
                $adv.include_reference
            #end if
        #end if
        $query
        #if $outputs and "report_tsv" in $outputs and not $include_header
            && tail -n+2 report.tsv >'$report_tsv'
        #end if 
    
None
False
Functional tests
name inputs outputs required files
Test-1 input_fasta: sarscov2_1.fasta
organism: sars-cov-2
db|source: download
outputs: report_tsv
name: value
sarscov2_1.fasta
value
Test-2 input_fasta: sarscov2_1.fasta
organism: sars-cov-2
db|source: download
outputs: ['report_tsv', 'report_json', 'output_tree']
name: value
name: value
name: value
sarscov2_1.fasta
value
Test-3 input_fasta: sarscov2_1.fasta
organism: sars-cov-2
db|source: download
outputs: report_tsv
adv|input_qc_config: strict_qc.json
adv|advanced_options: yes
name: value
sarscov2_1.fasta
strict_qc.json
value
Test-4 input_fasta: sarscov2_1.fasta
organism: sars-cov-2
db|source: download
outputs: ['report_tsv', 'output_fasta']
adv|include_reference: True
adv|advanced_options: yes
name: value
name: value
sarscov2_1.fasta
value
Test-5 input_fasta: mpxv.fasta.gz
organism: MPXV
db|source: download
outputs: report_tsv
name: value
mpxv.fasta.gz
value