|
2
|
1 <tool id="graph_converter" name="Graph Converter" version="0.1.0">
|
|
|
2 <description>Convert between different Graphformats</description>
|
|
|
3 <version_command>echo "0.1.0"</version_command>
|
|
|
4 <requirements>
|
|
|
5 <requirement type="set_environment">GRAPHCONVERTER_SCRIPT_PATH</requirement>
|
|
|
6 </requirements>
|
|
|
7 <command>
|
|
|
8 python \$GRAPHCONVERTER_SCRIPT_PATH/convert_graph.py --infile $inputfile --informat $informat --outfile $outfile --outformat $outformat
|
|
|
9 </command>
|
|
|
10
|
|
|
11 <inputs>
|
|
|
12 <param format="txt" name="inputfile" type="data" label="Graph to convert" />
|
|
|
13 <param name="informat" multiple="false" type="select" label="Input Format">
|
|
|
14 <option value="gml">GML</option>
|
|
|
15 <option value="gexf">GEXF</option>
|
|
|
16 <option value="gspan">GSPAN</option>
|
|
|
17 <option value="graphml">GRAPHML</option>
|
|
|
18 <option value="json">JSON</option>
|
|
|
19 <option value="pajek">PAJEK</option>
|
|
|
20 <option value="xgmml">XGMML</option>
|
|
|
21 <option value="yaml">YAML</option>
|
|
|
22 </param>
|
|
|
23 <param name="outformat" multiple="false" type="select" label="Output Format">
|
|
|
24 <option value="gml">GML</option>
|
|
|
25 <option value="gexf">GEXF</option>
|
|
|
26 <option value="gspan">GSPAN</option>
|
|
|
27 <option value="graphml">GRAPHML</option>
|
|
|
28 <option value="json">JSON</option>
|
|
|
29 <option value="pajek">PAJEK</option>
|
|
|
30 <option value="xgmml">XGMML</option>
|
|
|
31 <option value="yaml">YAML</option>
|
|
|
32 </param>
|
|
|
33 </inputs>
|
|
|
34 <outputs>
|
|
|
35 <data format="txt " name="outfile" />
|
|
|
36 </outputs>
|
|
|
37 <tests>
|
|
|
38 </tests>
|
|
|
39 <help>
|
|
|
40 **What it does**
|
|
|
41
|
|
|
42 This tool converts a file representing a graph into another format.
|
|
|
43 </help>
|
|
|
44 </tool>
|