Repository revision
4:9cb7dcc07dae

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

MaxQuant (using mqpar.xml) tool metadata
Miscellaneous
maxquant_mqpar
toolshed.g2.bx.psu.edu/repos/galaxyp/maxquant_mqpar/maxquant_mqpar/1.6.10.43
1.6.10.43
None
True
Version lineage of this tool (guids ordered most recent to oldest)
toolshed.g2.bx.psu.edu/repos/galaxyp/maxquant_mqpar/maxquant_mqpar/1.6.10.43 (this tool)
toolshed.g2.bx.psu.edu/repos/galaxyp/maxquant_mqpar/maxquant_mqpar/1.6.3.4
maxquant_mqpar
Requirements (dependencies defined in the <requirements> tag set)
name version type
maxquant 1.6.10.43 package
python 3.7 package
pyyaml 5.1.2 package
r-ptxqc 0.92.6 package
tar 1.32 package
Additional information about this tool
## link galaxy datasets to filenames accepted by maxquant
    #import re
    #set names = [re.sub('[^\w\-\s\.]', '_', str($n.element_identifier)) for $n in $input.infiles]
    #set names_with_ext = [($name if ($name).lower().endswith(str($input.ftype)) else $name + str($input.ftype)) for $name in $names]
    #for $target, $link in zip($infiles, $names_with_ext)
        ln -s '$target' '$link' &&
    #end for

    python3 '$__tool_directory__/modify_mqpar.py'
    #set inf = ','.join($names_with_ext)
    --infiles='$inf'
    --version=1.6.10.43
    --num_threads=\${GALAXY_SLOTS:-1}
    --substitution_rx='[^\w\-\s\.]'
    --fasta_files='$fasta_files'
    --description_parse_rule='$description_parse_rule'
    --identifier_parse_rule='$identifier_parse_rule'
    '$mqpar_input'

    &&
    maxquant mqpar.xml
    #if 'log' in $output:
        >> '$log'
    #end if
    && mv mqpar.xml combined/txt/mqpar.xml
    #if 'output_all' in $output:
        &&
        tar -zcf '$output_all' ./combined/txt
    #end if
  
    #if $qc.do_it:
        &&
        Rscript '$qr' '$qr_yaml'
        #if 'log' in $output:
            >> '$log' 2>&1
        #end if
        &&
        cp ./combined/txt/report_v0.92.6_combined.pdf '$ptxqc_report'
    #end if
    
None
False
Functional tests
name inputs outputs required files
Test-1 input|infiles: ['BSA_min_22', 'BSA_min_21.mzXML']
input|ftype: .mzxml
fasta_files: bsa.fasta
identifier_parse_rule: >([^\s]*)
description_parse_rule: >(.*)
mqpar_input: mqpar.xml
output: ['evidence', 'msms', 'mzTab', 'allPeptides', 'msmsScans', 'mzRange', 'parameters', 'peptides', 'peptideSection', 'proteinGroups', 'summary', 'modificationSpecificPeptides', 'mqpar', 'output_all']
name: value
name: value
name: value
name: value
name: value
name: value
name: value
name: value
name: value
name: value
name: value
BSA_min_22
BSA_min_21.mzXML
bsa.fasta
mqpar.xml
value