Mercurial > repos > iuc > pcdl_make_graph_gml
comparison pcdl_make_graph_gml.xml @ 0:6d0f91e057f3 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pcdl/ commit 7c74921b41bd7ab639e5a3f8b54e407f79ed8f16
| author | iuc |
|---|---|
| date | Mon, 04 Aug 2025 19:01:20 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:6d0f91e057f3 |
|---|---|
| 1 <tool id="pcdl_make_graph_gml" name="pcdl_make_graph_gml" version="3.0.1+galaxy0" profile="21.05"> | |
| 2 <macros> | |
| 3 <import>pcdl_macros.xml</import> | |
| 4 </macros> | |
| 5 <requirements> | |
| 6 <expand macro="requirement"/> | |
| 7 </requirements> | |
| 8 <command><![CDATA[ | |
| 9 #import re | |
| 10 mkdir output_pc && | |
| 11 #for $file in $path: | |
| 12 #set $filename = re.sub('[^\w\-\.\s]', '_', str($file.element_identifier)) | |
| 13 ln -s '$file' output_pc/$filename && | |
| 14 #end for | |
| 15 | |
| 16 pcdl_make_graph_gml 'output_pc' $graph_type | |
| 17 --custom_data_type $custom_data_type | |
| 18 --microenv $microenv | |
| 19 --physiboss $physiboss | |
| 20 --settingxml 'none' | |
| 21 --verbose $verbose | |
| 22 --edge_attribute $edge_attribute | |
| 23 --node_attribute $node_attribute | |
| 24 ]]></command> | |
| 25 <inputs> | |
| 26 <section name="essential" title="essential:" expanded="true"> | |
| 27 <expand macro="path"/> | |
| 28 <expand macro="graph_type"/> | |
| 29 <expand macro="custom_data_type"/> | |
| 30 <expand macro="edge_attribute"/> | |
| 31 <expand macro="node_attribute"/> | |
| 32 </section> | |
| 33 <section name="advanced" title="advanced:" expanded="false"> | |
| 34 <expand macro="microenv"/> | |
| 35 <expand macro="physiboss"/> | |
| 36 <expand macro="verbose"/> | |
| 37 </section> | |
| 38 </inputs> | |
| 39 <outputs> | |
| 40 <collection name="graph_gml" type="list"> | |
| 41 <discover_datasets pattern="(?P<designation>.+\.gml)" format="txt" directory="output_pc" visible="false"/> | |
| 42 </collection> | |
| 43 </outputs> | |
| 44 <tests> | |
| 45 <test expect_num_outputs="1"> | |
| 46 <section name="essential"> | |
| 47 <param name="path"> | |
| 48 <expand macro="output"/> | |
| 49 </param> | |
| 50 <param name="graph_type" value="attached"/> | |
| 51 </section> | |
| 52 <section name="advanced"> | |
| 53 <param name="verbose" value="false"/> | |
| 54 </section> | |
| 55 <output_collection name="graph_gml" count="2"> | |
| 56 <element name="output00000000_attached.gml"> | |
| 57 <assert_contents> | |
| 58 <has_text text="graph ["/> | |
| 59 <has_text text="node ["/> | |
| 60 <has_text text="]"/> | |
| 61 </assert_contents> | |
| 62 </element> | |
| 63 <element name="output00000001_attached.gml"> | |
| 64 <assert_contents> | |
| 65 <has_text text="graph ["/> | |
| 66 <has_text text="node ["/> | |
| 67 <has_text text="]"/> | |
| 68 </assert_contents> | |
| 69 </element> | |
| 70 </output_collection> | |
| 71 </test> | |
| 72 <test expect_num_outputs="1"> | |
| 73 <section name="essential"> | |
| 74 <param name="path"> | |
| 75 <expand macro="output"/> | |
| 76 </param> | |
| 77 <param name="graph_type" value="neighbor"/> | |
| 78 </section> | |
| 79 <section name="advanced"> | |
| 80 <param name="verbose" value="false"/> | |
| 81 </section> | |
| 82 <output_collection name="graph_gml" count="2"> | |
| 83 <element name="output00000000_neighbor.gml"> | |
| 84 <assert_contents> | |
| 85 <has_text text="graph ["/> | |
| 86 <has_text text="node ["/> | |
| 87 <has_text text="]"/> | |
| 88 </assert_contents> | |
| 89 </element> | |
| 90 <element name="output00000001_neighbor.gml"> | |
| 91 <assert_contents> | |
| 92 <has_text text="graph ["/> | |
| 93 <has_text text="node ["/> | |
| 94 <has_text text="]"/> | |
| 95 </assert_contents> | |
| 96 </element> | |
| 97 </output_collection> | |
| 98 </test> | |
| 99 <test expect_num_outputs="1"> | |
| 100 <section name="essential"> | |
| 101 <param name="path"> | |
| 102 <expand macro="output"/> | |
| 103 </param> | |
| 104 <param name="graph_type" value="spring"/> | |
| 105 </section> | |
| 106 <section name="advanced"> | |
| 107 <param name="verbose" value="false"/> | |
| 108 </section> | |
| 109 <output_collection name="graph_gml" count="2"> | |
| 110 <element name="output00000000_spring.gml"> | |
| 111 <assert_contents> | |
| 112 <has_text text="graph ["/> | |
| 113 <has_text text="node ["/> | |
| 114 <has_text text="]"/> | |
| 115 </assert_contents> | |
| 116 </element> | |
| 117 <element name="output00000001_spring.gml"> | |
| 118 <assert_contents> | |
| 119 <has_text text="graph ["/> | |
| 120 <has_text text="node ["/> | |
| 121 <has_text text="]"/> | |
| 122 </assert_contents> | |
| 123 </element> | |
| 124 </output_collection> | |
| 125 </test> | |
| 126 </tests> | |
| 127 <help><![CDATA[ | |
| 128 Function to generate graph files in the gml graph modelling language standard format. Gml was the outcome of an initiative that started at the international symposium on graph drawing 1995 in Passau and ended at Graph Drawing 1996 in Berkeley. The networkx python library (https://networkx.org/) and igraph C and python libraries (https://igraph.org/) for graph analysis are gml compatible and can as such read and write this file format. | |
| 129 | |
| 130 Homepage: https://github.com/elmbeech/physicelldataloader | |
| 131 ]]></help> | |
| 132 <citations> | |
| 133 <expand macro="citation"/> | |
| 134 </citations> | |
| 135 </tool> |
