comparison mz_to_sqlite.xml @ 3:c8bdcf574413 draft

planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit ae0093d9f1576f38aee83b2ed5e7f70c901d5864
author galaxyp
date Mon, 11 Feb 2019 17:30:12 -0500
parents 8df9fe030d68
children 2a8a9f07782e
comparison
equal deleted inserted replaced
2:8df9fe030d68 3:c8bdcf574413
1 <tool id="mz_to_sqlite" name="mz to sqlite" version="1.2.0"> 1 <tool id="mz_to_sqlite" name="mz to sqlite" version="2.0.2">
2 <description>Extract mzIdentML and associated proteomics datasets into a SQLite DB</description> 2 <description>Extract mzIdentML and associated proteomics datasets into a SQLite DB</description>
3 <requirements> 3 <requirements>
4 <requirement type="package" version="1.2.0">mztosqlite</requirement> 4 <requirement type="package" version="2.0.2">mztosqlite</requirement>
5 </requirements> 5 </requirements>
6 <stdio> 6 <stdio>
7 <exit_code range="1:" level="fatal" description="Error Running mz_to_sqlite" /> 7 <exit_code range="1:" level="fatal" description="Error Running mz_to_sqlite" />
8 </stdio> 8 </stdio>
9 <command> 9 <command>
10 <![CDATA[ 10 <![CDATA[
11 java -jar \$MZTOSQLITE_JAR_PATH -s $mzsqlite 11 mz_to_sqlite -Xms1g -Xmx6g
12 #if len($scanfiles) > 0: 12 -numthreads "\${GALAXY_SLOTS:-4}"
13 $scanfiles.__str__.replace(',',' ') 13 -dbname 'sqlite.db'
14 #end if 14 -mzid '$mzinput'
15 #if len($searchdbs) > 0: 15 #if len($scanfiles) > 0:
16 $searchdbs.__str__.replace(',',' ') 16 #set $files = " ".join(["'"+ a.strip() + "'" for a in str($scanfiles).split(',')])
17 #end if 17 -scanfiles $files
18 #if len($mzinputs) > 0: 18 #set $dfiles = [a for a in $scanfiles]
19 $mzinputs.__str__.replace(',',' ') 19 -scanFilesDisplayName
20 #end if 20 #for $f in $dfiles
21 '$f.display_name'
22 #end for
23 #end if
24 #if len($searchdbs) > 0:
25 #set $dbFiles = " ".join(["'"+ a.strip() + "'" for a in str($searchdbs).split(',')])
26 -fasta $dbFiles
27 #end if
21 ]]> 28 ]]>
22 </command> 29 </command>
23 <inputs> 30 <inputs>
24 <param name="mzinputs" type="data" format="mzid" multiple="true" optional="true" label="Proteomics Identification files"/> 31 <param name="mzinput" type="data" format="mzid" label="Proteomics Identification files"/>
25 <param name="scanfiles" type="data" format="mzml,mgf" multiple="true" optional="true" label="Proteomics Spectrum files"/> 32 <param name="scanfiles" type="data" format="mzml,mgf" multiple="true" optional="true" label="Proteomics Spectrum files"/>
26 <param name="searchdbs" type="data" format="fasta,uniprotxml" multiple="true" optional="true" label="Proteomics Search Database Fasta" 33 <param name="searchdbs" type="data" format="fasta,uniprotxml" multiple="true" optional="true" label="Proteomics Search Database Fasta"
27 help="These can provide sequences and length for proteins if not already present in the mzIdentML input"/> 34 help="These can provide sequences and length for proteins if not already present in the mzIdentML input"/>
28 </inputs> 35 </inputs>
29 <outputs> 36 <outputs>
30 <data format="mz.sqlite" name="mzsqlite" label="${tool.name} on ${on_string}"/> 37 <data format="mz.sqlite" name="sqlite_db" label="${tool.name} on ${on_string}" from_work_dir="sqlite.db"/>
31 </outputs> 38 </outputs>
32 <tests> 39 <tests>
33 <test> 40 <test>
41 <param name="mzinput" value="test_id.mzid" ftype="mzid"></param>
42 <param name="scanfiles" value="test.mgf" ftype="mgf"></param>
43 <param name="searchdbs" value="test.fasta" ftype="fasta"></param>
44 <output name="sqlite_db" file="sqlite.db" />
34 </test> 45 </test>
35 </tests> 46 </tests>
36 <help> 47 <help>
37 <![CDATA[ 48 <![CDATA[
38 ** mz_to_sqlite converts proteomics file formats to a SQLite database** 49 ** mz_to_sqlite converts proteomics file formats to a SQLite database**
39 50
40 ]]> 51 ]]>
41 </help> 52 </help>
53 <citations></citations>
42 </tool> 54 </tool>