Repository revision
11:4edfc76f8a29

Repository 'unipept'
hg clone https://toolshed.g2.bx.psu.edu/repos/galaxyp/unipept

Unipept tool metadata
Miscellaneous
Unipept
retrieve taxonomy for peptides
unipept
toolshed.g2.bx.psu.edu/repos/galaxyp/unipept/unipept/6.2.4+galaxy1
6.2.4+galaxy1
None
True
Version lineage of this tool (guids ordered most recent to oldest)
toolshed.g2.bx.psu.edu/repos/galaxyp/unipept/unipept/6.2.4+galaxy1 (this tool)
toolshed.g2.bx.psu.edu/repos/galaxyp/unipept/unipept/6.2.4+galaxy0
toolshed.g2.bx.psu.edu/repos/galaxyp/unipept/unipept/4.5.1
toolshed.g2.bx.psu.edu/repos/galaxyp/unipept/unipept/4.5.0
toolshed.g2.bx.psu.edu/repos/galaxyp/unipept/unipept/4.3.0
toolshed.g2.bx.psu.edu/repos/galaxyp/unipept/unipept/4.0.0
toolshed.g2.bx.psu.edu/repos/galaxyp/unipept/unipept/2.0.1
toolshed.g2.bx.psu.edu/repos/galaxyp/unipept/unipept/1.1.0
toolshed.g2.bx.psu.edu/repos/galaxyp/unipept/unipept/0.1.0
unipept
Requirements (dependencies defined in the <requirements> tag set)
name version type
python 3 package
Additional information about this tool
python '$__tool_directory__/unipept.py' 
      ## --url 'http://morty.ugent.be/api/v1' -g -M 1  
      --api=$unipept.api
      $unipept.equate_il $unipept.extra 
      #if $unipept.api in ['pept2lca', 'pept2taxa', 'peptinfo']:
        $unipept.names $unipept.allfields
      #end if
      #if $unipept.api in ['pept2go', 'pept2funct', 'peptinfo']:
        $unipept.domains
      #end if
      $strict
      #if str($peptide_src.fmt) == 'proteomic':
        #if $peptide_src.input.datatype.file_ext == 'fasta':
          --fasta="$peptide_src.input"
        #elif $peptide_src.input.datatype.file_ext == 'mzid':
          --mzid="$peptide_src.input"
        #elif $peptide_src.input.datatype.file_ext == 'pepxml':
          --pepxml="$peptide_src.input"
        #end if
      #elif str($peptide_src.fmt) == 'tabular':
        --tabular="$peptide_src.input_tsv"
        #set $col = int(str($peptide_src.column)) - 1
        --column=$col
      #elif str($peptide_src.fmt) == 'fasta':
        --fasta="$peptide_src.input_fasta"
      #elif str($peptide_src.fmt) == 'mzid':
        --mzid="$peptide_src.input_mzid"
      #elif str($peptide_src.fmt) == 'pepxml':
        --pepxml="$peptide_src.input_pepxml"
      #end if
      --peptide_match $peptide_match
      #if $peptide_match == 'report' and $unmatched_aa != 'default':
          --unmatched_aa $unmatched_aa
      #end if
      #if 'json' in str($selected_outputs).split(',') and str($unipept.api) in ['pept2lca', 'pept2taxa', 'peptinfo']:
        --json $output_json
      #end if
      #if 'ec_json' in str($selected_outputs).split(',') and str($unipept.api) in ['pept2ec', 'pept2funct', 'peptinfo']:
        --ec_json $output_ec_json
      #end if
      #if 'tsv' in str($selected_outputs).split(','):
        --tsv $output_tsv
      #end if
      #if 'csv' in str($selected_outputs).split(','):
        --csv $output_csv
      #end if
      #if 'ec_tsv' in str($selected_outputs).split(',') and str($unipept.api) in ['pept2ec', 'pept2funct', 'peptinfo']:
        --ec_tsv $output_ec_tsv
      #end if
      #if 'go_tsv' in str($selected_outputs).split(',') and str($unipept.api) in ['pept2go', 'pept2funct', 'peptinfo']:
        --go_tsv $output_go_tsv
      #end if
      #if 'ipr_tsv' in str($selected_outputs).split(',') and str($unipept.api) in ['pept2interpro', 'pept2funct', 'peptinfo']:
        --ipr_tsv $output_ipr_tsv
      #end if
      #if 'unmatched' in str($selected_outputs).split(','):
        --unmatched $output_unmatched
      #end if
    
None
False
Functional tests
name inputs outputs required files
Test-1 unipept|extra: True
unipept|names: True
unipept|api: pept2lca
peptide_src|input_tsv: tryptic.tsv
peptide_src|column: 2
peptide_src|fmt: tabular
selected_outputs: ['tsv', 'unmatched']
name: value
tryptic.tsv
value
Test-2 unipept|equate_il: True
unipept|extra: True
unipept|names: True
unipept|api: pept2lca
peptide_src|input_fasta: peptide.fa
peptide_src|fmt: fasta
selected_outputs: ['json', 'tsv']
name: value
name: value
peptide.fa
value
Test-3 unipept|equate_il: True
unipept|extra: False
unipept|names: False
unipept|api: pept2taxa
peptide_src|input_fasta: peptide.fa
peptide_src|fmt: fasta
selected_outputs: tsv
name: value
peptide.fa
value
Test-4 unipept|extra: True
unipept|api: pept2funct
peptide_src|input_tsv: input.tsv
peptide_src|column: 2
peptide_src|fmt: tabular
selected_outputs: ['tsv', 'ec_tsv', 'go_tsv', 'ipr_tsv', 'unmatched']
name: value
name: value
name: value
name: value
input.tsv
value
Test-5 unipept|extra: True
unipept|api: pept2funct
peptide_src|input_tsv: input.tsv
peptide_src|column: 2
peptide_src|fmt: tabular
peptide_match: full
selected_outputs: ['tsv', 'ec_tsv', 'go_tsv', 'ipr_tsv', 'unmatched']
name: value
name: value
name: value
name: value
input.tsv
value
Test-6 unipept|extra: True
unipept|api: pept2funct
peptide_src|input_tsv: input.tsv
peptide_src|column: 2
peptide_src|fmt: tabular
peptide_match: report
selected_outputs: ['tsv', 'ec_tsv', 'go_tsv', 'ipr_tsv', 'unmatched']
name: value
name: value
name: value
name: value
input.tsv
value