Skip to content

Commit

Permalink
fixed bug in library creation with M+1
Browse files Browse the repository at this point in the history
  • Loading branch information
e-stan committed Mar 4, 2022
1 parent 83546e0 commit de87fd0
Show file tree
Hide file tree
Showing 8 changed files with 49 additions and 1,321 deletions.
1 change: 1 addition & 0 deletions GUI/buildGUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
'--add-binary=%s' % '../src/DecoID/model.zip;.',
'--add-binary=%s' % '../src/DecoID/frac_shared_frag_log_reg_Negative.pkl;.',
'--add-binary=%s' % '../src/DecoID/frac_shared_frag_log_reg_Positive.pkl;.',
#'--add-data=%s' % 'C:/Users/Ethan/AppData/Local/Programs/Python/Python37/Lib/site-packages/matplotlib/mpl-data/matplotlibrc;.',
'-y',
'decoIDGUI.py'])

Binary file modified exampleData/Asp-Mal_1uM_5Da.DecoID
Binary file not shown.
2 changes: 1 addition & 1 deletion exampleData/Asp-Mal_1uM_5Da_decoID.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#featureID,isolation_center_m/z,rt,compound_m/z,compound_rt,compound_formula,DB_Compound_ID,Compound_Name,DB_Spectrum_ID,dot_product,ppm_Error,isotope_similiarity,Abundance,ComponentID,redundant
0,133.014373779297,0.45985111999999995,133.0142,-1,C4H6O5,BJEPYKJPYRNKOW-UWTATZPHSA-N,D-Malic acid,HMDB0031518,99.29750772089815,-1.306470060813177,0.5,0.9485918506154046,BJEPYKJPYRNKOW-UWTATZPHSA-N,False
0,133.014373779297,0.45985111999999995,133.0142,-1,C4H6O5,BJEPYKJPYRNKOW-UWTATZPHSA-N,D-Malic acid,HMDB0031518,99.29582003923348,-1.306470060813177,0.5,0.9490455124187609,BJEPYKJPYRNKOW-UWTATZPHSA-N,False
8 changes: 4 additions & 4 deletions exampleData/Asp-Mal_1uM_5Da_scanInfo.csv
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#featureID,Signal to Noise Ratio,numComponents,componentID,componentRT,componentAbundance,componentMz,spectrum
0,0.9192114566444355,4,CKLJMWTZIZZHCS-UHFFFAOYSA-N,-1,0.051408149384595404,132.0302,58.52:23.32877273895343 59.01:18545.06345114211 61.26:507.5946350097656 62.86:44.24069812537039 64.4:799.5025634765625 69.0:1734.9635009765625 70.03:49.614766810679335 71.01:22753.996882117335 72.01:168.73285836533822 72.02:635.2949829101562 78.27:21.61602181142877 79.68:21.50861727202019 86.84:24.002135444925944 88.04:25713.839412928133 88.75:516.1272583007812 89.02:2437.4114458198237 89.04:146.80410461496177 90.97:5356.241760253906 91.03:1543.0557861328125 94.98:6032.30029296875 94.99:569.9058227539062 100.86:501.6908264160156 104.16:524.3865356445312 112.98:761.331787109375 112.99:777.9542236328125 114.02:438.72678187597785 115.0:33040.71243154256 115.01:952.2254638671875 116.01:9659.14501953125 117.01:763.6163330078125 123.87:593.7644653320312 132.03:9761.844331797141 132.06:883.7042846679688 132.25:24.79115829036813 132.98:2192.9652099609375 133.03:44.75753138464014 134.02:1392.5369873046875 134.04:1481.1002807617188 134.05:610.4221801757812 134.87:602.8185424804688 134.89:4933.556396484375 134.91:648.490966796875 134.92:9633.553344726562 134.96:527.3844604492188 134.97:7289.983825683594 135.02:682.0730590820312 135.05:2844.9923095703125 150.28:592.6956787109375 150.94:596.8324584960938 152.97:563.3756103515625 154.64:544.3151245117188
0,0.9192114566444355,4,BJEPYKJPYRNKOW-UWTATZPHSA-N,-1,0.9485918506154046,133.0142,59.01:18484.087916045388 61.26:507.5946350097656 64.4:799.5025634765625 69.0:1734.9635009765625 71.01:122334.42108663266 72.02:635.2949829101562 72.99:34134.450834197414 88.04:9366.116519689054 88.75:516.1272583007812 89.02:19803.427909648926 90.97:5356.241760253906 91.03:1543.0557861328125 94.98:6032.30029296875 94.99:569.9058227539062 100.86:501.6908264160156 104.16:524.3865356445312 112.98:761.331787109375 112.99:777.9542236328125 115.0:320260.0033887699 115.01:952.2254638671875 116.01:9659.14501953125 117.01:763.6163330078125 123.87:593.7644653320312 132.03:2265.729886952858 132.06:883.7042846679688 132.98:2192.9652099609375 133.01:136191.50253192964 134.02:1392.5369873046875 134.04:1481.1002807617188 134.05:610.4221801757812 134.87:602.8185424804688 134.89:4933.556396484375 134.91:648.490966796875 134.92:9633.553344726562 134.96:527.3844604492188 134.97:7289.983825683594 135.02:682.0730590820312 135.05:2844.9923095703125 150.28:592.6956787109375 150.94:596.8324584960938 152.97:563.3756103515625 154.64:544.3151245117188
0,0.9192114566444355,4,original,0.45985111999999995,0.0,133.014373779297,59.01:37029.1513671875 61.26:1015.1892700195312 64.4:1599.005126953125 69.0:3469.927001953125 71.01:145088.41796875 72.02:1270.5899658203125 72.99:30533.87158203125 88.04:35079.95593261719 88.75:1032.2545166015625 89.02:22240.83935546875 90.97:10712.483520507812 91.03:3086.111572265625 94.98:12064.6005859375 94.99:1139.8116455078125 100.86:1003.3816528320312 104.16:1048.7730712890625 112.98:1522.66357421875 112.99:1555.908447265625 115.0:353300.7158203125 115.01:1904.450927734375 116.01:19318.2900390625 117.01:1527.232666015625 123.87:1187.5289306640625 132.03:12027.57421875 132.06:1767.4085693359375 132.98:4385.930419921875 133.01:117590.35546875 134.02:2785.073974609375 134.04:2962.2005615234375 134.05:1220.8443603515625 134.87:1205.6370849609375 134.89:9867.11279296875 134.91:1296.98193359375 134.92:19267.106689453125 134.96:1054.7689208984375 134.97:14579.967651367188 135.02:1364.1461181640625 135.05:5689.984619140625 150.28:1185.391357421875 150.94:1193.6649169921875 152.97:1126.751220703125 154.64:1088.6302490234375
0,0.9192114566444355,4,residual,0.45985111999999995,0.0,133.014373779297,59.01:18484.087916045388 61.26:507.5946350097656 64.4:799.5025634765625 69.0:1734.9635009765625 71.01:20621.063375657875 72.02:635.2949829101562 88.04:9366.116519689054 88.75:516.1272583007812 89.02:2437.4114458198237 90.97:5356.241760253906 91.03:1543.0557861328125 94.98:6032.30029296875 94.99:569.9058227539062 100.86:501.6908264160156 104.16:524.3865356445312 112.98:761.331787109375 112.99:777.9542236328125 115.0:28389.75322687917 115.01:952.2254638671875 116.01:9659.14501953125 117.01:763.6163330078125 123.87:593.7644653320312 132.03:2265.729886952858 132.06:883.7042846679688 132.98:2192.9652099609375 134.02:1392.5369873046875 134.04:1481.1002807617188 134.05:610.4221801757812 134.87:602.8185424804688 134.89:4933.556396484375 134.91:648.490966796875 134.92:9633.553344726562 134.96:527.3844604492188 134.97:7289.983825683594 135.02:682.0730590820312 135.05:2844.9923095703125 150.28:592.6956787109375 150.94:596.8324584960938 152.97:563.3756103515625 154.64:544.3151245117188
0,0.9160900125636146,4,CKLJMWTZIZZHCS-UHFFFAOYSA-N,-1,0.05095448758123905,132.0302,58.52:23.082798489497428 59.01:18544.741993780244 61.26:507.5946350097656 62.86:43.7742324163266 64.4:799.5025634765625 69.0:1734.9635009765625 70.03:49.091637918956124 71.01:22806.678893626744 72.01:166.95377042704825 72.02:635.2949829101562 78.27:21.388106489830534 79.68:21.28183440394897 86.84:23.749061384088236 88.04:25627.655735073 88.75:516.1272583007812 89.02:2448.3259519406038 89.04:145.2562293857848 90.97:5356.241760253906 91.03:1543.0557861328125 94.98:6032.30029296875 94.99:569.9058227539062 100.86:501.6908264160156 104.16:524.3865356445312 112.98:761.331787109375 112.99:777.9542236328125 114.02:434.1009281246574 115.0:33199.632866444554 115.01:952.2254638671875 116.01:9659.14501953125 117.01:763.6163330078125 123.87:593.7644653320312 132.03:9722.325512160991 132.06:883.7042846679688 132.25:24.52976491910707 132.98:2192.9652099609375 133.03:44.28561628164557 134.02:1392.5369873046875 134.04:1481.1002807617188 134.05:610.4221801757812 134.87:602.8185424804688 134.89:4933.556396484375 134.91:648.490966796875 134.92:9633.553344726562 134.96:527.3844604492188 134.97:7289.983825683594 135.02:682.0730590820312 135.05:2844.9923095703125 150.28:592.6956787109375 150.94:596.8324584960938 152.97:563.3756103515625 154.64:544.3151245117188
0,0.9160900125636146,4,BJEPYKJPYRNKOW-UWTATZPHSA-N,-1,0.9490455124187609,133.0142,59.01:18484.40937340726 61.26:507.5946350097656 64.4:799.5025634765625 69.0:1734.9635009765625 71.01:122281.73907512325 72.02:635.2949829101562 72.99:34110.73444433315 88.04:9452.300197544188 88.75:516.1272583007812 89.02:19792.513403528144 90.97:5356.241760253906 91.03:1543.0557861328125 94.98:6032.30029296875 94.99:569.9058227539062 100.86:501.6908264160156 104.16:524.3865356445312 112.98:761.331787109375 112.99:777.9542236328125 115.0:320101.08295386797 115.01:952.2254638671875 116.01:9659.14501953125 117.01:763.6163330078125 123.87:593.7644653320312 132.03:2305.248706589008 132.06:883.7042846679688 132.98:2192.9652099609375 133.01:136094.21566565393 134.02:1392.5369873046875 134.04:1481.1002807617188 134.05:610.4221801757812 134.87:602.8185424804688 134.89:4933.556396484375 134.91:648.490966796875 134.92:9633.553344726562 134.96:527.3844604492188 134.97:7289.983825683594 135.02:682.0730590820312 135.05:2844.9923095703125 150.28:592.6956787109375 150.94:596.8324584960938 152.97:563.3756103515625 154.64:544.3151245117188
0,0.9160900125636146,4,original,0.45985111999999995,0.0,133.014373779297,59.01:37029.1513671875 61.26:1015.1892700195312 64.4:1599.005126953125 69.0:3469.927001953125 71.01:145088.41796875 72.02:1270.5899658203125 72.99:30533.87158203125 88.04:35079.95593261719 88.75:1032.2545166015625 89.02:22240.83935546875 90.97:10712.483520507812 91.03:3086.111572265625 94.98:12064.6005859375 94.99:1139.8116455078125 100.86:1003.3816528320312 104.16:1048.7730712890625 112.98:1522.66357421875 112.99:1555.908447265625 115.0:353300.7158203125 115.01:1904.450927734375 116.01:19318.2900390625 117.01:1527.232666015625 123.87:1187.5289306640625 132.03:12027.57421875 132.06:1767.4085693359375 132.98:4385.930419921875 133.01:117590.35546875 134.02:2785.073974609375 134.04:2962.2005615234375 134.05:1220.8443603515625 134.87:1205.6370849609375 134.89:9867.11279296875 134.91:1296.98193359375 134.92:19267.106689453125 134.96:1054.7689208984375 134.97:14579.967651367188 135.02:1364.1461181640625 135.05:5689.984619140625 150.28:1185.391357421875 150.94:1193.6649169921875 152.97:1126.751220703125 154.64:1088.6302490234375
0,0.9160900125636146,4,residual,0.45985111999999995,0.0,133.014373779297,59.01:18484.40937340726 61.26:507.5946350097656 64.4:799.5025634765625 69.0:1734.9635009765625 71.01:20696.234642142743 72.02:635.2949829101562 88.04:9452.300197544188 88.75:516.1272583007812 89.02:2448.3259519406038 90.97:5356.241760253906 91.03:1543.0557861328125 94.98:6032.30029296875 94.99:569.9058227539062 100.86:501.6908264160156 104.16:524.3865356445312 112.98:761.331787109375 112.99:777.9542236328125 115.0:28597.71251232075 115.01:952.2254638671875 116.01:9659.14501953125 117.01:763.6163330078125 123.87:593.7644653320312 132.03:2305.248706589008 132.06:883.7042846679688 132.98:2192.9652099609375 134.02:1392.5369873046875 134.04:1481.1002807617188 134.05:610.4221801757812 134.87:602.8185424804688 134.89:4933.556396484375 134.91:648.490966796875 134.92:9633.553344726562 134.96:527.3844604492188 134.97:7289.983825683594 135.02:682.0730590820312 135.05:2844.9923095703125 150.28:592.6956787109375 150.94:596.8324584960938 152.97:563.3756103515625 154.64:544.3151245117188
Loading

0 comments on commit de87fd0

Please sign in to comment.