Mercurial > repos > galaxyp > dia_umpire
comparison dia_umpire_se.xml @ 1:acd0df26c1e9 draft
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/dia_umpire commit 73496bb9686e60f25d1cccf3410f1c53bf92d5f5-dirty
author | galaxyp |
---|---|
date | Wed, 24 Jan 2018 08:08:58 -0500 |
parents | e8f7be6a6e59 |
children | b4f82d15cac0 |
comparison
equal
deleted
inserted
replaced
0:e8f7be6a6e59 | 1:acd0df26c1e9 |
---|---|
20 && cat $se_config > $se_params | 20 && cat $se_config > $se_params |
21 ## | 21 ## |
22 && echo " " >> $se_params | 22 && echo " " >> $se_params |
23 && echo "Thread = \$GALAXY_SLOTS" >> $se_params | 23 && echo "Thread = \$GALAXY_SLOTS" >> $se_params |
24 #if $input_prefix and len($input_prefix.strip()) > 0: | 24 #if $input_prefix and len($input_prefix.strip()) > 0: |
25 #set $input_path = $ser_dir + "/" + $input_prefix.__str__ + "_rep" + str($i + 1) + ".mzXML" | 25 #set $input_path = str($output_dir) + '/' + $input_prefix.__str__ + '_rep' + str($i + 1) + '.mzXML' |
26 #else: | 26 #else: |
27 #set $input_path = $ser_dir + "/" + $re.sub('\.[mM]\w+$','',$re.sub('[^-a-zA-Z0-9_.]','_',$input.name)) + ".mzXML" | 27 #set $input_path = str($output_dir) + '/' + $re.sub('\.[mM]\w+$','',$re.sub('[^-a-zA-Z0-9_.]','_',$input.name)) + '.mzXML' |
28 #end if | 28 #end if |
29 && ln -s '${input}' '$input_path' | 29 && ln -s '${input}' '$input_path' |
30 && dia_umpire_se '$input_path' '$se_params' | 30 && dia_umpire_se '$input_path' '$se_params' |
31 && cat $output_dir/*.log >> "$logfile" | 31 && cat $output_dir/*.log >> "$logfile" |
32 #if not $mgfs_as_collection: | 32 #if not $mgfs_as_collection: |
33 && cp '$output_dir/*_Q1.mgf' '$q1_mgf' | 33 && cp "$output_dir/"*_Q1.mgf '$q1_mgf' |
34 && cp '$output_dir/*_Q2.mgf' '$q2_mgf' | 34 && cp "$output_dir/"*_Q2.mgf '$q2_mgf' |
35 && cp '$output_dir/*_Q3.mgf' '$q3_mgf' | 35 && cp "$output_dir/"*_Q3.mgf '$q3_mgf' |
36 #end if | |
37 #if $ExportPrecursorPeak: | |
38 && cp "$output_dir/"*PeakCluster.csv '$PrecursorPeak' | |
36 #end if | 39 #end if |
37 ]]> | 40 ]]> |
38 </command> | 41 </command> |
39 <configfiles> | 42 <configfiles> |
40 <configfile name="se_config"><![CDATA[#slurp | 43 <configfile name="se_config"><![CDATA[#slurp |
390 label="ExportPrecursorPeak" | 393 label="ExportPrecursorPeak" |
391 help="Output detailed information about detected MS1 precursor and MS2 unfragmented precursor signals"/> | 394 help="Output detailed information about detected MS1 precursor and MS2 unfragmented precursor signals"/> |
392 <param name="ExportFragmentPeak" type="boolean" truevalue="true" falsevalue="false" checked="false" | 395 <param name="ExportFragmentPeak" type="boolean" truevalue="true" falsevalue="false" checked="false" |
393 label="ExportFragmentPeak" | 396 label="ExportFragmentPeak" |
394 help="Output detailed information about detected MS2 signals"/> | 397 help="Output detailed information about detected MS2 signals"/> |
395 <param name="se_extraction_data" type="boolean" truevalue="true" falsevalue="false" checked="false" | 398 <param name="se_extraction_data" type="boolean" truevalue="Signal Extraction data" falsevalue="diaumpire_se.params" checked="false" |
396 label="Output Signal Extraction data for DIA_Umpire_Quant" /> | 399 label="Output Signal Extraction data for DIA_Umpire_Quant" /> |
397 <param name="mgfs_as_collection" type="boolean" truevalue="true" falsevalue="false" checked="false" | 400 <param name="mgfs_as_collection" type="boolean" truevalue="true" falsevalue="false" checked="false" |
398 label="Output MGFs as a collection" /> | 401 label="Output MGFs as a collection" /> |
399 | 402 |
400 </inputs> | 403 </inputs> |
401 | 404 |
402 <outputs> | 405 <outputs> |
403 <data format="txt" name="logfile" label="${tool.name} log"/> | 406 <data format="txt" name="logfile" label="${tool.name} ${on_string} log"/> |
404 <data format="dia_umpire.ser" name="se_params" label="${tool.name} Signal Extraction data"> | 407 <data format="dia_umpire.ser" name="se_params" label="${tool.name} ${input.name} ${se_extraction_data}"> |
405 <filter>se_extraction_data</filter> | |
406 </data> | 408 </data> |
407 <data format="csv" name="PrecursorPeak" label="" from_work_dir="gx_path/swath_PeakCurve.csv"> | 409 <data format="csv" name="PrecursorPeak" label="${tool.name} ${input.name} PeakCluster.csv" from_work_dir="gx_path/swath_PeakCurve.csv"> |
408 <filter>ExportPrecursorPeak</filter> | 410 <filter>ExportPrecursorPeak</filter> |
409 </data> | 411 </data> |
412 <!-- | |
410 <data format="csv" name="FragmentPeak" label="" from_work_dir="gx_path/swath_PeakCurve.csv"> | 413 <data format="csv" name="FragmentPeak" label="" from_work_dir="gx_path/swath_PeakCurve.csv"> |
411 <filter>ExportFragmentPeak</filter> | 414 <filter>ExportFragmentPeak</filter> |
412 </data> | 415 </data> |
416 --> | |
413 <collection name="dia_umpire_se_mgfs" type="list" label="${tool.name} MGFs"> | 417 <collection name="dia_umpire_se_mgfs" type="list" label="${tool.name} MGFs"> |
414 <filter>mgfs_as_collection</filter> | 418 <filter>mgfs_as_collection</filter> |
415 <discover_datasets pattern="(?P<name>.*Q[1-3]\.mgf)" ext="mgf" visible="false" directory="gx_path" /> | 419 <discover_datasets pattern="(?P<name>.*Q[1-3]\.mgf)" ext="mgf" visible="false" directory="gx_path" /> |
416 </collection> | 420 </collection> |
417 <data format="csv" name="q1_mgf" label="${tool.name} Q1.mgf" > | 421 <data format="mgf" name="q1_mgf" label="${tool.name} ${input.name}_Q1.mgf" > |
418 <filter>not mgfs_as_collection</filter> | 422 <filter>not mgfs_as_collection</filter> |
419 </data> | 423 </data> |
420 <data format="csv" name="q2_mgf" label="${tool.name} Q2.mgf" > | 424 <data format="mgf" name="q2_mgf" label="${tool.name} ${input.name}_Q2.mgf" > |
421 <filter>not mgfs_as_collection</filter> | 425 <filter>not mgfs_as_collection</filter> |
422 </data> | 426 </data> |
423 <data format="csv" name="q3_mgf" label="${tool.name} Q3.mgf" > | 427 <data format="mgf" name="q3_mgf" label="${tool.name} ${input.name}_Q3.mgf" > |
424 <filter>not mgfs_as_collection</filter> | 428 <filter>not mgfs_as_collection</filter> |
425 </data> | 429 </data> |
426 </outputs> | 430 </outputs> |
427 <tests> | 431 <tests> |
428 <test> | 432 <test> |