Skip to content

Commit 6c174b2

Browse files
authored
V1.11.4+galaxy0.2.7 (#27)
* bug fix for instrument types spectral matching * added unit test for instrumentTypes
1 parent 5eb5b5b commit 6c174b2

7 files changed

+38
-9
lines changed

README.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ Authors, contributors & contacts
5858

5959
Changes
6060
-------------------------
61+
v1.11.4-galaxy0.2.7
62+
- submitted to test toolshed (20190927)
63+
- Bug fix for spectralMatching choice of instrument types
64+
6165
v1.11.4-galaxy0.2.6:
6266
- submitted to test toolshed (20190924)
6367
- Bug fix for createAnnotation database local path

tools/msPurity/macros.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22
<macros>
33
<token name="@TOOL_VERSION@">1.11.4</token>
4-
<token name="@GALAXY_TOOL_VERSION@">0.2.6</token>
4+
<token name="@GALAXY_TOOL_VERSION@">0.2.7</token>
55

66
<xml name="requirements">
77
<requirements>

tools/msPurity/spectralMatching.xml

Lines changed: 27 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -103,30 +103,30 @@
103103
104104
#if $Query.q_filters.q_sources_cond.q_sources_bool
105105
--q_sources=$Query.q_filters.q_sources_cond.q_sources
106-
--q_sourcesUser=$Query.q_filters.q_sources_cond.q_sourcesUser
106+
--q_sourcesUser="$Query.q_filters.q_sources_cond.q_sourcesUser"
107107
#end if
108108
109109
#if $Library.l_filters.l_sources_cond.l_sources_bool
110110
--l_sources=$Library.l_filters.l_sources_cond.l_sources
111-
--l_sourcesUser=$Library.l_filters.l_sources_cond.l_sourcesUser
111+
--l_sourcesUser="$Library.l_filters.l_sources_cond.l_sourcesUser"
112112
#end if
113113
114114
#if $Query.q_filters.q_instrumentTypes_cond.q_instrumentTypes_bool
115-
--q_instrumentTypes=$Query.q_filters.q_instrumentTypes_cond.q_instrumentTypes
116-
--q_instrumentTypesUser=$Query.q_filters.q_instrumentTypes_cond.q_instrumentTypesUser
115+
--q_instrumentTypes="$Query.q_filters.q_instrumentTypes_cond.q_instrumentTypes"
116+
--q_instrumentTypesUser="$Query.q_filters.q_instrumentTypes_cond.q_instrumentTypesUser"
117117
#end if
118118
119119
#if $Library.l_filters.l_instrumentTypes_cond.l_instrumentTypes_bool
120-
--l_instrumentTypes=$Library.l_filters.l_instrumentTypes_cond.l_instrumentTypes
121-
--l_instrumentTypesUser=$Library.l_filters.l_instrumentTypes_cond.l_instrumentTypesUser
120+
--l_instrumentTypes="$Library.l_filters.l_instrumentTypes_cond.l_instrumentTypes"
121+
--l_instrumentTypesUser="$Library.l_filters.l_instrumentTypes_cond.l_instrumentTypesUser"
122122
#end if
123123
124124
#if $Query.q_filters.q_instruments_cond.q_instruments_bool
125-
--q_instruments=$Query.q_filters.q_instruments_cond.q_instruments
125+
--q_instruments="$Query.q_filters.q_instruments_cond.q_instruments"
126126
#end if
127127
128128
#if $Library.l_filters.l_instruments_cond.l_instruments_bool
129-
--l_instruments=$Library.l_filters.l_instruments_cond.l_instruments
129+
--l_instruments="$Library.l_filters.l_instruments_cond.l_instruments"
130130
#end if
131131
132132
#if $Query.q_filters.q_spectraTypes_cond.q_spectraTypes_bool
@@ -251,6 +251,8 @@
251251
</outputs>
252252
<tests>
253253
<test>
254+
255+
254256
<param name="q_dbPth" value="createDatabase_output.sqlite" />
255257
<param name="l_dbPth_select" value="userdb" />
256258
<param name="l_dbPth" value="PR100037.sqlite" />
@@ -263,6 +265,23 @@
263265
<output name="matches" file="spectralMatching_xcms_matched_results.tsv" />
264266
<output name="sqlite_results" value="spectralMatching_db_with_spectral_matching.sqlite" ftype="sqlite" compare="sim_size"/>
265267
</test>
268+
<test>
269+
<param name="l_instrumentTypes_bool" value="true" />
270+
<param name="q_dbPth" value="createDatabase_output.sqlite" />
271+
<param name="l_dbPth_select" value="userdb" />
272+
<param name="l_dbPth" value="PR100037.sqlite" />
273+
274+
<param name="q_xcmsGroups_bool" value="true" />
275+
<param name="l_accessions_bool" value="true" />
276+
<param name="q_xcmsGroups" value="14" />
277+
<param name="l_accessions" value="PR100037" />
278+
279+
<output name="xcms_matches" file="spectralMatching_matched_results_instrumentTypes.tsv" />
280+
<output name="matches" file="spectralMatching_xcms_matched_results_instrumentTypes.tsv" />
281+
<output name="sqlite_results" value="spectralMatching_db_with_spectral_matching_instrumentTypes.sqlite" ftype="sqlite" compare="sim_size"/>
282+
</test>
283+
284+
266285
</tests>
267286

268287

0 Bytes
Binary file not shown.
2.63 MB
Binary file not shown.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
"pid" "grpid" "mz" "mzmin" "mzmax" "rt" "rtmin" "rtmax" "npeaks" "sample" "LCMSMS_2" "LCMSMS_1" "LCMS_2" "LCMS_1" "grp_name" "lpid" "mid" "dpc" "rdpc" "cdpc" "mcount" "allcount" "mpercent" "library_rt" "query_rt" "rtdiff" "library_precursor_mz" "query_precursor_mz" "library_precursor_ion_purity" "query_precursor_ion_purity" "library_accession" "library_precursor_type" "library_entry_name" "inchikey" "library_source_name" "library_compound_name"
2+
1663 14 113.035283604395 113.035156497997 113.03541992282 80.50932 77.16429 83.64567 4 4 88462324.9597518 92812020.095242 77298864.2688328 77198465.9156761 "M113T81" 56653 1 0.942265461847349 0.996860823822942 0.753812369477879 1 4 0.25 NA 80.50932 NA "113.03508" 113.035283604395 NA 1 "PR100037" "[M+H]+" "Uracil" "ISAKRJDGNUQOIC-UHFFFAOYSA-N" "massbank" "Uracil"
3+
1664 14 113.035283604395 113.035156497997 113.03541992282 80.50932 77.16429 83.64567 4 4 88462324.9597518 92812020.095242 77298864.2688328 77198465.9156761 "M113T81" 56653 2 0.942265461847349 0.996860823822942 0.753812369477879 1 4 0.25 NA 80.50932 NA "113.03508" 113.035283604395 NA 1 "PR100037" "[M+H]+" "Uracil" "ISAKRJDGNUQOIC-UHFFFAOYSA-N" "massbank" "Uracil"
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
"lpid" "qpid" "mid" "dpc" "rdpc" "cdpc" "mcount" "allcount" "mpercent" "library_rt" "query_rt" "rtdiff" "library_precursor_mz" "query_precursor_mz" "library_precursor_ion_purity" "query_precursor_ion_purity" "library_accession" "library_precursor_type" "library_entry_name" "inchikey" "library_source_name" "library_compound_name"
2+
56653 1663 1 0.942265461847349 0.996860823822942 0.753812369477879 1 4 0.25 NA 80.50932 NA "113.03508" 113.035283604395 NA 1 "PR100037" "[M+H]+" "Uracil" "ISAKRJDGNUQOIC-UHFFFAOYSA-N" "massbank" "Uracil"
3+
56653 1664 2 0.942265461847349 0.996860823822942 0.753812369477879 1 4 0.25 NA 80.50932 NA "113.03508" 113.035283604395 NA 1 "PR100037" "[M+H]+" "Uracil" "ISAKRJDGNUQOIC-UHFFFAOYSA-N" "massbank" "Uracil"

0 commit comments

Comments
 (0)