forked from galaxyproject/tools-iuc
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.xml
More file actions
48 lines (47 loc) · 1.74 KB
/
build.xml
File metadata and controls
48 lines (47 loc) · 1.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<tool id="odgi_build" name="odgi build" version="@TOOL_VERSION@">
<description>construct a dynamic succinct variation graph</description>
<macros>
<import>macros.xml</import>
</macros>
<expand macro="requirements"/>
<command detect_errors="exit_code"><![CDATA[
odgi build
-g '$gfa'
-o '$odgi_output'
$sort
#if $to_gfa:
--to-gfa > '$gfa_output'
#end if
]]></command>
<inputs>
<param argument="--gfa" type="data" format="gfa1" label="Construct the graph from this GFA input file" />
<param argument="--sort" type="boolean" truevalue="--sort" falsevalue="" checked="false"
label="Topological sort the graph"
help="Apply generalized topological sort to the graph and set node ids to order." />
<param argument="--to-gfa" type="boolean" truevalue="--to-gfa" falsevalue="" checked="false"
label="Output additional GFA file"
help="" />
</inputs>
<outputs>
<data name="odgi_output" format="odgi" label="${tool.name} on ${on_string}: odgi" />
<data name="gfa_output" format="gfa1" label="${tool.name} on ${on_string}: GFA">
<filter>to_gfa</filter>
</data>
</outputs>
<tests>
<test>
<param name="gfa" value="t.gfa" />
<param name="sort" value="true" />
<param name="to_gfa" value="true" />
<output name="odgi_output" file="note5_out.og" />
<output name="gfa_output" file="note5.gfa" />
</test>
</tests>
<help><![CDATA[
optimized dynamic genome/graph implementation (odgi)
----------------------------------------------------
Construct a dynamic succinct variation graph (build)
]]></help>
<expand macro="citations">
</expand>
</tool>