Repository 'matchms'
hg clone https://toolshed.g2.bx.psu.edu/repos/recetox/matchms

Changeset 5:28f7f2e60331 (2022-10-18)
Previous changeset 4:ba5e9bd05d5b (2022-10-18) Next changeset 6:ff2455f76a26 (2023-04-27)
Commit message:
planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit f7bab98744e338dcdbdc9cf6f9de287632c76ea2
modified:
macros.xml
matchms_similarity.xml
added:
test-data/scores.json
b
diff -r ba5e9bd05d5b -r 28f7f2e60331 macros.xml
--- a/macros.xml Tue Oct 18 11:00:55 2022 +0000
+++ b/macros.xml Tue Oct 18 13:21:54 2022 +0000
[
@@ -3,6 +3,7 @@
 
     <xml name="creator">
         <creator>
+            <yield/>
             <person
                 givenName="Helge"
                 familyName="Hecht"
@@ -44,7 +45,23 @@
                 The output is a JSON file containing serialized matchMS Scores object. The file can be processed by **matchMS output formatter**. 
         ]]>
     </token>
+    
+    <token name="@HELP_matchms_networking@">
+        <![CDATA[
+        Documentation
+        For documentation on the tool see https://github.com/matchms/matchms/blob/master/README.rst
+        and https://matchms.readthedocs.io/en/latest/.
+        
+        **Upstream Tools**
 
+        matchMS similarity
+        
+        **Downstream Tools**
+        
+        The output is a network-graph file that can be visualized using graph visualization software (e.g., Cytoscape).
+        ]]>
+    </token>
+    
     <token name="@HELP_formatter@">
         <![CDATA[
             Usage
@@ -66,4 +83,12 @@
                 +----------+-----------+---------+--------+
         ]]>
     </token>
+    
+        <xml name="citations">
+            <citations>
+                <citation type="doi">10.5281/zenodo.7178586</citation>
+                <citation type="doi">10.21105/joss.02411</citation>
+            </citations>
+        </xml>
+
 </macros>
b
diff -r ba5e9bd05d5b -r 28f7f2e60331 matchms_similarity.xml
--- a/matchms_similarity.xml Tue Oct 18 11:00:55 2022 +0000
+++ b/matchms_similarity.xml Tue Oct 18 13:21:54 2022 +0000
b
@@ -136,8 +136,5 @@
         ]]>
     </help>
 
-    <citations>
-        <citation type="doi">10.5281/zenodo.7178586</citation>
-        <citation type="doi">10.21105/joss.02411</citation>
-    </citations>
+    <expand macro="citations"/>
 </tool>
