annotate mz_to_sqlite.xml @ 6:f52c286f7e0b draft default tip

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