Mercurial > repos > galaxyp > mz_to_sqlite
annotate mz_to_sqlite.xml @ 5:8190f6083c0d draft
"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:06:22 +0000 |
parents | f5c632894818 |
children | 705821bf30d2 |
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> |
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> |
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
|
4 <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
|
5 </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
|
6 <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
|
7 <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
|
8 </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
|
9 <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
|
10 <![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
|
11 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
|
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> |
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
|
31 <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
|
32 <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
|
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
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 </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
|
35 <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
|
36 <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
|
37 </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
|
38 <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
|
39 <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
|
40 <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
|
41 <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
|
42 <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
|
43 <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
|
44 </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
|
45 </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
|
46 <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
|
47 <![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
|
48 ** 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
|
49 |
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 </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
|
52 <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
|
53 </tool> |