b
diff -r ba5e9bd05d5b -r 28f7f2e60331 test-data/scores.json
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/scores.json Tue Oct 18 13:21:54 2022 +0000
[
b'@@ -0,0 +1,1 @@\n+{"__Scores__": true, "similarity_function": {"__Similarity__": "CosineGreedy", "tolerance": 0.1, "mz_power": 0.0, "intensity_power": 1.0}, "is_symmetric": true, "references": [{"ionmode": "negative", "spectrumtype": "Centroid", "num_peaks": "32", "compound_name": "C041", "retention_time": 122.44, "retention_index": 1079.198718, "peaks_json": [[73.0841293753643, 962537.0], [92.9922681974622, 25809589.0], [93.5236243719193, 7832508.0], [93.9918503397022, 4037554.0], [94.9892593290089, 9273560.0], [102.528897846033, 5258508.0], [103.032878700634, 5618676.0], [106.048287181011, 17919228.0], [116.082937025519, 19358163.0], [116.088997408008, 2749072817.0], [116.093789141941, 21174548.0], [117.085953932526, 5958559.0], [117.088526521735, 137197201.0], [117.09226575013, 144026411.0], [117.095343138483, 3078493.0], [118.085738968471, 93658275.0], [118.091857064635, 7792967.0], [118.095506285782, 3082221.0], [120.088840757968, 158124.0], [129.052817882804, 2757896.0], [144.047597981883, 6935455.0], [154.03180616847, 40749504.0], [155.035134922158, 4354801.0], [156.011148185837, 2560241.0], [172.042203916163, 16922092.0], [178.047197818956, 372134.0], [190.107642341182, 143044792.0], [191.109992585577, 20336483.0], [192.104283767627, 9359612.0], [204.050979060253, 4818700.0], [205.059630310281, 24572956.0], [244.042971889438, 1521120.0]]}, {"ionmode": "negative", "spectrumtype": "Centroid", "num_peaks": "19", "compound_name": "C078", "retention_time": 123.01, "retention_index": 1084.222756, "peaks_json": [[75.010394066048, 41579966.0], [76.0137882041242, 2876047.0], [76.0181929768627, 28340717.0], [77.0259504577085, 2087987.0], [78.0338979909698, 183026502.0], [78.5690293876576, 1621521.0], [78.8681599478139, 1487893.0], [79.0376938452989, 30093264.0], [79.0416552579741, 2825081311.0], [79.0447459388332, 28320503.0], [79.0501993561375, 4270687.0], [79.2157179170819, 1455165.0], [79.5185598181509, 1593839.0], [80.0386557190469, 10075569.0], [80.0450063493877, 149614748.0], [81.0483295726077, 3268158.0], [89.9974943554148, 1961794.0], [95.0365701495921, 4214292.0], [96.0443688524812, 20830699.0]]}, {"ionmode": "negative", "spectrumtype": "Centroid", "num_peaks": "12", "compound_name": "C115", "retention_time": 123.7, "retention_index": 1090.304487, "peaks_json": [[77.9912808985361, 1430046.0], [78.0150262817737, 37531039.0], [84.0934034839136, 3045143.0], [85.1012069274801, 7651144.0], [86.1044999837715, 502049.0], [127.023946499139, 21672536.0], [155.015395274682, 50181759.0], [173.025818014551, 19321056.0], [225.059247121035, 54449419.0], [240.031884101672, 47027617.0], [278.105692656594, 44448528.0], [332.077037506685, 36734393.0]]}, {"ionmode": "negative", "spectrumtype": "Centroid", "num_peaks": "20", "compound_name": "C072", "retention_time": 126.02, "retention_index": 1105.809524, "peaks_json": [[75.026123979198, 434239353.0], [76.0294479264598, 10769681.0], [79.0184721827801, 4406598.0], [79.0228409649542, 3040911.0], [86.0420715774215, 69402087.0], [93.9412902191997, 4117357.0], [95.0446916434486, 4401744.0], [95.9392474302401, 3764925.0], [120.033807681496, 1445863.0], [122.943972830176, 4871174.0], [131.088643222278, 12343251.0], [134.108939486662, 1310131.0], [137.026000929413, 1710939.0], [168.950062688366, 1235026.0], [176.091958662459, 68901069.0], [177.09146256329, 9695519.0], [184.040024671153, 13159137.0], [206.084125728074, 4028572.0], [249.138642058545, 13543889.0], [251.137167813194, 1490829.0]]}, {"ionmode": "negative", "spectrumtype": "Centroid", "num_peaks": "26", "compound_name": "C050", "retention_time": 128.53, "retention_index": 1117.761905, "peaks_json": [[72.0264235348245, 4721310.0], [75.0234110401587, 7374271.0], [75.0288404069534, 9420937.0], [86.9717728755449, 9553539.0], [88.9509947069327, 6380434.0], [97.088645546243, 920854.0], [100.00330732202, 18214503.0], [102.073359041231, 484549126.0], [103.002973695426, 21838182.0], [105.0182950443, 11385761.0], [108.947110640446, 3717342.0], [1'..b' [0.020922814133647005, 2], [0.0, 0], [0.009439825946952753, 2], [0.02997880004616917, 1], [0.0, 0], [0.07620953713587592, 3], [0.051312388035481916, 1], [0.05473744573306155, 2], [0.10566526788986459, 1], [0.012077049920079725, 1], [0.002011546918083829, 1], [0.0, 0], [0.01644817444407394, 3], [0.0, 0], [0.03193877422954007, 3], [0.0, 0], [0.034476184479167796, 3], [0.01192804514810923, 2], [0.0, 0], [0.0, 0], [0.0, 0], [0.0016676566942065727, 1], [0.004688973606297307, 1], [0.0008393606283062712, 1], [0.008295825799065532, 1], [0.03490913159916837, 1], [0.22517165453649524, 4], [0.004505223629535381, 3], [0.1532083156483457, 9], [0.06429527812949994, 2], [1.0, 43], [0.07254436753789326, 7]], [[0.0016229534226449278, 4], [0.0, 0], [0.0, 0], [0.00038725529642613573, 1], [0.00048433123759422235, 1], [0.0012647859645890725, 1], [0.00016097718287082422, 1], [0.006463970991448339, 1], [0.0006893842188137602, 1], [0.00019977609946943018, 1], [0.000617547826806124, 1], [0.0038095292945079357, 1], [0.0008624770636198255, 2], [0.0049364427625699005, 2], [0.013318780164327996, 12], [0.0, 0], [3.245082410556392e-05, 1], [0.0, 0], [0.0024390310014786227, 2], [0.0, 0], [6.403407933779888e-05, 2], [0.000368642501629439, 1], [0.03023575047245557, 2], [0.00028984133147968977, 1], [0.0016437135259405058, 1], [0.04300170054280162, 3], [0.0, 0], [0.017342476997129104, 1], [0.0, 0], [0.00010234978442968044, 1], [7.02271876922834e-05, 1], [0.0, 0], [0.0006492492083172946, 2], [0.0061426436791408925, 1], [0.007430788836079014, 2], [0.01419650868508279, 5], [0.016556242691199118, 2], [2.3431685652622288e-05, 1], [0.009348002588588943, 6], [0.026046057306479076, 4], [0.0029500027771867175, 2], [0.0015627613147950604, 2], [0.00014078182965144835, 1], [0.000984300510681727, 1], [0.07186362805739469, 2], [0.0025636799147338075, 2], [0.008960685570234158, 2], [0.0, 0], [0.035731430943137195, 15], [0.010714994998594941, 4], [0.0, 0], [0.014076692405184471, 1], [0.04295450146672642, 5], [0.002132969526864034, 6], [0.00024116973397374236, 1], [0.0015524681115020654, 4], [0.0, 0], [0.0, 0], [0.0037387643274763476, 8], [0.00206058485366503, 1], [0.0004922499950020264, 1], [0.0005437346644413283, 1], [0.0006314048749140795, 9], [0.04735481800405453, 5], [0.001055756223850923, 4], [0.0037489297406878698, 2], [0.00042990583573550046, 1], [0.01236512470492661, 2], [0.01444477912211768, 3], [0.0, 0], [0.06838504119872668, 1], [0.0, 0], [0.010089333981885279, 9], [0.012804022300996493, 3], [0.012900511616977922, 4], [0.0, 0], [0.0, 0], [0.02595838830442802, 2], [0.0279117208530833, 1], [0.0, 0], [0.0, 0], [0.0005406453124842582, 1], [0.0, 0], [0.07479441638624541, 3], [0.00046301590542346043, 1], [0.024601469123262953, 3], [0.0022508246787423447, 1], [0.0022676177812982513, 1], [0.026064902916126797, 1], [0.030215266809111973, 3], [0.029594418609621184, 1], [0.0, 0], [0.004218924957711749, 6], [0.012590170517047729, 4], [0.00837359219704759, 1], [0.0, 0], [0.014635598826073506, 1], [0.0, 0], [0.007144638872980797, 1], [0.0, 0], [0.0019607166755994205, 1], [0.0006001540779327476, 1], [0.0032274743175395304, 3], [0.0013226095574016524, 3], [0.0, 0], [0.022426862041135587, 3], [0.0010072796726068975, 1], [0.007857464715769208, 1], [0.005610063934846062, 1], [0.013867301299581046, 3], [0.0, 0], [0.21330591813731098, 2], [0.0, 0], [0.0, 0], [0.0, 0], [0.05339746714013099, 2], [0.0008893014072414584, 2], [0.011487796181661972, 4], [0.015833155544939054, 4], [0.005458164259543997, 1], [0.0011324758004796723, 1], [0.022750634962849663, 1], [0.24164008955597766, 9], [0.002102028323076704, 1], [0.004064710216263817, 1], [0.026634365020902367, 1], [0.013934758727304694, 3], [0.02109741974517414, 1], [0.010198358957810854, 2], [0.016321980765532592, 5], [0.03199471483463757, 4], [0.02817745126604323, 1], [0.04802806479370085, 5], [0.024950659722411058, 9], [0.020388715370429064, 5], [0.04221292633606971, 4], [0.07254436753789326, 7], [1.0, 45]]]}\n\\ No newline at end of file\n'