Repository 'thermo_raw_file_converter'
hg clone https://toolshed.g2.bx.psu.edu/repos/galaxyp/thermo_raw_file_converter

Changeset 9:92ac8e086317 (2021-02-17)
Previous changeset 8:26c6706bfb07 (2020-07-25) Next changeset 10:b9b385097f13 (2021-04-10)
Commit message:
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/ThermoRawFileParser commit 9bb883e027809047684fd6c45e9a6f1f3bf69351"
modified:
test-data/really_small.mzml
thermo_converter.xml
added:
test-data/really_small.indexed_mzML
test-data/really_small.json
test-data/really_small.mgf
test-data/really_small_ext.mzml
removed:
test-data/really_small_2.raw
test-data/really_small_3.raw
b
diff -r 26c6706bfb07 -r 92ac8e086317 test-data/really_small.indexed_mzML
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/really_small.indexed_mzML Wed Feb 17 09:50:26 2021 +0000
b
b'@@ -0,0 +1,2772 @@\n+\xef\xbb\xbf<?xml version="1.0" encoding="utf-8"?>\n+<indexedmzML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://psi.hupo.org/ms/mzml http://psidev.info/files/ms/mzML/xsd/mzML1.1.0.xsd" xmlns="http://psi.hupo.org/ms/mzml">\n+  <mzML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://psi.hupo.org/ms/mzml http://psidev.info/files/ms/mzML/xsd/mzML1.1.0.xsd" version="1.1.0" id="really_small">\n+    <cvList count="2">\n+      <cv id="MS" fullName="Mass spectrometry ontology" version="4.1.41" URI="https://raw.githubusercontent.com/HUPO-PSI/psi-ms-CV/master/psi-ms.obo" />\n+      <cv id="UO" fullName="Unit Ontology" version="09:04:2014" URI="https://raw.githubusercontent.com/bio-ontology-research-group/unit-ontology/master/unit.obo" />\n+    </cvList>\n+    <fileDescription>\n+      <fileContent>\n+        <cvParam cvRef="MS" accession="MS:1000579" value="" name="MS1 spectrum" />\n+        <cvParam cvRef="MS" accession="MS:1000580" value="" name="MSn spectrum" />\n+        <cvParam cvRef="MS" accession="MS:1000810" value="" name="ion current chromatogram" />\n+      </fileContent>\n+      <sourceFileList count="1">\n+        <sourceFile id="RAW1" name="really_small" location="file:///really_small.raw">\n+          <cvParam cvRef="MS" accession="MS:1000768" value="" name="Thermo nativeID format" />\n+          <cvParam cvRef="MS" accession="MS:1000563" value="" name="Thermo RAW format" />\n+          <cvParam cvRef="MS" accession="MS:1000569" value="a6c0d318207b271d5e2f31b3302239e040c66dbe" name="SHA-1" />\n+        </sourceFile>\n+      </sourceFileList>\n+    </fileDescription>\n+    <referenceableParamGroupList count="1">\n+      <referenceableParamGroup id="commonInstrumentParams">\n+        <cvParam cvRef="MS" accession="MS:1002416" value="" name="Orbitrap Fusion" />\n+        <cvParam cvRef="MS" accession="MS:1000529" value="FSN10188" name="instrument serial number" />\n+      </referenceableParamGroup>\n+    </referenceableParamGroupList>\n+    <softwareList count="1">\n+      <software id="ThermoRawFileParser" version="1.3.2">\n+        <cvParam cvRef="MS" accession="MS:1000799" value="ThermoRawFileParser" name="custom unreleased software tool" />\n+      </software>\n+    </softwareList>\n+    <instrumentConfigurationList count="1">\n+      <instrumentConfiguration id="IC1">\n+        <referenceableParamGroupRef ref="commonInstrumentParams" />\n+        <componentList count="3">\n+          <source order="1">\n+            <cvParam cvRef="MS" accession="MS:1000398" value="" name="nanoelectrospray" />\n+          </source>\n+          <analyzer order="2">\n+            <cvParam cvRef="MS" accession="MS:1000079" value="" name="fourier transform ion cyclotron resonance mass spectrometer" />\n+          </analyzer>\n+          <detector order="3">\n+            <cvParam cvRef="MS" accession="MS:1000624" value="" name="inductive detector" />\n+          </detector>\n+        </componentList>\n+      </instrumentConfiguration>\n+    </instrumentConfigurationList>\n+    <dataProcessingList count="1">\n+      <dataProcessing id="ThermoRawFileParserProcessing">\n+        <processingMethod order="0" softwareRef="ThermoRawFileParser">\n+          <cvParam cvRef="MS" accession="MS:1000544" value="" name="Conversion to mzML" />\n+        </processingMethod>\n+        <processingMethod order="1" softwareRef="ThermoRawFileParser">\n+          <cvParam cvRef="MS" accession="MS:1000035" value="" name="peak picking" />\n+        </processingMethod>\n+      </dataProcessing>\n+    </dataProcessingList>\n+    <run id="really_small" defaultInstrumentConfigurationRef="IC1" startTimeStamp="2019-03-25T11:30:48.075Z" defaultSourceFileRef="RAW1">\n+      <spectrumList count="67" defaultDataProcessingRef="ThermoRawFileParserProcessing">\n+        <spectrum id="controllerType=0 controllerNumber=1 scan=1" index="0" defaultArrayLength="136">\n+          <cvParam cvRef="MS" accession="MS:1000511" value="1" name="ms level" />\n+          <cvPa'..b'ollerType=0 controllerNumber=1 scan=23">104772</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=24">108928</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=25">113903</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=26">119034</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=27">123347</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=28">127385</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=29">132181</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=30">136235</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=31">140337</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=32">144602</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=33">149133</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=34">153506</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=35">158913</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=37">163747</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=39">168047</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=40">172651</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=41">177685</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=42">182811</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=43">187510</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=44">191479</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=45">195913</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=46">200715</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=47">206054</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=50">210690</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=51">216101</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=52">221319</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=53">226060</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=54">231610</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=55">237157</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=56">241544</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=57">247264</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=58">252761</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=59">257878</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=60">263577</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=61">272295</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=63">282040</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=64">293066</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=65">304868</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=66">312626</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=67">324944</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=79">338903</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=88">354389</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=99">365599</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=100">371919</offset>\n+      <offset idRef="controllerType=0 controllerNumber=1 scan=101">379250</offset>\n+    </index>\n+    <index name="chromatogram">\n+      <offset idRef="BasePeak_0">385580</offset>\n+    </index>\n+  </indexList>\n+  <indexListOffset>388584</indexListOffset>\n+  <fileChecksum>8a5e1e41cfbb53217242d8cac4a2934375c76ca9</fileChecksum>\n+</indexedmzML>\n\\ No newline at end of file\n'
b
diff -r 26c6706bfb07 -r 92ac8e086317 test-data/really_small.json
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/really_small.json Wed Feb 17 09:50:26 2021 +0000
[
@@ -0,0 +1,1 @@
+{"FileProperties":[{"accession":"NCIT:C47922","cvLabel":"NCIT","name":"Pathname","value":"really_small.raw"},{"accession":"NCIT:C25714","cvLabel":"NCIT","name":"Version","value":"66"},{"accession":"NCIT:C69199","cvLabel":"NCIT","name":"Content Creation Date","value":"03/25/2019 11:30:48"},{"accession":"NCIT:C25365","cvLabel":"NCIT","name":"Description","value":""}],"InstrumentProperties":[{"accession":"MS:1000494","cvLabel":"MS","name":"Thermo Scientific instrument model","value":"Orbitrap Fusion"},{"accession":"MS:1000496","cvLabel":"MS","name":"instrument attribute","value":"Orbitrap Fusion"},{"accession":"MS:1000529","cvLabel":"MS","name":"instrument serial number","value":"FSN10188"}],"MsData":[{"accession":"PRIDE:0000481","cvLabel":"PRIDE","name":"Number of MS1 spectra","value":"67"},{"accession":"PRIDE:0000482","cvLabel":"PRIDE","name":"Number of MS2 spectra","value":"34"},{"accession":"PRIDE:0000472","cvLabel":"PRIDE","name":"MS min charge","value":"2"},{"accession":"PRIDE:0000473","cvLabel":"PRIDE","name":"MS max charge","value":"3"},{"accession":"PRIDE:0000474","cvLabel":"PRIDE","name":"MS min RT","value":"0.89012589865"},{"accession":"PRIDE:0000475","cvLabel":"PRIDE","name":"MS max RT","value":"1.5947900096"},{"accession":"PRIDE:0000476","cvLabel":"PRIDE","name":"MS min MZ","value":"407.919311523438"},{"accession":"PRIDE:0000477","cvLabel":"PRIDE","name":"MS max MZ","value":"1138.40502929688"}],"SampleData":[],"ScanSettings":[{"accession":"MS:1000016","cvLabel":"MS","name":"scan start time","value":"0.89012589865"},{"accession":"MS:1000011","cvLabel":"MS","name":"mass resolution","value":"0.5"},{"accession":"UO:0000002","cvLabel":"MS","name":"mass unit","value":"None"},{"accession":"PRIDE:0000478","cvLabel":"PRIDE","name":"Number of scans","value":"101"},{"accession":"PRIDE:0000479","cvLabel":"PRIDE","name":"MS scan range","value":"1:101"},{"accession":"PRIDE:0000484","cvLabel":"PRIDE","name":"Retention time range","value":"0.89012589865:1.5947900096"},{"accession":"PRIDE:0000485","cvLabel":"PRIDE","name":"Mz range","value":"120:2000"},{"accession":"MS:1000422","cvLabel":"MS","name":"beam-type collision-induced dissociation","value":"HCD"}]}
\ No newline at end of file
b
diff -r 26c6706bfb07 -r 92ac8e086317 test-data/really_small.mgf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/really_small.mgf Wed Feb 17 09:50:26 2021 +0000
[
b'@@ -0,0 +1,4772 @@\n+BEGIN IONS\n+TITLE=controllerType=0 controllerNumber=1 scan=36 [PRECURSOR=controllerType=0 controllerNumber=1 scan=35]\n+SCANS=36\n+RTINSECONDS=73.863181104\n+PEPMASS=675.248779296875\n+CHARGE=2+\n+121.3116455 920.2367553711\n+121.3347778 946.6901855469\n+121.3463058 1461.1103515625\n+121.3569946 1011.2686157227\n+121.3639221 1393.5522460938\n+121.3678589 1715.3167724609\n+121.3758316 1333.3702392578\n+121.3811340 1140.8778076172\n+121.3862915 1413.1467285156\n+121.3897552 1080.8319091797\n+121.3988113 1171.1282958984\n+121.4128799 1142.3867187500\n+121.4206085 970.0669555664\n+121.4236221 1064.1722412109\n+121.4289703 1163.8079833984\n+121.4328461 1044.6525878906\n+121.4409103 1707.4576416016\n+121.4438019 1236.5410156250\n+121.4485321 1075.5264892578\n+121.4606476 2245.1250000000\n+121.4682999 1375.6916503906\n+121.4912186 1075.6673583984\n+121.4947281 859.3981933594\n+121.5146103 923.2062988281\n+121.5266953 1103.3685302734\n+121.5407639 856.5814819336\n+121.5442581 891.9100952148\n+121.5597153 960.6614379883\n+129.0355530 992.0824584961\n+129.0560150 1124.1541748047\n+129.0599060 992.4807128906\n+129.0679016 816.5587158203\n+129.0720062 1288.1049804688\n+129.0805969 1537.5488281250\n+129.1176758 1207.7071533203\n+129.1297302 1163.6644287109\n+129.1519165 1762.3098144531\n+129.1701508 1228.9890136719\n+129.1744232 1399.3701171875\n+129.1822510 1233.2061767578\n+129.2071381 1009.5696411133\n+129.2528687 955.9821166992\n+137.5036011 1625.0970458984\n+137.5243683 1148.0827636719\n+137.5296478 1059.8743896484\n+137.5333710 1744.2908935547\n+137.5561371 1176.6866455078\n+137.5968323 1909.9708251953\n+137.6173706 1775.8674316406\n+137.6260681 949.1297607422\n+137.6412964 1577.4228515625\n+137.6505890 1291.6551513672\n+137.6624451 1518.5893554688\n+137.7605743 1350.2098388672\n+146.7758789 1166.4200439453\n+146.8457642 1099.3450927734\n+146.8508911 1530.7928466797\n+146.8614044 1453.6790771484\n+146.9068604 1277.4951171875\n+146.9474182 1597.0721435547\n+157.1415863 1592.0611572266\n+157.1475525 1492.4208984375\n+157.1531982 1893.8724365234\n+157.1604919 1301.8929443359\n+157.1684265 1425.0571289063\n+157.1805420 1037.5721435547\n+157.1856842 1150.8479003906\n+157.2306061 1526.6547851563\n+157.2549896 1617.5067138672\n+157.2849579 1412.7625732422\n+157.2958679 1275.8671875000\n+157.3105011 1449.1384277344\n+168.5788574 1436.9664306641\n+168.5868225 1290.8702392578\n+168.6254272 1206.9304199219\n+168.7170563 1098.2226562500\n+168.7594757 1354.2091064453\n+168.7753754 1485.8359375000\n+168.7808075 1254.9532470703\n+171.1142273 1127.5559082031\n+173.4582062 12498.1630859375\n+177.7894592 1175.6215820313\n+181.1426544 1170.6772460938\n+181.2839508 1228.5852050781\n+181.2908630 1600.3165283203\n+181.3312683 1407.9073486328\n+181.3432465 984.1467285156\n+181.3866882 1338.5520019531\n+181.4163513 1631.4531250000\n+181.4446411 1016.9706420898\n+181.4544525 1029.2406005859\n+195.5420990 1551.5031738281\n+195.5487976 1091.6578369141\n+195.6379547 1252.8408203125\n+195.7026367 1285.1671142578\n+195.7505798 1274.2694091797\n+197.1559753 1161.7861328125\n+201.9205933 1106.6774902344\n+209.6081696 1133.9372558594\n+211.4997711 2155.5026855469\n+211.5785370 1620.8553466797\n+211.6434174 1523.6784667969\n+229.4254303 1642.6881103516\n+229.4716797 1209.7622070313\n+229.4848175 1636.1519775391\n+229.4928284 1317.4958496094\n+229.5735016 1548.2508544922\n+246.3963318 1411.0372314453\n+249.8762665 1746.7469482422\n+249.9769592 1231.5677490234\n+250.0594025 1641.6599121094\n+250.1616669 1397.2440185547\n+267.5346069 1173.3869628906\n+273.2342834 1361.0900878906\n+273.2542419 1711.6748046875\n+282.6263428 1300.7539062500\n+292.5538635 1561.3953857422\n+299.7272339 1599.5877685547\n+299.8599243 1538.6871337891\n+299.8937073 1496.2049560547\n+330.5907288 1557.2026367188\n+330.6213989 1408.9403076172\n+366.3307190 1678.1613769531\n+366.3613586 1327.5081787109\n+399.1612854 1455.4034423828\n+407.9185791 1353.8256835938\n+408.1746521 1914.7832031250\n+457.4526367 1417.9438476563\n+457.6015320 1449.5797119141\n+547.8527222 1586.2229003906\n+674.5571899 1770.5743408203\n+9'..b'.5482788 947.9846191406\n+120.5634842 926.7803955078\n+120.5701218 888.1221923828\n+120.5838928 1155.5487060547\n+120.5875015 872.9935302734\n+120.5961914 1034.4995117188\n+120.5995865 1243.5806884766\n+120.6041260 802.6395874023\n+120.6079330 1726.9185791016\n+120.6181335 2338.9145507813\n+120.6220627 1660.3134765625\n+120.6296768 1408.4650878906\n+120.6555862 797.3109130859\n+120.6718063 1180.7930908203\n+120.6756363 836.2148437500\n+120.8658905 1022.1296386719\n+128.1388397 1008.4816894531\n+128.1464996 1452.9217529297\n+128.1564789 1364.5449218750\n+128.1790771 1167.0400390625\n+128.2218628 1622.9023437500\n+128.2579498 788.9241943359\n+128.2631989 1323.5010986328\n+128.2667694 975.7484130859\n+128.2741241 1651.4445800781\n+128.2784424 1476.1130371094\n+128.3273163 1110.1274414063\n+128.3317719 1119.9598388672\n+136.4878540 993.7978515625\n+136.5466156 1141.6175537109\n+136.5502319 1189.5366210938\n+136.5539398 1288.0908203125\n+136.5575562 1240.3087158203\n+136.5610962 1196.9703369141\n+136.5737000 1283.2551269531\n+136.5826874 1013.1512451172\n+136.6118317 1031.8264160156\n+136.6252747 1591.1378173828\n+136.6503296 1342.2275390625\n+136.6654358 913.1597900391\n+136.6698608 1227.6448974609\n+136.6823425 1492.3541259766\n+136.6873016 1877.9320068359\n+136.6920776 1195.9810791016\n+136.6963959 1074.4638671875\n+136.7402344 1288.0418701172\n+136.7519531 874.9371948242\n+136.8906555 943.3171386719\n+138.2581329 896.7210083008\n+145.8088226 1919.9002685547\n+145.8130798 1592.8272705078\n+145.8168488 1608.4205322266\n+145.8594208 1453.4438476563\n+145.8632965 1440.9146728516\n+145.9001465 1278.9510498047\n+145.9152222 1356.8072509766\n+145.9317322 1474.3288574219\n+145.9451447 1344.0917968750\n+145.9508057 1204.3909912109\n+145.9560852 1056.5574951172\n+145.9618835 1426.7426757813\n+149.1788025 1607.0174560547\n+149.1862183 1774.3867187500\n+149.1929169 2639.3027343750\n+149.2085419 2732.4262695313\n+149.2156525 1769.8958740234\n+149.2223206 1677.1783447266\n+149.2305145 1450.5920410156\n+155.9874725 1384.6649169922\n+156.0373077 1546.0716552734\n+156.0415192 1906.5235595703\n+156.0979156 1360.4315185547\n+156.1025391 1376.4378662109\n+156.1505127 1304.5443115234\n+156.1681671 1149.4927978516\n+156.1742401 1757.8641357422\n+156.1822510 1180.3267822266\n+156.1952362 1408.3763427734\n+156.2008362 1797.0312500000\n+167.3766937 1447.8924560547\n+167.3813934 1475.6973876953\n+167.3862762 1446.4511718750\n+167.3914948 1219.2966308594\n+167.4482574 1237.4980468750\n+167.5274353 1686.9605712891\n+167.5499268 1127.4757080078\n+167.6149750 1325.1293945313\n+168.0612946 1495.1743164063\n+173.4600220 2871.4970703125\n+180.0031128 1284.1439208984\n+180.0090179 1783.4263916016\n+180.0257111 1270.4342041016\n+180.1648102 2151.6718750000\n+180.1908875 1197.8414306641\n+182.2115784 1058.1774902344\n+194.0158997 1541.7952880859\n+194.1158752 1138.6672363281\n+194.1332703 1223.2281494141\n+194.1487274 1130.5408935547\n+194.2784119 1922.8146972656\n+194.2879333 1175.6503906250\n+194.3409119 1027.4337158203\n+197.4066010 1000.7852172852\n+209.8425140 1542.0551757813\n+209.9679565 1323.2292480469\n+209.9747314 1256.1158447266\n+210.1108856 1059.4560546875\n+210.1386719 1155.3426513672\n+227.8361053 1437.0717773438\n+228.1644592 1185.8536376953\n+230.3846893 1281.3861083984\n+248.0878296 1547.7463378906\n+248.1702881 1224.2363281250\n+248.2538757 1488.8449707031\n+270.2063293 1458.2064208984\n+271.1522827 1483.4642333984\n+271.7481689 1130.6900634766\n+297.5790405 1577.8697509766\n+297.6735840 1382.5285644531\n+297.8302612 1301.1896972656\n+297.9467163 1278.5354003906\n+328.0655518 1620.7377929688\n+328.0796509 1631.8754882813\n+331.9772644 1634.6203613281\n+363.5056458 1446.3931884766\n+405.6954956 1272.3583984375\n+512.6686401 1606.8143310547\n+547.4861450 1329.9916992188\n+571.8480835 1507.8168945313\n+733.0999756 1354.9041748047\n+857.3425293 1531.9197998047\n+989.2855835 2176.9792480469\n+989.3634033 1908.3461914063\n+1077.5605469 1465.2432861328\n+1085.2486572 1633.5678710938\n+1313.6719971 1614.7835693359\n+1503.8273926 1462.9067382813\n+1577.8967285 1487.9519042969\n+END IONS\n'
b
diff -r 26c6706bfb07 -r 92ac8e086317 test-data/really_small.mzml
--- a/test-data/really_small.mzml Sat Jul 25 16:26:42 2020 -0400
+++ b/test-data/really_small.mzml Wed Feb 17 09:50:26 2021 +0000
b
b'@@ -1,16 +1,17 @@\n <?xml version="1.0" encoding="utf-8"?>\n-<mzML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://psi.hupo.org/ms/mzml http://psidev.info/files/ms/mzML/xsd/mzML1.1.0.xsd" version="1.1.0" id="input" xmlns="http://psi.hupo.org/ms/mzml">\n+<mzML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://psi.hupo.org/ms/mzml http://psidev.info/files/ms/mzML/xsd/mzML1.1.0.xsd" version="1.1.0" id="really_small" xmlns="http://psi.hupo.org/ms/mzml">\n   <cvList count="2">\n-    <cv id="MS" fullName="Mass spectrometry ontology" version="4.1.12" URI="https://raw.githubusercontent.com/HUPO-PSI/psi-ms-CV/master/psi-ms.obo" />\n+    <cv id="MS" fullName="Mass spectrometry ontology" version="4.1.41" URI="https://raw.githubusercontent.com/HUPO-PSI/psi-ms-CV/master/psi-ms.obo" />\n     <cv id="UO" fullName="Unit Ontology" version="09:04:2014" URI="https://raw.githubusercontent.com/bio-ontology-research-group/unit-ontology/master/unit.obo" />\n   </cvList>\n   <fileDescription>\n     <fileContent>\n       <cvParam cvRef="MS" accession="MS:1000579" value="" name="MS1 spectrum" />\n       <cvParam cvRef="MS" accession="MS:1000580" value="" name="MSn spectrum" />\n+      <cvParam cvRef="MS" accession="MS:1000810" value="" name="ion current chromatogram" />\n     </fileContent>\n     <sourceFileList count="1">\n-      <sourceFile id="RAW1" name="input" location="./raws_folder/input.raw">\n+      <sourceFile id="RAW1" name="really_small" location="file:///really_small.raw">\n         <cvParam cvRef="MS" accession="MS:1000768" value="" name="Thermo nativeID format" />\n         <cvParam cvRef="MS" accession="MS:1000563" value="" name="Thermo RAW format" />\n         <cvParam cvRef="MS" accession="MS:1000569" value="a6c0d318207b271d5e2f31b3302239e040c66dbe" name="SHA-1" />\n@@ -24,7 +25,7 @@\n     </referenceableParamGroup>\n   </referenceableParamGroupList>\n   <softwareList count="1">\n-    <software id="ThermoRawFileParser" version="1.1.9">\n+    <software id="ThermoRawFileParser" version="1.3.2">\n       <cvParam cvRef="MS" accession="MS:1000799" value="ThermoRawFileParser" name="custom unreleased software tool" />\n     </software>\n   </softwareList>\n@@ -49,9 +50,12 @@\n       <processingMethod order="0" softwareRef="ThermoRawFileParser">\n         <cvParam cvRef="MS" accession="MS:1000544" value="" name="Conversion to mzML" />\n       </processingMethod>\n+      <processingMethod order="1" softwareRef="ThermoRawFileParser">\n+        <cvParam cvRef="MS" accession="MS:1000035" value="" name="peak picking" />\n+      </processingMethod>\n     </dataProcessing>\n   </dataProcessingList>\n-  <run id="input" defaultInstrumentConfigurationRef="IC1" startTimeStamp="2019-03-25T11:30:48.075Z" defaultSourceFileRef="RAW1">\n+  <run id="really_small" defaultInstrumentConfigurationRef="IC1" startTimeStamp="2019-03-25T11:30:48.075Z" defaultSourceFileRef="RAW1">\n     <spectrumList count="101" defaultDataProcessingRef="ThermoRawFileParserProcessing">\n       <spectrum id="controllerType=0 controllerNumber=1 scan=1" index="0" defaultArrayLength="136">\n         <cvParam cvRef="MS" accession="MS:1000511" value="1" name="ms level" />\n@@ -1447,8 +1451,8 @@\n           <precursor spectrumRef="controllerType=0 controllerNumber=1 scan=35">\n             <isolationWindow>\n               <cvParam cvRef="MS" accession="MS:1000827" value="675.248779296875" name="isolation window target m/z" unitAccession="MS:1000040" unitName="m/z" unitCvRef="MS" />\n-              <cvParam cvRef="MS" accession="MS:1000828" value="0.7" name="isolation window lower offset" unitAccession="MS:1000040" unitName="m/z" unitCvRef="MS" />\n-              <cvParam cvRef="MS" accession="MS:1000829" value="0.7" name="isolation window upper offset" unitAccession="MS:1000040" unitName="m/z" unitCvRef="MS" />\n+              <cvParam cvRef="MS" accession="MS:1000828" value="0.699999988079071" name="isolation window lower offset" unitAccession="MS:1000040" unitName="m/z" uni'..b'rollerType=0 controllerNumber=1 scan=88">\n             <isolationWindow>\n               <cvParam cvRef="MS" accession="MS:1000827" value="960.893493652344" name="isolation window target m/z" unitAccession="MS:1000040" unitName="m/z" unitCvRef="MS" />\n-              <cvParam cvRef="MS" accession="MS:1000828" value="0.7" name="isolation window lower offset" unitAccession="MS:1000040" unitName="m/z" unitCvRef="MS" />\n-              <cvParam cvRef="MS" accession="MS:1000829" value="0.7" name="isolation window upper offset" unitAccession="MS:1000040" unitName="m/z" unitCvRef="MS" />\n+              <cvParam cvRef="MS" accession="MS:1000828" value="0.699999988079071" name="isolation window lower offset" unitAccession="MS:1000040" unitName="m/z" unitCvRef="MS" />\n+              <cvParam cvRef="MS" accession="MS:1000829" value="0.699999988079071" name="isolation window upper offset" unitAccession="MS:1000040" unitName="m/z" unitCvRef="MS" />\n             </isolationWindow>\n             <selectedIonList count="1">\n               <selectedIon>\n@@ -4466,8 +4470,8 @@\n           <precursor spectrumRef="controllerType=0 controllerNumber=1 scan=88">\n             <isolationWindow>\n               <cvParam cvRef="MS" accession="MS:1000827" value="824.7021484375" name="isolation window target m/z" unitAccession="MS:1000040" unitName="m/z" unitCvRef="MS" />\n-              <cvParam cvRef="MS" accession="MS:1000828" value="0.7" name="isolation window lower offset" unitAccession="MS:1000040" unitName="m/z" unitCvRef="MS" />\n-              <cvParam cvRef="MS" accession="MS:1000829" value="0.7" name="isolation window upper offset" unitAccession="MS:1000040" unitName="m/z" unitCvRef="MS" />\n+              <cvParam cvRef="MS" accession="MS:1000828" value="0.699999988079071" name="isolation window lower offset" unitAccession="MS:1000040" unitName="m/z" unitCvRef="MS" />\n+              <cvParam cvRef="MS" accession="MS:1000829" value="0.699999988079071" name="isolation window upper offset" unitAccession="MS:1000040" unitName="m/z" unitCvRef="MS" />\n             </isolationWindow>\n             <selectedIonList count="1">\n               <selectedIon>\n@@ -4525,8 +4529,8 @@\n           <precursor spectrumRef="controllerType=0 controllerNumber=1 scan=88">\n             <isolationWindow>\n               <cvParam cvRef="MS" accession="MS:1000827" value="1072.44873046875" name="isolation window target m/z" unitAccession="MS:1000040" unitName="m/z" unitCvRef="MS" />\n-              <cvParam cvRef="MS" accession="MS:1000828" value="0.7" name="isolation window lower offset" unitAccession="MS:1000040" unitName="m/z" unitCvRef="MS" />\n-              <cvParam cvRef="MS" accession="MS:1000829" value="0.7" name="isolation window upper offset" unitAccession="MS:1000040" unitName="m/z" unitCvRef="MS" />\n+              <cvParam cvRef="MS" accession="MS:1000828" value="0.699999988079071" name="isolation window lower offset" unitAccession="MS:1000040" unitName="m/z" unitCvRef="MS" />\n+              <cvParam cvRef="MS" accession="MS:1000829" value="0.699999988079071" name="isolation window upper offset" unitAccession="MS:1000040" unitName="m/z" unitCvRef="MS" />\n             </isolationWindow>\n             <selectedIonList count="1">\n               <selectedIon>\n@@ -4674,8 +4678,8 @@\n       </spectrum>\n     </spectrumList>\n     <chromatogramList count="1" defaultDataProcessingRef="ThermoRawFileParserProcessing">\n-      <chromatogram id="base_peak_0" index="0" defaultArrayLength="101">\n-        <cvParam cvRef="MS" accession="MS:1000235" value="" name="total ion current chromatogram" />\n+      <chromatogram id="BasePeak_0" index="0" defaultArrayLength="101">\n+        <cvParam cvRef="MS" accession="MS:1000628" value="" name="basepeak chromatogram" />\n         <binaryDataArrayList count="2">\n           <binaryDataArray encodedLength="1092">\n             <cvParam cvRef="MS" accession="MS:1000595" value="" name="time array" unitAccession="UO:0000031" unitName="minute" unitCvRef="UO" />\n'
b
diff -r 26c6706bfb07 -r 92ac8e086317 test-data/really_small_2.raw
b
Binary file test-data/really_small_2.raw has changed
b
diff -r 26c6706bfb07 -r 92ac8e086317 test-data/really_small_3.raw
b
Binary file test-data/really_small_3.raw has changed
b
diff -r 26c6706bfb07 -r 92ac8e086317 test-data/really_small_ext.mzml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/really_small_ext.mzml Wed Feb 17 09:50:26 2021 +0000
b
b'@@ -0,0 +1,4493 @@\n+<?xml version="1.0" encoding="utf-8"?>\n+<mzML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://psi.hupo.org/ms/mzml http://psidev.info/files/ms/mzML/xsd/mzML1.1.0.xsd" version="1.1.0" id="really_small" xmlns="http://psi.hupo.org/ms/mzml">\n+  <cvList count="2">\n+    <cv id="MS" fullName="Mass spectrometry ontology" version="4.1.41" URI="https://raw.githubusercontent.com/HUPO-PSI/psi-ms-CV/master/psi-ms.obo" />\n+    <cv id="UO" fullName="Unit Ontology" version="09:04:2014" URI="https://raw.githubusercontent.com/bio-ontology-research-group/unit-ontology/master/unit.obo" />\n+  </cvList>\n+  <fileDescription>\n+    <fileContent>\n+      <cvParam cvRef="MS" accession="MS:1000579" value="" name="MS1 spectrum" />\n+      <cvParam cvRef="MS" accession="MS:1000580" value="" name="MSn spectrum" />\n+      <cvParam cvRef="MS" accession="MS:1000810" value="" name="ion current chromatogram" />\n+    </fileContent>\n+    <sourceFileList count="1">\n+      <sourceFile id="RAW1" name="really_small" location="file:///really_small.raw">\n+        <cvParam cvRef="MS" accession="MS:1000768" value="" name="Thermo nativeID format" />\n+        <cvParam cvRef="MS" accession="MS:1000563" value="" name="Thermo RAW format" />\n+        <cvParam cvRef="MS" accession="MS:1000569" value="a6c0d318207b271d5e2f31b3302239e040c66dbe" name="SHA-1" />\n+      </sourceFile>\n+    </sourceFileList>\n+  </fileDescription>\n+  <referenceableParamGroupList count="1">\n+    <referenceableParamGroup id="commonInstrumentParams">\n+      <cvParam cvRef="MS" accession="MS:1002416" value="" name="Orbitrap Fusion" />\n+      <cvParam cvRef="MS" accession="MS:1000529" value="FSN10188" name="instrument serial number" />\n+    </referenceableParamGroup>\n+  </referenceableParamGroupList>\n+  <softwareList count="1">\n+    <software id="ThermoRawFileParser" version="1.3.2">\n+      <cvParam cvRef="MS" accession="MS:1000799" value="ThermoRawFileParser" name="custom unreleased software tool" />\n+    </software>\n+  </softwareList>\n+  <instrumentConfigurationList count="1">\n+    <instrumentConfiguration id="IC1">\n+      <referenceableParamGroupRef ref="commonInstrumentParams" />\n+      <componentList count="3">\n+        <source order="1">\n+          <cvParam cvRef="MS" accession="MS:1000398" value="" name="nanoelectrospray" />\n+        </source>\n+        <analyzer order="2">\n+          <cvParam cvRef="MS" accession="MS:1000079" value="" name="fourier transform ion cyclotron resonance mass spectrometer" />\n+        </analyzer>\n+        <detector order="3">\n+          <cvParam cvRef="MS" accession="MS:1000624" value="" name="inductive detector" />\n+        </detector>\n+      </componentList>\n+    </instrumentConfiguration>\n+  </instrumentConfigurationList>\n+  <dataProcessingList count="1">\n+    <dataProcessing id="ThermoRawFileParserProcessing">\n+      <processingMethod order="0" softwareRef="ThermoRawFileParser">\n+        <cvParam cvRef="MS" accession="MS:1000544" value="" name="Conversion to mzML" />\n+      </processingMethod>\n+    </dataProcessing>\n+  </dataProcessingList>\n+  <run id="really_small" defaultInstrumentConfigurationRef="IC1" startTimeStamp="2019-03-25T11:30:48.075Z" defaultSourceFileRef="RAW1">\n+    <spectrumList count="101" defaultDataProcessingRef="ThermoRawFileParserProcessing">\n+      <spectrum id="controllerType=0 controllerNumber=1 scan=1" index="0" defaultArrayLength="136">\n+        <cvParam cvRef="MS" accession="MS:1000511" value="1" name="ms level" />\n+        <cvParam cvRef="MS" accession="MS:1000579" value="" name="MS1 spectrum" />\n+        <cvParam cvRef="MS" accession="MS:1000130" value="" name="positive scan" />\n+        <cvParam cvRef="MS" accession="MS:1000285" value="464386.25" name="total ion current" />\n+        <cvParam cvRef="MS" accession="MS:1000127" value="" name="centroid spectrum" />\n+        <cvParam cvRef="MS" accession="MS:1000504" value="536.163879394531" name="base peak m/z" unitAccession="MS:1000040" unitNam'..b'AAADgD2CMQAAAAKCZ9rBAAAAAYBEnqkAAAADAHTmhQAAAAMDV1pdAAAAAYHgaoUAAAACgXwCSQAAAAMDVfYdAAAAAILclhkAAAADg8Xi5QAAAAGDTiadAAAAAoBADs0AAAADgHUKVQAAAAKCujIdAAAAAALD7iEAAAAAgELanQAAAAIAiOpJAAAAAoNKth0AAAACgHauNQAAAAAD6BpRAAAAAoGwDjEAAAADgekGKQAAAAOBm741AAAAA4Jt8ikAAAABghI+nQAAAACBtiJBAAAAAoHOVm0AAAADgLh+KQAAAAMACpIZAAAAAYM5Xg0AAAACA4GSDQAAAAOB004dAAAAAQEu+l0AAAADgQhqXQAAAAEAldIdAAAAAoNyriUAAAACgKz6FQAAAAMDA8YZAAAAAgGeYg0AAAABgYwGGQAAAAICG0oZAAAAAQOBvhUAAAABA2uiKQAAAAGDmaoRAAAAAgADgjkAAAABgO8SRQAAAAKDUsoZAAAAAgOMkiUAAAADg4A+SQAAAAKCLA4tAAAAAgKCrg0AAAACgYpGIQAAAAIAEcYdAAAAAgN+0iEAAAAAAuAuEQAAAAOBF9oNA</binary>\n+          </binaryDataArray>\n+        </binaryDataArrayList>\n+      </spectrum>\n+    </spectrumList>\n+    <chromatogramList count="1" defaultDataProcessingRef="ThermoRawFileParserProcessing">\n+      <chromatogram id="BasePeak_0" index="0" defaultArrayLength="101">\n+        <cvParam cvRef="MS" accession="MS:1000628" value="" name="basepeak chromatogram" />\n+        <binaryDataArrayList count="2">\n+          <binaryDataArray encodedLength="1080">\n+            <cvParam cvRef="MS" accession="MS:1000595" value="" name="time array" unitAccession="UO:0000031" unitName="minute" unitCvRef="UO" />\n+            <cvParam cvRef="MS" accession="MS:1000523" value="" name="64-bit float" />\n+            <binary>kMcAT+l77D/eZZtlnc7sP0uz9L48H+0/JaZFaANw7T8B5zY0s8LtP91g15pbE+4/GY8sBQxk7j+hCVZTGrbuP1GdhNN5B+8/tEKxjoxZ7z/2g05L2KvvPweMszqZ/u8/o7qxh5Mn8D9eZtTR9k/wPxHJhQnzePA/KswcyaKh8D+Fdp+A/8nwP15qAEYC8/A/2cuOSKkb8T/z062Up0TxP3o6fVu1bfE/1PRxWwKX8T+77V1mB8DxP7YiVOJf6PE/ed+fLmsR8j8TCO3sGjryP0MKeRpxYvI/WrLFWceK8j+LCDw9YbPyPycWPnh13PI/W6e7/YAF8z/dpjJjzi7zP1AEBy4vV/M/X1ZPRIV/8z+86kfgl6jzP624WqZksvM/xI0yWR3R8z/hvKmb2drzP5lGglNa/vM/J/jaeb4o9D+np/4sWFH0P0pWFQVzevQ/wGztiH6j9D/eb0N2I8z0P/UjTLB79PQ/PZLXL4cd9T8ks5Fg8UX1P2Aaz3G+T/U/L5hnQQJi9T93FGOtn3D1PznkA10lm/U//nIhJILD9T8h8zg3Kez1P8mJd8A2FfY/WeOWlTk+9j93LzpI6Wb2P3Vi/UZIj/Y/o58S1Ei49j+8u0qL+OD2P+JE+sMKCvc/DiIfHyoz9z/vVamq4zz3P0dN3nZZXPc/A2FCIdCH9z8gxXmw8bD3P4AJqRIW0vc/J7vLF1D19z9EwiFaPvn3P4YAnHKXC/g/Tn9IU8kT+D/ujWJ9pBz4P1QIGmfcJPg/kpgXlREt+D8JjUnNRDX4P1MxgPt1Pfg/BMkznKlF+D+Svg+W2E34P6CNDI8LVvg//WO1SLpk+D8xeqjSdG74PzJvMLXagPg/Y5zDnRmJ+D/BpJHA9JH4P/9PGCskmvg/I6x8wlui+D+7KUI/j6r4P6IAqGHAsvg/BSwZCXHB+D8HAgqRK8v4P0SttP5y3fg/9Wt7FqLl+D8dpCBqLe74P83kUtRX9vg/jloY24j++D9EhM+5zQb5P1q2OOD+Dvk/89kl2i0X+T/dGq5VSR/5PwLyRp/5Lfk/4p2fxiBb+T8ug3OHQoT5Pw==</binary>\n+          </binaryDataArray>\n+          <binaryDataArray encodedLength="1080">\n+            <cvParam cvRef="MS" accession="MS:1000515" value="" name="intensity array" unitAccession="MS:1000131" unitName="number of counts" unitCvRef="MS" />\n+            <cvParam cvRef="MS" accession="MS:1000523" value="" name="64-bit float" />\n+            <binary>AAAAIIcx8UAAAAAgskflQAAAAOCzq+FAAAAAoCqh80AAAACgybe8QAAAAOBZCNpAAAAAoAhk60AAAAAAhXPaQAAAAAAKEtNAAAAAYKYR7kAAAABAjfTzQAAAAEBtEuBAAAAAYDdz2kAAAAAA3ZTNQAAAAIAriuVAAAAAQHVg5UAAAAAAsnTtQAAAAECf9ONAAAAAYIyJ00AAAABAtmXiQAAAAODVScxAAAAAYAXUwkAAAADgIEHSQAAAAADxsPBAAAAAoCCH80AAAADgy1DXQAAAACC8RMFAAAAAAGkQ4kAAAACgZUjJQAAAAKCG/sdAAAAAoHSIzkAAAABA9j/dQAAAAMCPt9xAAAAAgCYp9kAAAABgqvXlQAAAAOAUachAAAAAYG7210AAAAAglcvCQAAAAGBHveJAAAAA4MZo70AAAAAA5QnuQAAAAADtp+dAAAAAwMR1s0AAAAAAtnLXQAAAAOAKF+RAAAAAYE7l9EAAAADgHQXjQAAAACCrIsdAAAAAwHLyxEAAAACANJ73QAAAAIAxQfJAAAAA4DrR40AAAAAg7q37QAAAAMAZkPRAAAAAYC4G20AAAAAA87YCQQAAACDqGP5AAAAAIAM780AAAAAAiYD0QAAAAGAANAxBAAAAoErDMEEAAABgwlDHQAAAAAAfJElBAAAAAMoVVUEAAABAFhhxQQAAAODoGnBBAAAAYNFKcUEAAACApAQvQQAAACANNghBAAAAAFMSEEEAAACgyA75QAAAACCLufNAAAAAIMc7+EAAAABAkV/nQAAAAOBb9eNAAAAAwClV9kAAAAAgVp3eQAAAAGCgxNlAAAAAIBfiYUEAAACA4KvsQAAAAGC8DOhAAAAAILJO0UAAAABA7OHbQAAAAGADVtRAAAAAIIyK0kAAAADAkE7ZQAAAAAA5usVAAAAAAP+1S0EAAADgdBXNQAAAAODWvNBAAAAAgLxuykAAAACgk87SQAAAAODq8M9AAAAAgIXn0EAAAADAg/zLQAAAAABzi89AAAAAoDeO0kAAAAAAJkC+QAAAAGC/FPRAAAAAoHLxA0EAAACA/qf0QA==</binary>\n+          </binaryDataArray>\n+        </binaryDataArrayList>\n+      </chromatogram>\n+    </chromatogramList>\n+  </run>\n+</mzML>\n\\ No newline at end of file\n'
b
diff -r 26c6706bfb07 -r 92ac8e086317 thermo_converter.xml
--- a/thermo_converter.xml Sat Jul 25 16:26:42 2020 -0400
+++ b/thermo_converter.xml Wed Feb 17 09:50:26 2021 +0000
[
b'@@ -1,145 +1,202 @@\n-<tool id="thermo_raw_file_converter" name="Thermo" version="1.2.3+galaxy0">\n+<tool id="thermo_raw_file_converter" name="Thermo" version="@TOOL_VERSION@+galaxy0" profile="20.05">\n     <description>RAW file converter</description>\n+    <macros>\n+        <token name="@TOOL_VERSION@">1.3.2</token>\n+    </macros>\n     <requirements>\n-        <requirement type="package" version="1.2.3">thermorawfileparser</requirement>\n+        <requirement type="package" version="@TOOL_VERSION@">thermorawfileparser</requirement>\n     </requirements>\n+    <stdio>\n+        <regex match="ERROR" source="both" level="fatal" description="Fatal error"/>\n+    </stdio>\n+    <version_command><![CDATA[ThermoRawFileParser.sh --version]]></version_command>\n     <command>\n <![CDATA[\n #import re\n \n-mkdir ./raws_folder &&\n-mkdir ./output_folder &&\n-#for $input_raw in $input_files:\n-    #set $input_name = re.sub(\'[^\\w\\-\\.]\', \'_\',$input_raw.element_identifier.split(\'/\')[-1].replace(".raw", "") + ".raw")\n-    ln -s -f \'${input_raw}\' \'./raws_folder/${input_name}\' &&\n-#end for\n+#set $input_name = re.sub(\'[^\\w\\-\\.]\', \'_\', $input_file.element_identifier.replace(".raw", "") + ".raw")\n+ln -s -f \'$input_file\' \'$input_name\' &&\n \n ThermoRawFileParser.sh\n-    -d=./raws_folder\n-    -o=./output_folder\n-    -f=$output_format\n+    --input=\'$input_name\'\n+    --output_file=\'$output\'\n+    -f=$format_cond.output_format\n     #if $output_metadata_selector != "off":\n-        --metadata="${output_metadata_selector}"\n+        --metadata="$output_metadata_selector"\n+        --metadata_output_file=\'$output_metadata\'\n+    #end if\n+    #if $format_cond.output_format == "0"\n+        $format_cond.mgfPrecursor\n     #end if\n-    $zlib_boolean\n-    $peakpicking_boolean\n+    #if $format_cond.output_format in [\'1\', \'2\']\n+        $format_cond.zlib_boolean\n+        $format_cond.peakpicking_boolean\n+    #end if\n     $ignore_instrument_errors_boolean\n-\n+    $allDetectors\n+    $includeExceptionData\n+    #if $msLevel != \'\'\n+        --msLevel="$msLevel"\n+    #end if\n ]]>\n     </command>\n     <inputs>\n-        <param name="input_files" type="data" format="thermo.raw" label="Thermo RAW file" help="" multiple="true"\n-          optional="False" />\n-\n-        <param name="output_format" type="select" label="Output format">\n-            <option value="0">mgf</option>\n-            <option value="1" selected="True">mzml</option>\n-            <option value="2">Indexed mzml</option>\n-        </param>\n-\n-        <param name="zlib_boolean" type="boolean" truevalue="" falsevalue="-z" checked="true"\n-            label="Use zlib compression for the m/z ratios and intensities" help="" />\n-\n-        <param name="peakpicking_boolean" type="boolean" truevalue="" falsevalue="-p" checked="true"\n-            label="Use the peak picking provided by the native thermo library" help="" />\n-\n-        <param name="ignore_instrument_errors_boolean" type="boolean" truevalue="-e" falsevalue="" checked="true"\n-            label="Ignore missing instrument properties" help="If false, it stops the conversion if instrument properties are missing" />\n-\n-        <param name="output_metadata_selector" type="select" label="Output metadata" >\n+        <param argument="--input" name="input_file" type="data" format="thermo.raw" label="Thermo RAW file" help="" optional="False"/>\n+        <conditional name="format_cond">\n+            <param argument="--format" name="output_format" type="select" label="Output format">\n+                <option value="0">mgf</option>\n+                <option value="1" selected="True">mzml</option>\n+                <option value="2">Indexed mzml</option>\n+                <!-- <option value="3">Parquet</option> -->\n+            </param>\n+            <when value="0">\n+                <param argument="--mgfPrecursor" type="boolean" truevalue="--mgfPrecursor" falsevalue="" label="Include precursor scan number in MGF file" help=""/>\n+            </when>\n+            <when value="1">\n+                <para'..b'eakpicking_boolean" value="false"/>\n+            </conditional>\n+            <param name="output_metadata_selector" value="0"/>\n+            <output name="output" file="really_small_ext.mzml" ftype="mzml"/>\n+            <output name="output_metadata" value="really_small.json" ftype="json"/>\n+            <assert_command>\n+                <not_has_text text="--mgfPrecursor"></not_has_text>\n+                <has_text text="-z "></has_text>\n+                <has_text text="-p "></has_text>\n+            </assert_command>\n         </test>\n \n-        <!-- mgf collection test with metadata -->\n+        <!-- indexed mzml, txt metadata (+ extra options) -->\n         <test expect_num_outputs="2">\n-            <param name="input_files" value="really_small.raw,really_small_2.raw,really_small_3.raw"/>\n-            <param name="output_format" value="0"/>\n-            <param name="output_metadata_selector" value="0"/>\n-            <output_collection name="output_mgf_collection" type="list" count="3"/>\n-            <output_collection name="output_metadata_collection" type="list" count="3"/>\n+            <param name="input_file" value="really_small.raw" ftype="thermo.raw"/>\n+            <conditional name="format_cond">\n+                <param name="output_format" value="2"/>\n+            </conditional>\n+            <param name="output_metadata_selector" value="1"/>\n+            <param name="ignore_instrument_errors_boolean" value="true"/>\n+            <param name="allDetectors" value="true"/>\n+            <param name="includeExceptionData" value="--includeExceptionData"/>\n+            <param name="msLevel" value="1"/>\n+            <output name="output" value="really_small.indexed_mzML" ftype="mzml"/>\n+            <output name="output_metadata" ftype="txt">\n+                <assert_contents>\n+                    <has_text text="Instrument model=[MS, MS:1000494, Thermo Scientific instrument model, Orbitrap Fusion]"/>\n+                    <has_text text="Instrument name=Orbitrap Fusion"/>\n+                    <has_text text="Instrument serial number=[MS, MS:1000529, instrument serial number, FSN10188]"/>\n+                    <has_text text="Software version=[NCIT, NCIT:C111093, Software Version, 3.1.2412.17]"/>\n+                    <has_text text="Mass resolution=[MS, MS:1000011, mass resolution, 0.500]"/>\n+                    <has_text text="Number of scans=101"/>\n+                    <has_text text="Scan range=1;101"/>\n+                    <has_text text="Scan start time=[MS, MS:1000016, scan start time, 0.89]"/>\n+                    <has_text text="Time range=0.89;1.59"/>\n+                    <has_text text="Mass range=120.0000;2000.0000"/>\n+                </assert_contents>\n+            </output>\n+            <assert_command>\n+                <not_has_text text="--mgfPrecursor"></not_has_text>\n+                <has_text text="-e "/>\n+                <has_text text="--allDetectors"/>\n+                <has_text text="--includeExceptionData"/>\n+                <has_text text="--msLevel=&quot;1&quot;"/>\n+            </assert_command>\n         </test>\n+<!--     parquet test, no metadata \n+        <test expect_num_outputs="1">\n+            <param name="input_file" value="really_small.raw" ftype="thermo.raw"/>\n+            <conditional name="format_cond">\n+                <param name="output_format" value="3"/>\n+            </conditional>\n+            <output name="output" ftype="parquet" value="really_small.parquet"/>\n+        </test> -->\n     </tests>\n     <help>\n <![CDATA[\n@@ -149,12 +206,6 @@\n ]]>\n     </help>\n     <citations>\n-        <citation type="bibtex">@misc{Galaxy Proteomics Tools,\n-        author = {Niels Hulstaert, et al.},\n-        title = {Galaxy Proteomics Tools},\n-        publisher = {GitHub},\n-        journal = {GitHub repository},\n-        year = {2017}, url = {https://github.com/compomics/ThermoRawFileParser}}\n-        </citation>\n+        <citation type="doi">10.1021/acs.jproteome.9b00328</citation>\n     </citations>\n </tool>\n'