diff matchms_networking.xml @ 11:3289420aaaca draft

planemo upload for repository https://github.com/RECETOX/galaxytools/tree/master/tools/matchms commit 12f8b6dfa35742cdaf9904b813157a01f88ad30a
author recetox
date Wed, 22 Nov 2023 14:44:02 +0000
parents bd6a398a05e9
children
line wrap: on
line diff
--- a/matchms_networking.xml	Wed Nov 22 14:43:10 2023 +0000
+++ b/matchms_networking.xml	Wed Nov 22 14:44:02 2023 +0000
@@ -78,12 +78,12 @@
     </inputs>
 
     <outputs>
-        <data label="Similarity network of ${scores.name}" name="similarity_network_file" format="graphml">
+        <data label="Similarity network of ${scores.name}" name="similarity_network_file" format="xml">
             <change_format>
-                <when input="graph_format" value="graphml" format="graphml"/>
-                <when input="graph_format" value="cyjs" format="cyjs"/>
-                <when input="graph_format" value="gexf" format="gexf"/>
-                <when input="graph_format" value="gml" format="gml"/>
+                <when input="graph_format" value="graphml" format="xml"/>
+                <when input="graph_format" value="cyjs" format="json"/>
+                <when input="graph_format" value="gexf" format="xml"/>
+                <when input="graph_format" value="gml" format="xml"/>
                 <when input="graph_format" value="json" format="json"/>
             </change_format>
         </data>
@@ -94,7 +94,7 @@
             <param name="scores" value="scores.json" ftype="json"/>
             <param name="graph_format" value="graphml"/>
             <param name="identifier_key" value="compound_name"/>
-            <output name="similarity_network_file" ftype="graphml">
+            <output name="similarity_network_file" ftype="xml">
                 <assert_contents>
                     <is_valid_xml />
                     <has_line_matching expression='.*node id="C[0-9]*"\/.' n="51"/>
@@ -107,7 +107,7 @@
             <param name="scores" value="scores.json" ftype="json"/>
             <param name="graph_format" value="cyjs"/>
             <param name="identifier_key" value="compound_name"/>
-            <output name="similarity_network_file" ftype="cyjs">
+            <output name="similarity_network_file" ftype="json">
                 <assert_contents>
                     <has_text_matching expression='{"data": {"id": "C[0-9]*", "value": "C[0-9]*", "name": "C[0-9]*"}}' n="51"/>
                     <has_text_matching expression='{"data": {"weight": 0\.[0-9]*, "source": "C[0-9]*", "target": "C[0-9]*"}}' n="4"/>
@@ -118,7 +118,7 @@
             <param name="scores" value="scores.json" ftype="json"/>
             <param name="graph_format" value="gexf"/>
             <param name="identifier_key" value="compound_name"/>
-            <output name="similarity_network_file" ftype="gexf">
+            <output name="similarity_network_file" ftype="xml">
             <assert_contents>
                 <is_valid_xml />
                 <has_line_matching expression='.*node id="C[0-9]*" label="C[0-9]*" \/.' n="51"/>
@@ -130,7 +130,7 @@
             <param name="scores" value="scores.json" ftype="json"/>
             <param name="graph_format" value="gml"/>
             <param name="identifier_key" value="compound_name"/>
-            <output name="similarity_network_file" ftype="gml">
+            <output name="similarity_network_file" ftype="xml">
                 <assert_contents>
                     <has_line_matching expression='\s*node \[\n\s*id [0-9]*\n\s*label "C[0-9]*"\n\s*\]' n="51"/>
                     <has_line_matching expression='\s*edge \[\n\s*source [0-9]*\n\s*target [0-9]*\n\s*weight 0\.[0-9]*\n\s*\]' n="4"/>
@@ -153,7 +153,7 @@
             <param name="graph_format" value="graphml"/>
             <param name="identifier_key" value="compound_name"/>
             <param name="keep_unconnected_nodes" value="false"/>
-            <output name="similarity_network_file" ftype="graphml">
+            <output name="similarity_network_file" ftype="xml">
                 <assert_contents>
                     <is_valid_xml />
                     <has_line_matching expression='.*node id="C[0-9]*"\/.' n="8"/>
@@ -168,7 +168,7 @@
             <param name="identifier_key" value="compound_name"/>
             <param name="score_cutoff" value="0.4"/>
             <param name="keep_unconnected_nodes" value="false"/>
-            <output name="similarity_network_file" ftype="graphml">
+            <output name="similarity_network_file" ftype="xml">
                 <assert_contents>
                     <is_valid_xml />
                     <has_line_matching expression='.*node id="C[0-9]*"\/.' n="20"/>
@@ -184,7 +184,7 @@
             <param name="score_cutoff" value="0.8"/>
             <param name="link_method" value="mutual"/>
             <param name="keep_unconnected_nodes" value="false"/>
-            <output name="similarity_network_file" ftype="cyjs">
+            <output name="similarity_network_file" ftype="json">
                 <assert_contents>
                     <has_text_matching expression='{"data": {"id": "C[0-9]*", "value": "C[0-9]*", "name": "C[0-9]*"}}' n="6"/>
                     <has_text_matching expression='{"data": {"weight": 0\.[0-9]*, "source": "C[0-9]*", "target": "C[0-9]*"}}' n="3"/>
@@ -197,7 +197,7 @@
             <param name="identifier_key" value="compound_name"/>
             <param name="score_cutoff" value="0.4"/>
             <param name="keep_unconnected_nodes" value="false"/>
-            <output name="similarity_network_file" ftype="graphml">
+            <output name="similarity_network_file" ftype="xml">
                 <assert_contents>
                     <is_valid_xml />
                 </assert_contents>