Mercurial > repos > galaxyp > mz_to_sqlite
annotate mz_to_sqlite.xml @ 6:705821bf30d2 draft default tip
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 03090c9f45e9be50ed4c5e4df6419d0e8525c52d
author | galaxyp |
---|---|
date | Tue, 12 Mar 2024 11:46:44 +0000 |
parents | 8190f6083c0d |
children |
rev | line source |
---|---|
5
8190f6083c0d
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 24561502a9bed97f351af6a0438aa82414a351ab"
galaxyp
parents:
4
diff
changeset
|
1 <tool id="mz_to_sqlite" name="mz to sqlite" version="2.1.1+galaxy0"> |
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> |
6
705821bf30d2
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 03090c9f45e9be50ed4c5e4df6419d0e8525c52d
galaxyp
parents:
5
diff
changeset
|
3 <xrefs> |
705821bf30d2
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 03090c9f45e9be50ed4c5e4df6419d0e8525c52d
galaxyp
parents:
5
diff
changeset
|
4 <xref type="bio.tools">mztosqlite</xref> |
705821bf30d2
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 03090c9f45e9be50ed4c5e4df6419d0e8525c52d
galaxyp
parents:
5
diff
changeset
|
5 </xrefs> |
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
|
6 <requirements> |
5
8190f6083c0d
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 24561502a9bed97f351af6a0438aa82414a351ab"
galaxyp
parents:
4
diff
changeset
|
7 <requirement type="package" version="2.1.1">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
|
8 </requirements> |
3
728d459bafe8
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 1acf110c8836bf573d241a8fd33c842da369e76c"
galaxyp
parents:
2
diff
changeset
|
9 <stdio> |
728d459bafe8
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 1acf110c8836bf573d241a8fd33c842da369e76c"
galaxyp
parents:
2
diff
changeset
|
10 <exit_code range="1:" level="fatal" description="Error Running mz_to_sqlite" /> |
728d459bafe8
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 1acf110c8836bf573d241a8fd33c842da369e76c"
galaxyp
parents:
2
diff
changeset
|
11 </stdio> |
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
|
12 <command> |
3
728d459bafe8
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 1acf110c8836bf573d241a8fd33c842da369e76c"
galaxyp
parents:
2
diff
changeset
|
13 <![CDATA[ |
4
f5c632894818
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 75b9f57bf0b41b2a0b1e1c9f73447a1125fc245e"
galaxyp
parents:
3
diff
changeset
|
14 mz_to_sqlite |
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
|
15 -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
|
16 -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
|
17 -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
|
18 #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
|
19 #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
|
20 -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
|
21 #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
|
22 -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
|
23 #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
|
24 '$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
|
25 #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
|
26 #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
|
27 #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
|
28 #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
|
29 -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
|
30 #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
|
31 ]]> |
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 </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
|
33 <inputs> |
3
728d459bafe8
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 1acf110c8836bf573d241a8fd33c842da369e76c"
galaxyp
parents:
2
diff
changeset
|
34 <param name="mzinput" type="data" format="mzid" label="Proteomics Identification files" /> |
728d459bafe8
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 1acf110c8836bf573d241a8fd33c842da369e76c"
galaxyp
parents:
2
diff
changeset
|
35 <param name="scanfiles" type="data" format="mgf" multiple="true" optional="true" label="Proteomics Spectrum files" /> |
728d459bafe8
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 1acf110c8836bf573d241a8fd33c842da369e76c"
galaxyp
parents:
2
diff
changeset
|
36 <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
ab33bd49de43
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 078c2920db4203a2b7525fd819716507e9346546-dirty
galaxyp
parents:
diff
changeset
|
37 </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
|
38 <outputs> |
3
728d459bafe8
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 1acf110c8836bf573d241a8fd33c842da369e76c"
galaxyp
parents:
2
diff
changeset
|
39 <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
|
40 </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
|
41 <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
|
42 <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
|
43 <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
|
44 <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
|
45 <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
|
46 <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
|
47 </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
|
48 </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
|
49 <help> |
3
728d459bafe8
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 1acf110c8836bf573d241a8fd33c842da369e76c"
galaxyp
parents:
2
diff
changeset
|
50 <![CDATA[ |
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
|
51 ** 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
|
52 |
ab33bd49de43
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 078c2920db4203a2b7525fd819716507e9346546-dirty
galaxyp
parents:
diff
changeset
|
53 ]]> |
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 </help> |
6
705821bf30d2
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 03090c9f45e9be50ed4c5e4df6419d0e8525c52d
galaxyp
parents:
5
diff
changeset
|
55 <citations> |
705821bf30d2
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 03090c9f45e9be50ed4c5e4df6419d0e8525c52d
galaxyp
parents:
5
diff
changeset
|
56 <citation type="bibtex"> |
705821bf30d2
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 03090c9f45e9be50ed4c5e4df6419d0e8525c52d
galaxyp
parents:
5
diff
changeset
|
57 @misc{ |
705821bf30d2
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 03090c9f45e9be50ed4c5e4df6419d0e8525c52d
galaxyp
parents:
5
diff
changeset
|
58 mzToSQLite, |
705821bf30d2
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 03090c9f45e9be50ed4c5e4df6419d0e8525c52d
galaxyp
parents:
5
diff
changeset
|
59 author = {GalaxyP}, |
705821bf30d2
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 03090c9f45e9be50ed4c5e4df6419d0e8525c52d
galaxyp
parents:
5
diff
changeset
|
60 year = {2021}, |
705821bf30d2
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 03090c9f45e9be50ed4c5e4df6419d0e8525c52d
galaxyp
parents:
5
diff
changeset
|
61 title = {mzToSQLite}, |
705821bf30d2
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 03090c9f45e9be50ed4c5e4df6419d0e8525c52d
galaxyp
parents:
5
diff
changeset
|
62 publisher = {GitHub}, |
705821bf30d2
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 03090c9f45e9be50ed4c5e4df6419d0e8525c52d
galaxyp
parents:
5
diff
changeset
|
63 journal = {GitHub repository}, |
705821bf30d2
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 03090c9f45e9be50ed4c5e4df6419d0e8525c52d
galaxyp
parents:
5
diff
changeset
|
64 url = {https://github.com/galaxyproteomics/mzToSQLite}, |
705821bf30d2
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 03090c9f45e9be50ed4c5e4df6419d0e8525c52d
galaxyp
parents:
5
diff
changeset
|
65 } |
705821bf30d2
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 03090c9f45e9be50ed4c5e4df6419d0e8525c52d
galaxyp
parents:
5
diff
changeset
|
66 </citation> |
705821bf30d2
planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/mz_to_sqlite commit 03090c9f45e9be50ed4c5e4df6419d0e8525c52d
galaxyp
parents:
5
diff
changeset
|
67 </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
|
68 </tool> |