Repository 'bandage'
hg clone https://toolshed.g2.bx.psu.edu/repos/iuc/bandage

Changeset 0:067592b6b312 (2018-09-18)
Next changeset 1:ebe4463404b4 (2019-05-15)
Commit message:
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bandage commit d5e71a9c6eeb449a00c335a244e5348c9bd49c16
added:
bandage_image.xml
bandage_info.xml
macros.xml
static/images/bandage_graph.png
test-data/gfa.tabular
test-data/out.jpg
test-data/out.png
test-data/out.svg
test-data/out.txt
test-data/out_standard.txt
b
diff -r 000000000000 -r 067592b6b312 bandage_image.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/bandage_image.xml Tue Sep 18 05:41:44 2018 -0400
[
@@ -0,0 +1,70 @@
+<tool id="bandage_image" name="Bandage Image" version="@TOOL_VERSION@+galaxy0">
+    <description>visualize de novo assembly graphs</description>
+    <macros>
+        <import>macros.xml</import>
+    </macros>
+    <expand macro="requirements"/>
+    <expand macro="version_command"/>
+    <command detect_errors="exit_code">
+    <![CDATA[
+Bandage
+    image
+    '$input_file'
+    'out.$output_format'
+    #if $height:
+        --height '$height'
+    #end if
+    #if $width:
+        --width '$width'
+    #end if
+    ]]></command>
+    <inputs>
+        <param name="input_file" type="data" format="tabular" label="Graphical Fragment Assembly" />
+        <param argument="--height" type="integer" min="1" value="1000" optional="True" label="Image height" help="If only height or width is set, the other will be determined automatically. If both are set, the image will be exactly that size. Default: 1000."/>
+        <param argument="--width" type="integer" min="1" optional="True" label="Image width" help="If only height or width is set, the other will be determined automatically. If both are set, the image will be exactly that size. Default: not set."/>
+        <param name="output_format" type="select" label="Produce jpg, png or svg file?">
+            <option selected="True" value="jpg">.jpg</option>
+            <option value="png">.png</option>
+            <option value="svg">.svg</option>
+        </param>
+    </inputs>
+    <outputs>
+        <data name="outfile" format="jpg" from_work_dir="out.*" label="${tool.name} on ${on_string}: Assembly Graph Image">
+            <change_format>
+                <when input="output_format" value="png" format="png"/>
+                <when input="output_format" value="svg" format="svg"/>
+            </change_format>
+        </data>
+    </outputs>
+    <tests>
+        <test>
+            <param name="input_file" ftype="tabular" value="gfa.tabular"/>
+            <output name="outfile" ftype="jpg" file="out.jpg" compare="sim_size" delta="70000"/>
+        </test>
+        <test>
+            <param name="input_file" ftype="tabular" value="gfa.tabular"/>
+            <param name="height" value="100"/>
+            <param name="width" value="100"/>
+            <param name="output_format" value="png"/>
+            <output name="outfile" ftype="png" file="out.png" compare="sim_size" delta="120000"/>
+        </test>
+        <test>
+            <param name="input_file" ftype="tabular" value="gfa.tabular"/>
+            <param name="output_format" value="svg"/>
+            <output name="outfile" ftype="svg" file="out.svg" compare="sim_size" delta="120000"/>
+        </test>
+    </tests>
+    <help><![CDATA[
+@BANDAGE_OVERVIEW@
+
+**Command Documentation**
+
+``Bandage image`` will generate an image file of the graph visualisation.
+
+.. image:: $PATH_TO_IMAGES/bandage_graph.png
+   :alt: example bandage plot
+
+    ]]></help>
+    <expand macro="citations"/>
+</tool>
+
b
diff -r 000000000000 -r 067592b6b312 bandage_info.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/bandage_info.xml Tue Sep 18 05:41:44 2018 -0400
[
@@ -0,0 +1,77 @@
+<tool id="bandage_info" name="Bandage Info" version="@TOOL_VERSION@+galaxy0">
+    <description>determine statistics of de novo assembly graphs</description>
+    <macros>
+        <import>macros.xml</import>
+    </macros>
+    <expand macro="requirements"/>
+    <expand macro="version_command"/>
+    <command detect_errors="exit_code">
+    <![CDATA[
+Bandage
+    info
+    '$input_file'
+    $tsv
+    > out.txt
+    ]]></command>
+    <inputs>
+        <param name="input_file" type="data" format="tabular" label="Graphical Fragment Assembly" />
+        <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"/>
+    </inputs>
+    <outputs>
+        <data name="outfile" format="txt" from_work_dir="out.txt" label="${tool.name} on ${on_string}: Assembly Graph Information"/>
+    </outputs>
+    <tests>
+        <test>
+            <param name="input_file" ftype="tabular" value="gfa.tabular"/>
+            <param name="select_mode" value="info"/>
+            <param name="tsv" value="True"/>
+            <output name="outfile" ftype="txt" file="out.txt" compare="contains"/>
+        </test>
+        <test>
+            <param name="input_file" ftype="tabular" value="gfa.tabular"/>
+            <param name="select_mode" value="info"/>
+            <output name="outfile" ftype="txt" file="out_standard.txt"/>
+        </test>
+    </tests>
+    <help><![CDATA[
+
+@BANDAGE_OVERVIEW@
+
+**Command Documentation**
+
+``Bandage info`` takes a graph file as input and outputs the following statistics about the graph:
+
+- **Node count:** The number of nodes in the graph. Only positive nodes are counted (i.e. each complementary pair counts as one).
+- **Edge count:** The number of edges in the graph. Only one edge in each complementary pair is counted.
+- **Total length:** The total number of base pairs in the graph.
+- **Dead ends:** The number of instances where an end of a node does not connect to any other nodes.
+- **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.
+- **Connected components:** The number of regions of the graph which are disconnected from each other.
+- **Largest component:** The total number of base pairs in the largest connected component.
+- **N50:** Nodes that are this length or greater will collectively add up to at least half of the total length.
+- **Shortest node:** The length of the shortest node in the graph.
+- **Lower quartile node:** The median node length for the shorter half of the nodes.
+- **Median node:** The median node length for the graph.
+- **Upper quartile node:** The median node length for the longer half of the nodes.
+- **Longest node:** The length of the longest node in the graph.
+
+Example output::
+
+    Node count:               561
+    Edge count:               734
+    Total length (bp):        4878380
+    Dead ends:                33
+    Percentage dead ends:     2.94118%
+    Connected components:     19
+    Largest component (bp):   4821329
+    N50 (bp):            90360
+    Shortest node (bp):       1
+    Lower quartile node (bp): 17
+    Median node (bp):         87
+    Upper quartile node (bp): 404
+    Longest node (bp):        205425
+
+    ]]></help>
+    <expand macro="citations"/>
+</tool>
+
b
diff -r 000000000000 -r 067592b6b312 macros.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/macros.xml Tue Sep 18 05:41:44 2018 -0400
b
@@ -0,0 +1,27 @@
+<macros>
+    <token name="@TOOL_VERSION@">0.8.1</token>
+    <xml name="requirements">
+        <requirements>
+            <requirement type="package" version="@TOOL_VERSION@">bandage</requirement>
+        </requirements>
+    </xml>
+    <xml name="version_command">
+        <version_command>Bandage --version</version_command>
+    </xml>
+    <token name="@BANDAGE_OVERVIEW@">
+
+**Bandage Overview**
+
+Bandage is a GUI program that allows users to interact with the assembly graphs made by de novo assemblers such as Velvet, SPAdes, MEGAHIT and others.
+De novo assembly graphs contain not only assembled contigs but also the connections between those contigs, which were previously not easily accessible. Bandage visualises assembly graphs, with connections, using graph layout algorithms. Nodes in the drawn graph, which represent contigs, can be automatically labelled with their ID, length or depth. Users can interact with the graph by moving, labelling and colouring nodes. Sequence information can also be extracted directly from the graph viewer. By displaying connections between contigs, Bandage opens up new possibilities for analysing and improving de novo assemblies that are not possible by looking at contigs alone.
+
+Bandage works with Graphical Fragment Assembly (GFA) files. For more information about this file format, see here_
+
+.. _here: https://gfa-spec.github.io/GFA-spec/GFA2.html
+    </token>
+    <xml name="citations">
+        <citations>
+            <citation type="doi">10.1093/bioinformatics/btv383</citation>
+        </citations>
+    </xml>
+</macros>
b
diff -r 000000000000 -r 067592b6b312 static/images/bandage_graph.png
b
Binary file static/images/bandage_graph.png has changed
b
diff -r 000000000000 -r 067592b6b312 test-data/gfa.tabular
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/gfa.tabular Tue Sep 18 05:41:44 2018 -0400
b
b'@@ -0,0 +1,3540 @@\n+S\tutg000001l\tGAAATCATCAGGCGTTTTTCACGATATGGACGGGAAGATGCGGAAATAGGCAGGAGGACATAGAAATGCCTGAGGGGTCTGGGATGGTGCGGGCAACGGATGTTATGGTAAATAAGCTTCCGTTGGTAAACCTGTAAGTTTTCAGGAACGAGACTCGTTTAGAACATCTAAAAAGCACATGAATGCTGCTATAGAAGCGACTGTTTGATGGTTCATGGTTTTATATTAAGGTAGATGAAAACTCAATACAGCGCTATTTAGAGACGCTTAAATGGCATTCTTGTATTTTAACGATGCAGAGTAACAGGCTCTAGCTAGTTATAGTACATCGAAAAGTTCATATAGGGACAAAACAAAGGGACTGAAATACATAGCCATAAGCTCGCTTCAAAGTCCTAACCACCAGCTATATTGCATGGGTTTGGTTAAGACATACGTCATGTCTTTGGGGCATATTATGGTGAAAAACGCGTTCATCTACACCAATATTTATACATTTCTCTTCAATAATGACGCCGTTTCCAGCCAACTTTGCTATATGGGTGACAATTTTCGCTTTTAAACGGAGATGTCTCCATGATTGAGCAGATCTAAAAATCTGCATTTTGTGCTGTGCAGGCATTACCATTCTTTCTATGCACAAACGTGCCGCGTCTTGCATTCTGCTTTGTATGCGGAGGTGCTCAATGAGGCTTTAACTACTCCCCTCCGTTAACGCCGTTCGTGTTTTAAACCGCCTTCTCGATAAAGAGTTTCACAGGTGCTGAAGAAATTCGCCTTTACGATGATCAGGGCGGGTGATTGGTACATCAACAACAGGCTTCTTGTTCTGTTTTGAGAGCATGAAGATCAGCCGCGATGGTAATATGTTCGTGTATTTGTCTCAAATACATTGATGACTATTACAACCGTCGTGAGTATCAGTTTAGTCAGCAGAGGCATGCTGTCGCTGTGCTCGTCAGCATAGAAAAGCCTCTACGGCCGCTCGTTTGCTTTTATCGCTAGGTGAGCTTGTCCCAGAAAGTATCCGTATGATTCTTGCGCTAATGATGATTAGGGGATATTATGTTTCTGGGGTTATTTTGTTGTTTTGCTGGCTTTCTCTACTATTAGAGAGCTTGGGGTTTCTTGGAAACGTTGAATGGGGTCCTCTAGCATGATTTGTTTGAGCTTCATCTGGTCTATGAAGCAGTCAGGAAGAGTCTTAAGCACGATGTTGGGTCTTAAACTAGACTAAAAATATAATATGCGAGCTTTTAACTCATAGACGTGTAGTTTTCACTCTTTTTGCTGGTGTTCTAAGCAAAAACTTCTGCATTACGCCTGTTTGTGGTTGCCTGTTATAAGATAACAGTAAAATCCATGCGTTTCTAAGGAGAAAATGAACAAAAGCTATCACTAAATCGTATTTCCAATAGAGGTTTCGTCCTCTTTGAAAGGGGTAGTTCATGAAAATTAGTTCATGGAAATGTTTATGATTTAGGTTGGAGTTATTAGGCGCAAAGAAGAAATATAAAAGGATAATTGAAGTTCTAAATCATTATGGTGATTGAGAGGCGTTATGAGCACAGCTAAGGAAAGTTAAGGAAAAAGGCACTCCAATGAGTAGTGCCAATGAATATTCTGGTCGTGATAGTATGAATCAAGATTACATCTAGGCAATCCATGGATATTATTATAGGTTTCTGTGGGCTGTTGGTTCGGTATTAAGTCAATTGTAGATGTAACCGAAGAAGAACTGAAGATTTAGGATACGAAGTATATAGGATAAGAGTTAGCGATCTTATCAGAAACTTTTTCTGAGTGGTGGGGATACATCTACTCCATTCAAAAGATATAATTCCTTGCGGGATTTTGGTGATTCCTTAAGATGTAGAGTACTACCCACACATACTAGCTGAAGCTGTAATTCATGAAATAAAGATAGAAAAATCTAGAAGGAAAATCAAAGGTTAAAGAAACGACTTTCCTTATGAATCAACTAAAAACATAAGATGAAGTGAGTTGCCCAAGTGGTCTAACATAATTTCTATTTATTAGGTGATAGGGCGAAACTGAAAGAAAAGAAATCTTCGAGATAGGGGTTTAAGCAAATCTGAAGTTGATATAATCATCCATCATGACAGGAGTCTGAGCACCCTTATGGCCAGCAAACAGCAAAAGCTATACTTGATGCTGACTATTTTGTTAAAATAATCAGGCCAGAGCTCACCTTAAATCTAAGTTAAACGCTTTCTTGGTCTATTCATGGGCTTAATGGCCTTACGCCAAACGCGCATGAGGAAGACATGTACGCAGCTCATTCTGCCTCTTTACAATCTGCATGTCTTTCCAGACAGGTAGGTGCTGCTATTTTAGATATAAAGGAAATTTAATTGCTGTTGGGCGCAATGATGTTCTAAATTTAACAGTGTGGCCTTTATAGTGCTGATGATGGTGAATGATCATCGCTGTGTCTACAAAGGTGGCAAATGTTACAATGAAGCAAGAAAATTAAATAAAGATAAATACAGCAAATATTGCTTTTCTGATAGGTTAAGAATTTGTCTGTTCAGTTAACTCAAGAACAAGCAGAAAAGGTTGCTGGAATGTCTACGAAGGTACTCCTGTATCATCAATCGACAGTACTCGCTCTATTCATGCTGAAATGGATGCTTCACAGCCCATCTTGCTAGACTCGAGATAGTGGTTTTGAAGATAAGGTTTTATATACAACTACGTTCCCCTGTCATAATTGTGCAGGGTATATTGTTGCTGTTGGTATCAATAAAGTTGTTTATTGAACATATGAAAAAGCAGCTTTAGAGTTGCTGATGATGCAATAACTAGAAGTTAACGAAAGTGGTAAAGTTTTATTTGAGTCCTTTGAAGGGGTTTCTACTGGAATATCATAGAAGTTCTTCTTTTCTACAGATGAAAGGATAGTAAGGTAATGCGGAGAAATATTCAACGAAGTATAAGAATCATATTGATATACAGTTTATTGATAGTTGGATTTTAATCGTGTGGCGGATATTTTCATTAACACAAAACAGATGCTGAAGCTCAAGTAGCCGTTCCATCTGGGACATAGTTAATCCGCTTCTGCCACCGATTCTCGACACCACCAACATCGGGTATGAATCTGTGACTCTGATGTTACAGAGCTTAATCTTGTGTACCAAAAACCACCATACCAACGGTGGTTTTCTCTGAGCTACTGCTCTTTGAGCCGAGGTAACTGGCTTGGAGGAGCTCAGTCACCAAAACTTGTTCTTTCAGTTTAGCCTTAACAGGCGCACAACTTAAGATGCTCCTCTAAATCAGTTACCAGTGGCTGCTGCCAGTGGCGCTTTGTCGTGCCTTCTGGGTTGGACTCAAGACGATAGTTACCGGGGCAGGCGCAGCGGTCGGACTGAACGGGGTTCGTGCGCTGGTCAGCTTGGGCGAACTGCCTGCGGAACGCTGAGTGTCAGGCGATGAGTAAAGTTTAAACAGCCATAACAGCAGGTGAAGAGCACCCCGGTGCCAAACCGAAGGCAGGAACAGAGCGCAGGGAGCTACCGGGGAAACGCAGGATCTTTATAGTCCTGTCCGGGTTTCGCCACCATGATTTGAGCGTCAGATTCTGTGATGCTTGTCAGGGGGCGGAGCCTATCGGAAAACCGGCAACGCGGCCTTTCTTGTTGCTTCTCCCATTCTCTCATTGCCTATGGCTTAATGTCTCTGTTCCCTCCGCTCGCCGCAGCGAACGACCGAGCGGGCGAGTCAGTGAGCGGAAGCGGAATATCTGCGGGCTTCTCTTTGGCACCGTACGCCATAGCGCATTTTAATACGATGCAGAATAGGGCGGGTACGCCGCAAAGTGACGTCACCTGACGTTCTGGATTACAAAGGTTAAAGCAGCGGACAGGAAATGTTTTGTGCCTAGCTATGCTATTCACAAGTAGCAGGACAGATGTGTTTTGGAGTACCATGACATAAAGA'..b'late:97-4044\t+\t20eacfe4-db35-47f6-9c80-de0f37de1966_Basecall_1D_template:97-4044\t-\n+x\tutg000431l\t4428\t1\t2\t2\t17c0b454-e5b5-4eca-8409-8f959c64cbef_Basecall_1D_template:90-4517\t+\t17c0b454-e5b5-4eca-8409-8f959c64cbef_Basecall_1D_template:90-4517\t-\n+x\tutg000432l\t4092\t1\t2\t2\tchannel_131_1b8d5e7f-4d3d-41d1-ad51-1605893bebd9_template:112-4203\t+\tchannel_131_1b8d5e7f-4d3d-41d1-ad51-1605893bebd9_template:112-4203\t-\n+x\tutg000433l\t4186\t1\t2\t2\tchannel_372_6268b812-af3b-4b57-9db1-191548590945_template:103-4288\t+\tchannel_372_6268b812-af3b-4b57-9db1-191548590945_template:103-4288\t-\n+x\tutg000434l\t4191\t1\t2\t3\tchannel_6_a1d0c8d3-50f0-4fd7-b2f7-9018177a4155_template:114-4304\t+\tchannel_6_a1d0c8d3-50f0-4fd7-b2f7-9018177a4155_template:114-4304\t-\n+x\tutg000435l\t3938\t1\t1\t3\t1f2cd90d-b534-4a1c-ba6f-604673eb4575_Basecall_1D_template:151-4088\t+\t1f2cd90d-b534-4a1c-ba6f-604673eb4575_Basecall_1D_template:151-4088\t-\n+x\tutg000436l\t4504\t1\t5\t5\t13ffeb64-1872-4808-b918-00379a10d84e_Basecall_1D_template:114-4617\t+\t13ffeb64-1872-4808-b918-00379a10d84e_Basecall_1D_template:114-4617\t-\n+x\tutg000437l\t4426\t1\t2\t2\t14dd9f09-6471-483f-9dbc-5eeab2d05b9b_Basecall_1D_template:122-4547\t+\t14dd9f09-6471-483f-9dbc-5eeab2d05b9b_Basecall_1D_template:122-4547\t-\n+x\tutg000438l\t4378\t1\t3\t1\t3e84fe1f-6ebd-4d9e-83df-4935355d7a1b_Basecall_1D_template:112-4489\t+\t3e84fe1f-6ebd-4d9e-83df-4935355d7a1b_Basecall_1D_template:112-4489\t-\n+x\tutg000439l\t4419\t1\t2\t3\t1ddfc7e9-6da2-45ba-a9f6-a402db77f48f_Basecall_1D_template:90-4508\t+\t1ddfc7e9-6da2-45ba-a9f6-a402db77f48f_Basecall_1D_template:90-4508\t-\n+x\tutg000440l\t4465\t1\t4\t2\t236014b3-d885-43ad-b2f6-0214e8bada0b_Basecall_1D_template:105-4569\t+\t236014b3-d885-43ad-b2f6-0214e8bada0b_Basecall_1D_template:105-4569\t-\n+x\tutg000441l\t4439\t1\t3\t3\t4227ba5c-a96e-496f-bff4-f7960d9859f3_Basecall_1D_template:95-4533\t+\t4227ba5c-a96e-496f-bff4-f7960d9859f3_Basecall_1D_template:95-4533\t-\n+x\tutg000442l\t4439\t1\t2\t1\t25693aa2-467e-4b02-a3bd-246fe85dfa82_Basecall_1D_template:110-4548\t+\t25693aa2-467e-4b02-a3bd-246fe85dfa82_Basecall_1D_template:110-4548\t-\n+x\tutg000443l\t4269\t1\t1\t1\t5e94309f-ed4e-4c82-a255-1f20604f3cdb_Basecall_1D_template:108-4376\t+\t5e94309f-ed4e-4c82-a255-1f20604f3cdb_Basecall_1D_template:108-4376\t-\n+x\tutg000444l\t4346\t1\t2\t1\t112f5d59-11ee-4990-b07d-c036bc4a6d31_Basecall_1D_template:105-4450\t+\t112f5d59-11ee-4990-b07d-c036bc4a6d31_Basecall_1D_template:105-4450\t-\n+x\tutg000445l\t4153\t1\t3\t2\tchannel_93_02194193-3ab2-4f66-829b-84853323c30b_template:99-4251\t+\tchannel_93_02194193-3ab2-4f66-829b-84853323c30b_template:99-4251\t-\n+x\tutg000446l\t4462\t1\t1\t4\t1a033013-d2e8-4de9-b658-3476a51d913d_Basecall_1D_template:113-4574\t+\t1a033013-d2e8-4de9-b658-3476a51d913d_Basecall_1D_template:113-4574\t-\n+x\tutg000447l\t4356\t1\t2\t2\t0c50deb8-0c6e-40c5-a634-4e7f154df450_Basecall_1D_template:103-4458\t+\t0c50deb8-0c6e-40c5-a634-4e7f154df450_Basecall_1D_template:103-4458\t-\n+x\tutg000448l\t1889\t5\t0\t0\tchannel_281_ded88d6b-c329-4db2-a443-bd2cdc95f79b_template:126-1699\t-\tchannel_278_9f150893-71db-4f68-b680-c8b06fc6661a_template:113-1811\t-\n+x\tutg000449l\t4290\t1\t1\t2\t043a6ff7-d5db-4f63-97c0-9bc40b1c15da_Basecall_1D_template:93-4382\t+\t043a6ff7-d5db-4f63-97c0-9bc40b1c15da_Basecall_1D_template:93-4382\t-\n+x\tutg000450l\t4503\t1\t2\t5\t04be1f10-9be5-4ff4-8d3f-b90030d7cc06_Basecall_1D_template:107-4609\t+\t04be1f10-9be5-4ff4-8d3f-b90030d7cc06_Basecall_1D_template:107-4609\t-\n+x\tutg000451l\t4495\t1\t2\t3\t04b60356-87f8-4e60-b31a-c1a1afd81db9_Basecall_1D_template:120-4614\t+\t04b60356-87f8-4e60-b31a-c1a1afd81db9_Basecall_1D_template:120-4614\t-\n+x\tutg000452l\t4209\t1\t2\t1\t8044f3f5-5dbd-4d83-af0b-9deccec3c16d_Basecall_1D_template:107-4315\t+\t8044f3f5-5dbd-4d83-af0b-9deccec3c16d_Basecall_1D_template:107-4315\t-\n+x\tutg000453l\t4477\t1\t1\t3\t061fd347-ea8c-4c10-b5cf-18c9a3b544e3_Basecall_1D_template:105-4581\t+\t061fd347-ea8c-4c10-b5cf-18c9a3b544e3_Basecall_1D_template:105-4581\t-\n+x\tutg000454c\t736\t2\n+x\tutg000455l\t4449\t1\t2\t3\t006d5fde-2479-4715-801e-dc83e2c72ece_Basecall_1D_template:121-4569\t+\t006d5fde-2479-4715-801e-dc83e2c72ece_Basecall_1D_template:121-4569\t-\n'
b
diff -r 000000000000 -r 067592b6b312 test-data/out.jpg
b
Binary file test-data/out.jpg has changed
b
diff -r 000000000000 -r 067592b6b312 test-data/out.png
b
Binary file test-data/out.png has changed
b
diff -r 000000000000 -r 067592b6b312 test-data/out.svg
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/out.svg Tue Sep 18 05:41:44 2018 -0400
b
b'@@ -0,0 +1,27018 @@\n+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\n+<svg width="465.667mm" height="352.778mm"\n+ viewBox="0 0 1320 1000"\n+ xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"  version="1.2" baseProfile="tiny">\n+<title>Qt SVG Document</title>\n+<desc>Generated with Qt</desc>\n+<defs>\n+</defs>\n+<g fill="none" stroke="black" stroke-width="1" fill-rule="evenodd" stroke-linecap="square" stroke-linejoin="bevel" >\n+\n+<g fill="#ffffff" fill-opacity="1" stroke="none" transform="matrix(1,0,0,1,0,0)"\n+font-family="Helvetica" font-size="12" font-weight="400" font-style="normal" \n+>\n+<rect x="0" y="0" width="1320" height="1000"/>\n+</g>\n+\n+<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="1" stroke-linecap="square" stroke-linejoin="bevel" transform="matrix(1,0,0,1,0,0)"\n+font-family="Helvetica" font-size="12" font-weight="400" font-style="normal" \n+>\n+</g>\n+\n+<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="1" stroke-linecap="square" stroke-linejoin="bevel" transform="matrix(1,0,0,1,0,0)"\n+font-family="Helvetica" font-size="12" font-weight="400" font-style="normal" \n+>\n+</g>\n+\n+<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="1" stroke-linecap="square" stroke-linejoin="bevel" transform="matrix(1.27521,0,0,1.27521,31.9454,30.586)"\n+font-family="Helvetica" font-size="12" font-weight="400" font-style="normal" \n+>\n+</g>\n+\n+<g fill="none" stroke="#000000" stroke-opacity="0.705882" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="bevel" transform="matrix(1.27521,0,0,1.27521,31.9454,30.586)"\n+font-family="Helvetica" font-size="12" font-weight="400" font-style="normal" \n+>\n+<path vector-effect="none" fill-rule="evenodd" d="M527.886,593.777 C530.404,593.895 527.774,596.318 528.143,598.812 "/>\n+</g>\n+\n+<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="1" stroke-linecap="square" stroke-linejoin="bevel" transform="matrix(1.27521,0,0,1.27521,31.9454,30.586)"\n+font-family="Helvetica" font-size="12" font-weight="400" font-style="normal" \n+>\n+</g>\n+\n+<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="1" stroke-linecap="square" stroke-linejoin="bevel" transform="matrix(1.27521,0,0,1.27521,31.9454,30.586)"\n+font-family="Helvetica" font-size="12" font-weight="400" font-style="normal" \n+>\n+</g>\n+\n+<g fill="none" stroke="#000000" stroke-opacity="0.705882" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="bevel" transform="matrix(1.27521,0,0,1.27521,31.9454,30.586)"\n+font-family="Helvetica" font-size="12" font-weight="400" font-style="normal" \n+>\n+<path vector-effect="none" fill-rule="evenodd" d="M527.886,593.777 C531.26,593.935 523.941,595.172 522.964,598.405 "/>\n+</g>\n+\n+<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="1" stroke-linecap="square" stroke-linejoin="bevel" transform="matrix(1.27521,0,0,1.27521,31.9454,30.586)"\n+font-family="Helvetica" font-size="12" font-weight="400" font-style="normal" \n+>\n+</g>\n+\n+<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="1" stroke-linecap="square" stroke-linejoin="bevel" transform="matrix(1.27521,0,0,1.27521,31.9454,30.586)"\n+font-family="Helvetica" font-size="12" font-weight="400" font-style="normal" \n+>\n+</g>\n+\n+<g fill="none" stroke="#000000" stroke-opacity="0.705882" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="bevel" transform="matrix(1.27521,0,0,1.27521,31.9454,30.586)"\n+font-family="Helvetica" font-size="12" font-weight="400" font-style="normal" \n+>\n+<path vector-effect="none" fill-rule="evenodd" d="M529.568,516.379 C528.404,514.849 531.566,517.64 531.734,519.555 "/>\n+</g>\n+\n+<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="1" stroke-linecap="square" stroke-linejoin="bevel" transform="matrix(1.27521,0,0,1.27521,31.9454,30.586)"\n+font-family="Helvetica" font-size="12" font-weight="400" font-style="normal" \n+>\n+</g>\n+\n+<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="1" stroke-linecap="square" stro'..b'.633,561.107 445.815,560.118 445.815,558.938 C445.815,557.85 446.51,556.925 447.48,556.581 L447.481,556.581 L465.389,550.24 L467.058,554.953"/>\n+</g>\n+\n+<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="0.3" stroke-linecap="square" stroke-linejoin="round" transform="matrix(1.27521,0,0,1.27521,31.9454,30.586)"\n+font-family="Helvetica" font-size="12" font-weight="400" font-style="normal" \n+>\n+<path vector-effect="none" fill-rule="evenodd" d="M467.058,554.953 L457.114,558.474 L469.329,561.399 L468.165,566.262 L447.733,561.369 L446.362,560.498 L445.815,558.938 L446.284,557.48 L447.48,556.581 L447.481,556.581 L465.389,550.24 L467.058,554.953"/>\n+</g>\n+\n+<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="1" stroke-linecap="square" stroke-linejoin="bevel" transform="matrix(1.27521,0,0,1.27521,31.9454,30.586)"\n+font-family="Helvetica" font-size="12" font-weight="400" font-style="normal" \n+>\n+</g>\n+\n+<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="1" stroke-linecap="square" stroke-linejoin="bevel" transform="matrix(1.27521,0,0,1.27521,31.9454,30.586)"\n+font-family="Helvetica" font-size="12" font-weight="400" font-style="normal" \n+>\n+</g>\n+\n+<g fill="#cb6c62" fill-opacity="1" stroke="none" transform="matrix(1.27521,0,0,1.27521,31.9454,30.586)"\n+font-family="Helvetica" font-size="12" font-weight="400" font-style="normal" \n+>\n+<path vector-effect="none" fill-rule="nonzero" d="M862.98,555.457 L868.964,555.366 L869.04,560.365 L863.056,560.457 L862.98,555.457"/>\n+</g>\n+\n+<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="0.3" stroke-linecap="square" stroke-linejoin="round" transform="matrix(1.27521,0,0,1.27521,31.9454,30.586)"\n+font-family="Helvetica" font-size="12" font-weight="400" font-style="normal" \n+>\n+<path vector-effect="none" fill-rule="evenodd" d="M862.98,555.457 L868.964,555.366 L869.04,560.365 L863.056,560.457 L862.98,555.457"/>\n+</g>\n+\n+<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="1" stroke-linecap="square" stroke-linejoin="bevel" transform="matrix(1.27521,0,0,1.27521,31.9454,30.586)"\n+font-family="Helvetica" font-size="12" font-weight="400" font-style="normal" \n+>\n+</g>\n+\n+<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="1" stroke-linecap="square" stroke-linejoin="bevel" transform="matrix(1.27521,0,0,1.27521,31.9454,30.586)"\n+font-family="Helvetica" font-size="12" font-weight="400" font-style="normal" \n+>\n+</g>\n+\n+<g fill="#626ccb" fill-opacity="1" stroke="none" transform="matrix(1.27521,0,0,1.27521,31.9454,30.586)"\n+font-family="Helvetica" font-size="12" font-weight="400" font-style="normal" \n+>\n+<path vector-effect="none" fill-rule="nonzero" d="M466.594,564.903 L450.672,559.137 C449.71,558.789 449.023,557.868 449.023,556.787 C449.023,555.872 449.515,555.072 450.248,554.636 L450.248,554.636 L463.791,546.609 L466.34,550.911 L452.798,558.937 L451.523,556.787 L452.374,554.436 L468.296,560.202 L466.594,564.903"/>\n+</g>\n+\n+<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="0.3" stroke-linecap="square" stroke-linejoin="round" transform="matrix(1.27521,0,0,1.27521,31.9454,30.586)"\n+font-family="Helvetica" font-size="12" font-weight="400" font-style="normal" \n+>\n+<path vector-effect="none" fill-rule="evenodd" d="M466.594,564.903 L450.672,559.137 L449.487,558.237 L449.023,556.787 L449.361,555.532 L450.248,554.636 L450.248,554.636 L463.791,546.609 L466.34,550.911 L457.351,556.238 L468.296,560.202 L466.594,564.903"/>\n+</g>\n+\n+<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="1" stroke-linecap="square" stroke-linejoin="bevel" transform="matrix(1.27521,0,0,1.27521,31.9454,30.586)"\n+font-family="Helvetica" font-size="12" font-weight="400" font-style="normal" \n+>\n+</g>\n+\n+<g fill="none" stroke="#000000" stroke-opacity="1" stroke-width="1" stroke-linecap="square" stroke-linejoin="bevel" transform="matrix(1,0,0,1,0,0)"\n+font-family="Helvetica" font-size="12" font-weight="400" font-style="normal" \n+>\n+</g>\n+</g>\n+</svg>\n'
b
diff -r 000000000000 -r 067592b6b312 test-data/out.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/out.txt Tue Sep 18 05:41:44 2018 -0400
b
@@ -0,0 +1,2 @@
+455 1061 3348 4532 2238438 268863 12 1.31868% 7 1960789 277649 4421 736 4290 4404 4460 147170 1
+297647
b
diff -r 000000000000 -r 067592b6b312 test-data/out_standard.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/out_standard.txt Tue Sep 18 05:41:44 2018 -0400
b
@@ -0,0 +1,19 @@
+Node count:                       455
+Edge count:                       1061
+Smallest edge overlap (bp):       3348
+Largest edge overlap (bp):        4532
+Total length (bp):                2238438
+Total length no overlaps (bp):    268863
+Dead ends:                        12
+Percentage dead ends:             1.31868%
+Connected components:             7
+Largest component (bp):           1960789
+Total length orphaned nodes (bp): 1960789
+N50 (bp):                         4421
+Shortest node (bp):               736
+Lower quartile node (bp):         4290
+Median node (bp):                 4404
+Upper quartile node (bp):         4460
+Longest node (bp):                147170
+Median depth:                     1
+Estimated sequence length (bp):   297647