comparison bandage_info.xml @ 0:067592b6b312 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
author iuc
date Tue, 18 Sep 2018 05:41:44 -0400
parents
children ebe4463404b4
comparison
equal deleted inserted replaced
-1:000000000000 0:067592b6b312
1 <tool id="bandage_info" name="Bandage Info" version="@TOOL_VERSION@+galaxy0">
2 <description>determine statistics of de novo assembly graphs</description>
3 <macros>
4 <import>macros.xml</import>
5 </macros>
6 <expand macro="requirements"/>
7 <expand macro="version_command"/>
8 <command detect_errors="exit_code">
9 <![CDATA[
10 Bandage
11 info
12 '$input_file'
13 $tsv
14 > out.txt
15 ]]></command>
16 <inputs>
17 <param name="input_file" type="data" format="tabular" label="Graphical Fragment Assembly" />
18 <param argument="--tsv" type="boolean" checked="false" truevalue="--tsv" falsevalue="" label="Output the information in a single tab-delimited line starting with the graph file"/>
19 </inputs>
20 <outputs>
21 <data name="outfile" format="txt" from_work_dir="out.txt" label="${tool.name} on ${on_string}: Assembly Graph Information"/>
22 </outputs>
23 <tests>
24 <test>
25 <param name="input_file" ftype="tabular" value="gfa.tabular"/>
26 <param name="select_mode" value="info"/>
27 <param name="tsv" value="True"/>
28 <output name="outfile" ftype="txt" file="out.txt" compare="contains"/>
29 </test>
30 <test>
31 <param name="input_file" ftype="tabular" value="gfa.tabular"/>
32 <param name="select_mode" value="info"/>
33 <output name="outfile" ftype="txt" file="out_standard.txt"/>
34 </test>
35 </tests>
36 <help><![CDATA[
37
38 @BANDAGE_OVERVIEW@
39
40 **Command Documentation**
41
42 ``Bandage info`` takes a graph file as input and outputs the following statistics about the graph:
43
44 - **Node count:** The number of nodes in the graph. Only positive nodes are counted (i.e. each complementary pair counts as one).
45 - **Edge count:** The number of edges in the graph. Only one edge in each complementary pair is counted.
46 - **Total length:** The total number of base pairs in the graph.
47 - **Dead ends:** The number of instances where an end of a node does not connect to any other nodes.
48 - **Percentage dead ends:** The proportion of possible dead ends. The maximum number of dead ends is twice the number of nodes (occurs when there are no edges), so this value is the number of dead ends divided by twice the node count.
49 - **Connected components:** The number of regions of the graph which are disconnected from each other.
50 - **Largest component:** The total number of base pairs in the largest connected component.
51 - **N50:** Nodes that are this length or greater will collectively add up to at least half of the total length.
52 - **Shortest node:** The length of the shortest node in the graph.
53 - **Lower quartile node:** The median node length for the shorter half of the nodes.
54 - **Median node:** The median node length for the graph.
55 - **Upper quartile node:** The median node length for the longer half of the nodes.
56 - **Longest node:** The length of the longest node in the graph.
57
58 Example output::
59
60 Node count: 561
61 Edge count: 734
62 Total length (bp): 4878380
63 Dead ends: 33
64 Percentage dead ends: 2.94118%
65 Connected components: 19
66 Largest component (bp): 4821329
67 N50 (bp): 90360
68 Shortest node (bp): 1
69 Lower quartile node (bp): 17
70 Median node (bp): 87
71 Upper quartile node (bp): 404
72 Longest node (bp): 205425
73
74 ]]></help>
75 <expand macro="citations"/>
76 </tool>
77