annotate mz_to_sqlite.xml @ 2:1320693cbf1e 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:46 -0500
parents e34bdac5b157
children 728d459bafe8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
1320693cbf1e planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit ae0093d9f1576f38aee83b2ed5e7f70c901d5864
galaxyp
parents: 1
diff changeset
1 <tool id="mz_to_sqlite" name="mz to sqlite" version="2.0.2">
0
ab33bd49de43 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 078c2920db4203a2b7525fd819716507e9346546-dirty
galaxyp
parents:
diff changeset
2 <description>Extract mzIdentML and associated proteomics datasets into a SQLite DB</description>
ab33bd49de43 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 078c2920db4203a2b7525fd819716507e9346546-dirty
galaxyp
parents:
diff changeset
3 <requirements>
2
1320693cbf1e planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit ae0093d9f1576f38aee83b2ed5e7f70c901d5864
galaxyp
parents: 1
diff changeset
4 <requirement type="package" version="2.0.2">mztosqlite</requirement>
0
ab33bd49de43 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 078c2920db4203a2b7525fd819716507e9346546-dirty
galaxyp
parents:
diff changeset
5 </requirements>
ab33bd49de43 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 078c2920db4203a2b7525fd819716507e9346546-dirty
galaxyp
parents:
diff changeset
6 <stdio>
ab33bd49de43 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 078c2920db4203a2b7525fd819716507e9346546-dirty
galaxyp
parents:
diff changeset
7 <exit_code range="1:" level="fatal" description="Error Running mz_to_sqlite" />
ab33bd49de43 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 078c2920db4203a2b7525fd819716507e9346546-dirty
galaxyp
parents:
diff changeset
8 </stdio>
ab33bd49de43 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 078c2920db4203a2b7525fd819716507e9346546-dirty
galaxyp
parents:
diff changeset
9 <command>
ab33bd49de43 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 078c2920db4203a2b7525fd819716507e9346546-dirty
galaxyp
parents:
diff changeset
10 <![CDATA[
1
e34bdac5b157 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit abf01d5c1b700697fc9d86ef2666349f99bae93e
galaxyp
parents: 0
diff changeset
11 mz_to_sqlite -Xms1g -Xmx6g
e34bdac5b157 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit abf01d5c1b700697fc9d86ef2666349f99bae93e
galaxyp
parents: 0
diff changeset
12 -numthreads "\${GALAXY_SLOTS:-4}"
e34bdac5b157 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit abf01d5c1b700697fc9d86ef2666349f99bae93e
galaxyp
parents: 0
diff changeset
13 -dbname 'sqlite.db'
e34bdac5b157 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit abf01d5c1b700697fc9d86ef2666349f99bae93e
galaxyp
parents: 0
diff changeset
14 -mzid '$mzinput'
e34bdac5b157 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit abf01d5c1b700697fc9d86ef2666349f99bae93e
galaxyp
parents: 0
diff changeset
15 #if len($scanfiles) > 0:
e34bdac5b157 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit abf01d5c1b700697fc9d86ef2666349f99bae93e
galaxyp
parents: 0
diff changeset
16 #set $files = " ".join(["'"+ a.strip() + "'" for a in str($scanfiles).split(',')])
e34bdac5b157 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit abf01d5c1b700697fc9d86ef2666349f99bae93e
galaxyp
parents: 0
diff changeset
17 -scanfiles $files
e34bdac5b157 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit abf01d5c1b700697fc9d86ef2666349f99bae93e
galaxyp
parents: 0
diff changeset
18 #set $dfiles = [a for a in $scanfiles]
e34bdac5b157 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit abf01d5c1b700697fc9d86ef2666349f99bae93e
galaxyp
parents: 0
diff changeset
19 -scanFilesDisplayName
e34bdac5b157 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit abf01d5c1b700697fc9d86ef2666349f99bae93e
galaxyp
parents: 0
diff changeset
20 #for $f in $dfiles
e34bdac5b157 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit abf01d5c1b700697fc9d86ef2666349f99bae93e
galaxyp
parents: 0
diff changeset
21 '$f.display_name'
e34bdac5b157 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit abf01d5c1b700697fc9d86ef2666349f99bae93e
galaxyp
parents: 0
diff changeset
22 #end for
e34bdac5b157 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit abf01d5c1b700697fc9d86ef2666349f99bae93e
galaxyp
parents: 0
diff changeset
23 #end if
e34bdac5b157 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit abf01d5c1b700697fc9d86ef2666349f99bae93e
galaxyp
parents: 0
diff changeset
24 #if len($searchdbs) > 0:
e34bdac5b157 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit abf01d5c1b700697fc9d86ef2666349f99bae93e
galaxyp
parents: 0
diff changeset
25 #set $dbFiles = " ".join(["'"+ a.strip() + "'" for a in str($searchdbs).split(',')])
e34bdac5b157 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit abf01d5c1b700697fc9d86ef2666349f99bae93e
galaxyp
parents: 0
diff changeset
26 -fasta $dbFiles
e34bdac5b157 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit abf01d5c1b700697fc9d86ef2666349f99bae93e
galaxyp
parents: 0
diff changeset
27 #end if
0
ab33bd49de43 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 078c2920db4203a2b7525fd819716507e9346546-dirty
galaxyp
parents:
diff changeset
28 ]]>
ab33bd49de43 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 078c2920db4203a2b7525fd819716507e9346546-dirty
galaxyp
parents:
diff changeset
29 </command>
ab33bd49de43 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 078c2920db4203a2b7525fd819716507e9346546-dirty
galaxyp
parents:
diff changeset
30 <inputs>
1
e34bdac5b157 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit abf01d5c1b700697fc9d86ef2666349f99bae93e
galaxyp
parents: 0
diff changeset
31 <param name="mzinput" type="data" format="mzid" label="Proteomics Identification files"/>
0
ab33bd49de43 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 078c2920db4203a2b7525fd819716507e9346546-dirty
galaxyp
parents:
diff changeset
32 <param name="scanfiles" type="data" format="mzml,mgf" multiple="true" optional="true" label="Proteomics Spectrum files"/>
ab33bd49de43 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 078c2920db4203a2b7525fd819716507e9346546-dirty
galaxyp
parents:
diff changeset
33 <param name="searchdbs" type="data" format="fasta,uniprotxml" multiple="true" optional="true" label="Proteomics Search Database Fasta"
ab33bd49de43 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 078c2920db4203a2b7525fd819716507e9346546-dirty
galaxyp
parents:
diff changeset
34 help="These can provide sequences and length for proteins if not already present in the mzIdentML input"/>
ab33bd49de43 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 078c2920db4203a2b7525fd819716507e9346546-dirty
galaxyp
parents:
diff changeset
35 </inputs>
ab33bd49de43 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 078c2920db4203a2b7525fd819716507e9346546-dirty
galaxyp
parents:
diff changeset
36 <outputs>
1
e34bdac5b157 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit abf01d5c1b700697fc9d86ef2666349f99bae93e
galaxyp
parents: 0
diff changeset
37 <data format="mz.sqlite" name="sqlite_db" label="${tool.name} on ${on_string}" from_work_dir="sqlite.db"/>
0
ab33bd49de43 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 078c2920db4203a2b7525fd819716507e9346546-dirty
galaxyp
parents:
diff changeset
38 </outputs>
ab33bd49de43 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 078c2920db4203a2b7525fd819716507e9346546-dirty
galaxyp
parents:
diff changeset
39 <tests>
ab33bd49de43 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 078c2920db4203a2b7525fd819716507e9346546-dirty
galaxyp
parents:
diff changeset
40 <test>
2
1320693cbf1e planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit ae0093d9f1576f38aee83b2ed5e7f70c901d5864
galaxyp
parents: 1
diff changeset
41 <param name="mzinput" value="test_id.mzid" ftype="mzid"></param>
1320693cbf1e planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit ae0093d9f1576f38aee83b2ed5e7f70c901d5864
galaxyp
parents: 1
diff changeset
42 <param name="scanfiles" value="test.mgf" ftype="mgf"></param>
1320693cbf1e planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit ae0093d9f1576f38aee83b2ed5e7f70c901d5864
galaxyp
parents: 1
diff changeset
43 <param name="searchdbs" value="test.fasta" ftype="fasta"></param>
1320693cbf1e planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit ae0093d9f1576f38aee83b2ed5e7f70c901d5864
galaxyp
parents: 1
diff changeset
44 <output name="sqlite_db" file="sqlite.db" />
0
ab33bd49de43 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 078c2920db4203a2b7525fd819716507e9346546-dirty
galaxyp
parents:
diff changeset
45 </test>
ab33bd49de43 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 078c2920db4203a2b7525fd819716507e9346546-dirty
galaxyp
parents:
diff changeset
46 </tests>
ab33bd49de43 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 078c2920db4203a2b7525fd819716507e9346546-dirty
galaxyp
parents:
diff changeset
47 <help>
ab33bd49de43 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 078c2920db4203a2b7525fd819716507e9346546-dirty
galaxyp
parents:
diff changeset
48 <![CDATA[
ab33bd49de43 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 078c2920db4203a2b7525fd819716507e9346546-dirty
galaxyp
parents:
diff changeset
49 ** mz_to_sqlite converts proteomics file formats to a SQLite database**
ab33bd49de43 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 078c2920db4203a2b7525fd819716507e9346546-dirty
galaxyp
parents:
diff changeset
50
ab33bd49de43 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 078c2920db4203a2b7525fd819716507e9346546-dirty
galaxyp
parents:
diff changeset
51 ]]>
ab33bd49de43 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 078c2920db4203a2b7525fd819716507e9346546-dirty
galaxyp
parents:
diff changeset
52 </help>
2
1320693cbf1e planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit ae0093d9f1576f38aee83b2ed5e7f70c901d5864
galaxyp
parents: 1
diff changeset
53 <citations></citations>
0
ab33bd49de43 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 078c2920db4203a2b7525fd819716507e9346546-dirty
galaxyp
parents:
diff changeset
54 </tool>