Skip to content

Commit ef0093c

Browse files
Tests: OpenMS DDA (#549)
* fix: prioritized the use of subordinate metadata when choosing between feature level and subordinate level * tests: updated failing tests with new output * tests: remaking test data for DDA and updating tests * tests, examples: updated DDA tests and examples * tests: removed unneeded DDA test directories and files * tests: updates to utilities due to additional files * Updated contrib builds url and use of --user when installing python on MacOS Co-authored-by: bertrandboudaud <bertrand.boudaud@gmail.com>
1 parent c3c165e commit ef0093c

23 files changed

+513253
-78185
lines changed

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ jobs:
113113
brew install cppcheck gnuplot
114114
brew install libomp
115115
brew install eigen
116-
pip3 install -r tools/smartpeak/requirements.txt
116+
pip3 install -r tools/smartpeak/requirements.txt --user
117117
- run:
118118
name: "Pull latest (only release)"
119119
command: |
@@ -130,7 +130,7 @@ jobs:
130130
git clone --branch develop --depth 1 https://github.com/OpenMS/OpenMS.git &&
131131
cd OpenMS
132132
mkdir contrib_build && cd contrib_build
133-
curl -C - -O https://abibuilder.informatik.uni-tuebingen.de/archive/openms/contrib/macOS/10.15.4/x64/appleclang-11.0.0/contrib_build.tar.gz
133+
curl -C - -O https://abibuilder.cs.uni-tuebingen.de/archive/openms/contrib/macOS/10.15.4/x64/appleclang-11.0.0/contrib_build.tar.gz
134134
tar -xzf contrib_build.tar.gz
135135
sed -i '' 's/std::auto_ptr/std::unique_ptr/g' include/seqan/basic/test_system.h
136136
rm lib/libz.* && rm -rf lib/pkgconfig
@@ -254,7 +254,7 @@ jobs:
254254
}
255255
cd ~/OpenMS
256256
mkdir contrib_build; cd contrib_build
257-
$url_contrib = 'https://abibuilder.informatik.uni-tuebingen.de/archive/openms/contrib/windows/x64/msvc-14.2/contrib_build.tar.gz'
257+
$url_contrib = 'https://abibuilder.cs.uni-tuebingen.de/archive/openms/contrib/windows/x64/msvc-14.2/contrib_build.tar.gz'
258258
$contrib_tmp = New-TemporaryFile | Rename-Item -NewName { $_ -replace 'contrib_tmp$', 'tar.gz' } –PassThru
259259
Invoke-WebRequest $url_contrib -OutFile $contrib_tmp
260260
7z x $contrib_tmp -o'.'
Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
11
PrecursorMz ProductMz PrecursorCharge ProductCharge LibraryIntensity NormalizedRetentionTime PeptideSequence ModifiedPeptideSequence PeptideGroupLabel LabelType CompoundName SumFormula SMILES Adducts ProteinId UniprotId GeneName FragmentType FragmentSeriesNumber Annotation CollisionEnergy PrecursorIonMobility TransitionGroupId TransitionId Decoy DetectingTransition IdentifyingTransition QuantifyingTransition Peptidoforms
2-
195.101983934443155 111.045648931738441 0 NA 9.078002343750001e04 -1.0 NA NA -1 NA -1.0 -1.0 HMDB:HMDB0000001 scan=463_111.046_HMDB:HMDB0000001 0 1 0 1
3-
195.101983934443155 121.029828856042727 0 NA 9.078002343750001e04 -1.0 NA NA -1 NA -1.0 -1.0 HMDB:HMDB0000001 scan=463_121.03_HMDB:HMDB0000001 0 1 0 1
4-
195.101983934443155 122.033189965837721 0 NA 9.078002343750001e04 -1.0 NA NA -1 NA -1.0 -1.0 HMDB:HMDB0000001 scan=463_122.033_HMDB:HMDB0000001 0 1 0 1
5-
195.101983934443155 128.021266411122014 0 NA 9.078002343750001e04 -1.0 NA NA -1 NA -1.0 -1.0 HMDB:HMDB0000001 scan=463_128.021_HMDB:HMDB0000001 0 1 0 1
6-
195.101983934443155 148.933888727541955 0 NA 9.078002343750001e04 -1.0 NA NA -1 NA -1.0 -1.0 HMDB:HMDB0000001 scan=463_148.934_HMDB:HMDB0000001 0 1 0 1
7-
195.101983934443155 149.024935583932148 0 NA 9.078002343750001e04 -1.0 NA NA -1 NA -1.0 -1.0 HMDB:HMDB0000001 scan=463_149.025_HMDB:HMDB0000001 0 1 0 1
8-
195.101983934443155 150.028105165565989 0 NA 9.078002343750001e04 -1.0 NA NA -1 NA -1.0 -1.0 HMDB:HMDB0000001 scan=463_150.028_HMDB:HMDB0000001 0 1 0 1
9-
195.101983934443155 151.030013418740566 0 NA 9.078002343750001e04 -1.0 NA NA -1 NA -1.0 -1.0 HMDB:HMDB0000001 scan=463_151.03_HMDB:HMDB0000001 0 1 0 1
10-
195.101983934443155 167.03554334350784 0 NA 9.078002343750001e04 -1.0 NA NA -1 NA -1.0 -1.0 HMDB:HMDB0000001 scan=463_167.036_HMDB:HMDB0000001 0 1 0 1
11-
195.101983934443155 93.034766500219604 0 NA 9.078002343750001e04 -1.0 NA NA -1 NA -1.0 -1.0 HMDB:HMDB0000001 scan=463_93.0348_HMDB:HMDB0000001 0 1 0 1
2+
235.07477407390158 134.95685060594775 0 NA 476.0 329.319578751179961 NA HMDB:HMDB0000001 NA -1 NA -1.0 -1.0 HMDB:HMDB0000001 HMDB:HMDB0000001_scan=440_134.957_370.346 0 1 0 1
3+
235.07477407390158 217.105081882742866 0 NA 464.0 329.319578751179961 NA HMDB:HMDB0000001 NA -1 NA -1.0 -1.0 HMDB:HMDB0000001 HMDB:HMDB0000001_scan=440_217.105_370.346 0 1 0 1

