Mercurial > repos > tomnl > mspurity_createdatabase
comparison createDatabase.xml @ 14:64a315b27e1c draft default tip
planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit cb903cd93f9378cfb5eeb68512a54178dcea7bbc
| author | tomnl |
|---|---|
| date | Wed, 27 Nov 2019 12:38:30 +0000 |
| parents | 77f4c10ef898 |
| children |
comparison
equal
deleted
inserted
replaced
| 13:e1a2d0616d80 | 14:64a315b27e1c |
|---|---|
| 1 <tool id="mspurity_createdatabase" name="msPurity.createDatabase" version="@TOOL_VERSION@+galaxy@GALAXY_TOOL_VERSION@"> | 1 <tool id="mspurity_createdatabase" name="msPurity.createDatabase" version="@TOOL_VERSION@+galaxy@GALAXY_TOOL_VERSION@"> |
| 2 <description> | 2 <description>Create and SQLite database of an LC-MS(/MS) experiment</description> |
| 3 Create and SQLite database of an LC-MS(/MS) experiment | |
| 4 </description> | |
| 5 <macros> | 3 <macros> |
| 6 <import>macros.xml</import> | 4 <import>macros.xml</import> |
| 7 </macros> | 5 </macros> |
| 8 <expand macro="requirements"> | 6 <expand macro="requirements" /> |
| 9 <requirement type="package" >libgfortran</requirement> | 7 <command detect_errors="exit_code"><![CDATA[ |
| 10 </expand> | 8 Rscript '$__tool_directory__/createDatabase.R' |
| 11 <stdio> | |
| 12 <exit_code range="1:" /> | |
| 13 </stdio> | |
| 14 <command interpreter="Rscript"><![CDATA[ | |
| 15 createDatabase.R | |
| 16 --outDir=. | 9 --outDir=. |
| 17 --xset_xa=$xset_xa | 10 --xset_xa='$xset_xa' |
| 18 --pa=$pa | 11 --pa='$pa' |
| 19 --xcms_camera_option=$camera_xcms | 12 --xcms_camera_option=$camera_xcms |
| 20 --cores=\${GALAXY_SLOTS:-4} | 13 --cores=\${GALAXY_SLOTS:-4} |
| 21 #if $file_load_conditional.file_load_select=="yes" | 14 #if $file_load_conditional.file_load_select=="yes" |
| 22 --mzML_files=' | 15 --mzML_files=' |
| 23 #for $i in $file_load_conditional.input | 16 #for $i in $file_load_conditional.input |
| 34 #if $eic | 27 #if $eic |
| 35 --eic | 28 --eic |
| 36 #end if | 29 #end if |
| 37 | 30 |
| 38 #if $grp_peaklist_opt.grp_peaklist_opt=="yes" | 31 #if $grp_peaklist_opt.grp_peaklist_opt=="yes" |
| 39 --grp_peaklist=$grp_peaklist | 32 --grp_peaklist='$grp_peaklist' |
| 40 #end if | 33 #end if |
| 41 | 34 |
| 42 ]]></command> | 35 ]]></command> |
| 43 <inputs> | 36 <inputs> |
| 44 <param type="data" name="xset_xa" label="xcmsSet or CAMERA object" | 37 <param argument="--xset_xa" type="data" label="xcmsSet or CAMERA object" |
| 45 help="Either xcmsSet object saved as 'xset' or CAMERA 'xa' object in an RData file. | 38 help="Either xcmsSet object saved as 'xset' or CAMERA 'xa' object in an RData file. |
| 46 Please specify which to use below" | 39 Please specify which to use below" |
| 47 format="rdata.xcms.raw,rdata.xcms.group,rdata.xcms.retcor,rdata.xcms.fillpeaks,rdata.camera.quick,rdata.camera.positive,rdata.camera.negative,rdata"/> | 40 format="rdata.xcms.raw,rdata.xcms.group,rdata.xcms.retcor,rdata.xcms.fillpeaks,rdata.camera.quick,rdata.camera.positive,rdata.camera.negative,rdata"/> |
| 48 <expand macro="camera_xcms" /> | 41 <expand macro="camera_xcms" /> |
| 49 <param type="data" name="pa" label="purityA object (frag4feature output)" format="rdata" | 42 <param argument="--pa" type="data" label="purityA object (frag4feature output)" format="rdata" |
| 50 help="purityA object saved as 'pa' in a RData file (output from frag4feature)"/> | 43 help="purityA object saved as 'pa' in a RData file (output from frag4feature)"/> |
| 51 <param name="eic" type="boolean" label="Include EIC data?" | 44 <param argument="--eic" type="boolean" label="Include EIC data?" |
| 52 help="The Extracted Ion Chromatogram can be calculated for each peak and stored in | 45 help="The Extracted Ion Chromatogram can be calculated for each peak and stored in |
| 53 the database. Note, this will take considerable time for large datasets and | 46 the database. Note, this will take considerable time for large datasets and |
| 54 the resulting SQLite database can be large"/> | 47 the resulting SQLite database can be large"/> |
| 55 <expand macro="grp_peaklist" /> | 48 <expand macro="grp_peaklist" /> |
| 56 <expand macro="fileload" /> | 49 <expand macro="fileload" /> |
| 57 </inputs> | 50 </inputs> |
| 58 <outputs> | 51 <outputs> |
| 59 <data name="createDatabase_output_sqlite" format="sqlite" | 52 <data name="createDatabase_output_sqlite" format="sqlite" |
| 60 label="${tool.name} on ${on_string}: LC-MS(/MS) data SQLite db" | 53 label="${tool.name} on ${on_string}: LC-MS(/MS) data SQLite db" |
| 61 from_work_dir="createDatabase_output.sqlite" /> | 54 from_work_dir="createDatabase_output.sqlite" /> |