src/examples/data/DDA/features/Germicidin A standard 5e-2_GA1_01_27401_13_BatchName_1900-01-01_000000.featureXML

Lines changed: 4295 additions & 4247 deletions
Large diffs are not rendered by default.
Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
Name: HMDB:HMDB0000001
2-
Retention Time: 390.259
3-
base peak intensity: 1.38524e05
4-
total ion current: 2.10504e05
5-
Num Peaks: 7
6-
93.0348:7280 111.046:2760 121.03:41376 122.033:3364 128.021:460
7-
148.934:548 149.025:138524
2+
Retention Time: 370.346
3+
base peak intensity: 476.0
4+
total ion current: 940.0
5+
Num Peaks: 2
6+
134.957:476 217.105:464
87

src/examples/data/DDA/parameters.csv

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ TargetedSpectraExtractor,AccurateMassSearchEngine:db:struct,['CHEMISTRY/HMDB2Str
1010
TargetedSpectraExtractor,AccurateMassSearchEngine:positive_adducts,CHEMISTRY/PositiveAdducts.tsv,TRUE,string,,This file contains the list of potential positive adducts that will be looked for in the database. Edit the list if you wish to exclude/include adducts. By default CHEMISTRY/PositiveAdducts.tsv in OpenMS/share is used.,
1111
TargetedSpectraExtractor,AccurateMassSearchEngine:negative_adducts,CHEMISTRY/NegativeAdducts.tsv,TRUE,string,,This file contains the list of potential negative adducts that will be looked for in the database. Edit the list if you wish to exclude/include adducts. By default CHEMISTRY/NegativeAdducts.tsv in OpenMS/share is used.,
1212
TargetedSpectraExtractor,relative_allowable_product_mass,50,TRUE,float,,Threshold m/z of a product relatively to the precurosor m/z (can be negative),
13-
TargetedSpectraExtractor,AccurateMassSearchEngine:ionization_mode,negative,TRUE,string,,"Positive or negative ionization mode? If 'auto' is used, the first feature of the input map must contain the meta-value 'scan_polarity'. If its missing, the tool will exit with error.",
13+
TargetedSpectraExtractor,AccurateMassSearchEngine:ionization_mode,auto,TRUE,string,,"Positive or negative ionization mode? If 'auto' is used, the first feature of the input map must contain the meta-value 'scan_polarity'. If its missing, the tool will exit with error.",
1414
TargetedSpectraExtractor,AccurateMassSearchEngine:mass_error_value,10,TRUE,float,,Tolerance allowed for accurate mass search.,
15-
TargetedSpectraExtractor,AccurateMassSearchEngine:keep_unidentified_masses,TRUE,TRUE,bool,,Keep features that did not yield any DB hit.,
15+
TargetedSpectraExtractor,rt_window,60,TRUE,float,,,
16+
TargetedSpectraExtractor,mz_tolerance,0.001,TRUE,float,,,
17+
TargetedSpectraExtractor,AccurateMassSearchEngine:keep_unidentified_masses,TRUE,TRUE,bool,,,

src/tests/class_tests/smartpeak/data/DDA/Germicidin A standard.mzML renamed to src/tests/class_tests/smartpeak/data/DDA.mzML

File renamed without changes.

0 commit comments

Comments
 (0)