Repository 'graphlan'
hg clone https://toolshed.g2.bx.psu.edu/repos/bebatut/graphlan

Changeset 0:83baf73b0e79 (2016-05-26)
Commit message:
planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/graphlan/ commit 7aadbbdef6da644837f62ea428cb859eeff34f04-dirty
added:
graphlan.xml
graphlan_annotate.xml
graphlan_macros.xml
test-data/input_annotation.txt
test-data/input_tree.txt
test-data/intermediary_tree.txt
test-data/png_image.png
tool_dependencies.xml
b
diff -r 000000000000 -r 83baf73b0e79 graphlan.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphlan.xml Thu May 26 09:38:11 2016 -0400
[
@@ -0,0 +1,122 @@
+<tool id="graphlan" name="GraPhlAn" version="0.9.7">
+
+    <description>to produce graphical output of an input tree</description>
+
+    <macros>
+        <import>graphlan_macros.xml</import>
+    </macros>
+
+    <expand macro="requirements"/>
+
+    <stdio>
+        <regex match="Warning"
+               source="stderr"
+               level="warning"
+               description="" />
+    </stdio>
+
+    <version_command>
+<![CDATA[
+graphlan.py -v
+]]>
+    </version_command>
+
+    <command>
+<![CDATA[        
+        graphlan.py
+            --format $format
+
+            #if $dpi
+                --dpi $dpi
+            #end if
+
+            --size $size
+
+            #if $pad
+                --pad $pad
+            #end if
+
+            $input_tree
+
+            #if str($format) == "png"
+                $png_output_image
+            #else if str($format) == "pdf"
+                $pdf_output_image
+            #else if str($format) == "ps"
+                $ps_output_image
+            #else if str($format) == "eps"
+                $eps_output_image
+            #else
+                $svg_output_image
+            #end if
+]]>
+    </command>
+
+    <inputs>
+        <param name="input_tree" type="data" format="txt" label="Input tree" help="The tree must be in PhlyloXML, Newick or text format."/>
+
+        <param name='format' type="select" label="Output format" help="(--format)">
+            <option value="png" selected="true">PNG</option>
+            <option value="pdf">PDF</option>
+            <option value="ps">PS</option>
+            <option value="eps">EPS</option>
+            <option value="svg">SVG</option>
+        </param>
+
+        <param name="dpi" type="integer" label="Dpi of the output image
+            (Optional)" help="For non vectorial formats (--dpi)" optional="True"/>
+
+        <param name="size" type="integer" value="7" label="Size of the output image
+            (in inches)" help="(--size)"/>
+
+        <param name="pad" type="integer" label="Distance between the most external 
+            graphical element and the border of the image (Optional)" 
+            help="(--pad)" optional="True"/>
+    </inputs>
+
+    <outputs>
+        <data format="png" name="png_output_image" 
+            label="${tool.name} on ${on_string}: Image">
+            <filter>format=="png"</filter>
+        </data>
+        <data format="pdf" name="pdf_output_image" 
+            label="${tool.name} on ${on_string}: Image">
+            <filter>format=="pdf"</filter>
+        </data>
+        <data format="ps" name="ps_output_image" 
+            label="${tool.name} on ${on_string}: Image">
+            <filter>format=="ps"</filter>
+        </data>
+        <data format="eps" name="eps_output_image" 
+            label="${tool.name} on ${on_string}: Image">
+            <filter>format=="eps"</filter>
+        </data>
+        <data format="svg" name="svg_output_image" 
+            label="${tool.name} on ${on_string}: Image">
+            <filter>format=="svg"</filter>
+        </data>
+    </outputs>
+
+    <tests>
+        <test>
+            <param name="input_tree" value="intermediary_tree.txt"/>
+            <param name="format" value="png"/>
+            <param name="dpi" value="100"/>
+            <param name="size" value="7"/>
+            <param name="pad" value="2"/>
+            <output name="png_output_image" file="png_image.png" />
+        </test>
+    </tests>
+
+    <help><![CDATA[
+**What it does**
+
+GraPhlAn is a software tool for producing high-quality circular representations of taxonomic and phylogenetic trees. GraPhlAn focuses on concise, integrative, informative, and publication-ready representations of phylogenetically- and taxonomically-driven investigation.
+
+For more information, check the `user manual <https://bitbucket.org/nsegata/graphlan/overview>`_.
+
+    ]]></help>
+
+    <citations>
+    </citations>
+</tool>
b
diff -r 000000000000 -r 83baf73b0e79 graphlan_annotate.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphlan_annotate.xml Thu May 26 09:38:11 2016 -0400
[
@@ -0,0 +1,70 @@
+<tool id="graphlan_annotate" name="Generation, personalization and annotation of tree" version="0.9.7">
+
+    <description>for GraPhlAn</description>
+
+    <macros>
+        <import>graphlan_macros.xml</import>
+    </macros>
+
+    <expand macro="requirements"/>
+
+    <stdio>
+        <regex match="Warning"
+               source="stderr"
+               level="warning"
+               description="" />
+    </stdio>
+
+    <version_command>
+<![CDATA[
+graphlan_annotate.py -v
+]]>
+    </version_command>
+
+    <command>
+<![CDATA[        
+        graphlan_annotate.py
+            #if $annot
+                --annot $annot
+            #end if
+
+            $input_tree
+            $output_tree
+]]>
+    </command>
+
+    <inputs>
+        <param name="input_tree" type="data" format="txt" label="Input tree" help="Newick, Nexus, PhyloXML or plain text"/>
+
+        <param name="annot" type="data" format="txt" label="Annotation file (Optional)" help="The annotation file is a tab-delimited file listing the graphical options for clades(--annot)" optional="True"/>
+    </inputs>
+
+    <outputs>
+        <data format="txt" name="output_tree" 
+            label="${tool.name} on ${on_string}: Tree in PhyloXML" />
+    </outputs>
+
+    <tests>
+        <test>
+            <param name="input_tree" value="input_tree.txt" />
+            <param name="annot" value="input_annotation.txt" />
+            <output name="output_tree" file="intermediary_tree.txt" />
+        </test>
+    </tests>
+
+    <help><![CDATA[
+**What it does**
+
+GraPhlAn is a software tool for producing high-quality circular representations of taxonomic and phylogenetic trees. GraPhlAn focuses on concise, integrative, informative, and publication-ready representations of phylogenetically- and taxonomically-driven investigation.
+
+`graphlan_annotate` modifies any input tree (in any of the three standard format) adding additional information regarding structural or graphical aspects of the tree (like colors and style of the taxa, labels, shadows, heatmaps, ...).
+
+The annotation file is a tab-delimited file listing the graphical options for clades. Usually each line has three fields: the name of the clade, the name of the option, and the value to assign to the option. Lines can however have two fields (typically for "global" option not referred to a specific clade) or four fields when the external rings (a sort of circular heatmap) is specified.
+
+For more information, check the `user manual <https://bitbucket.org/nsegata/graphlan/overview>`_.
+
+    ]]></help>
+
+    <citations>
+    </citations>
+</tool>
\ No newline at end of file
b
diff -r 000000000000 -r 83baf73b0e79 graphlan_macros.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphlan_macros.xml Thu May 26 09:38:11 2016 -0400
b
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<macros>
+    <xml name="requirements">
+        <requirements>
+            <requirement type="package" version="1.66">biopython</requirement>
+            <requirement type="package" version="1.4">matplotlib</requirement>
+            <requirement type="package" version="1.0.0">graphlan</requirement>
+        </requirements>
+    </xml>
+</macros>
\ No newline at end of file
b
diff -r 000000000000 -r 83baf73b0e79 test-data/input_annotation.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/input_annotation.txt Thu May 26 09:38:11 2016 -0400
b
@@ -0,0 +1,107 @@
+clade_separation 0.5
+branch_bracket_depth 0.8
+branch_bracket_width 0.2
+annotation_legend_font_size 10
+class_legend_font_size 10
+class_legend_marker_size 1.5
+
+FIRMICUTES annotation FIRMICUTES
+FIRMICUTES clade_marker_color #2d19ff
+FIRMICUTES clade_marker_size 40
+
+PROTEOBACTERIA annotation PROTEOBACTERIA
+PROTEOBACTERIA clade_marker_color #29cc36
+PROTEOBACTERIA clade_marker_size 40
+
+k__Archaea clade_marker_size 58.0748302504
+p__Euryarchaeota clade_marker_size 58.0748302504
+c__Methanobacteria clade_marker_size 58.0748302504
+o__Methanobacteriales clade_marker_size 58.0748302504
+f__Methanobacteriaceae clade_marker_size 58.0748302504
+g__Methanobrevibacter clade_marker_size 58.0748302504
+s__Methanobrevibacter_smithii clade_marker_size 58.0748302504
+t__Methanobrevibacter_smithii_unclassified clade_marker_size 58.0748302504
+k__Bacteria clade_marker_size 200.0
+p__Actinobacteria clade_marker_size 22.66961905
+c__Actinobacteria clade_marker_size 22.66961905
+o__Actinomycetales clade_marker_size 22.66961905
+f__Propionibacteriaceae clade_marker_size 22.66961905
+g__Propionibacterium clade_marker_size 22.66961905
+s__Propionibacterium_acnes clade_marker_size 22.66961905
+t__Propionibacterium_acnes_unclassified clade_marker_size 22.66961905
+p__Deinococcus_Thermus clade_marker_size 22.298886707
+c__Deinococci clade_marker_size 22.298886707
+o__Deinococcales clade_marker_size 22.298886707
+f__Deinococcaceae clade_marker_size 22.298886707
+g__Deinococcus clade_marker_size 22.298886707
+s__Deinococcus_radiodurans clade_marker_size 21.1340492974
+t__GCF_000008565 clade_marker_size 21.1340492974
+s__Deinococcus_unclassified clade_marker_size 21.1817307606
+p__Firmicutes clade_marker_size 183.285013514
+p__Firmicutes clade_marker_color #2d19ff
+c__Bacilli clade_marker_size 182.398015269
+c__Bacilli clade_marker_color #2d19ff
+o__Bacillales clade_marker_size 164.332515943
+o__Bacillales clade_marker_color #2d19ff
+f__Staphylococcaceae clade_marker_size 164.332515943
+f__Staphylococcaceae clade_marker_color #2d19ff
+g__Staphylococcus clade_marker_size 164.332515943
+g__Staphylococcus clade_marker_color #2d19ff
+s__Staphylococcus_aureus clade_marker_size 122.793996615
+s__Staphylococcus_aureus clade_marker_color #2d19ff
+t__Staphylococcus_aureus_unclassified clade_marker_size 122.793996615
+t__Staphylococcus_aureus_unclassified clade_marker_color #2d19ff
+s__Staphylococcus_epidermidis clade_marker_size 120.392106048
+s__Staphylococcus_epidermidis clade_marker_color #2d19ff
+t__Staphylococcus_epidermidis_unclassified clade_marker_size 120.392106048
+t__Staphylococcus_epidermidis_unclassified clade_marker_color #2d19ff
+o__Lactobacillales clade_marker_size 96.1062970373
+f__Streptococcaceae clade_marker_size 96.1062970373
+g__Streptococcus clade_marker_size 96.1062970373
+s__Streptococcus_agalactiae clade_marker_size 25.9449465996
+t__Streptococcus_agalactiae_unclassified clade_marker_size 25.9449465996
+s__Streptococcus_mutans clade_marker_size 93.7375603
+t__Streptococcus_mutans_unclassified clade_marker_size 93.7375603
+c__Clostridia clade_marker_size 26.8159954288
+o__Clostridiales clade_marker_size 26.8159954288
+f__Clostridiaceae clade_marker_size 26.8159954288
+g__Clostridium clade_marker_size 26.8159954288
+s__Clostridium_beijerinckii clade_marker_size 26.8159954288
+t__Clostridium_beijerinckii_unclassified clade_marker_size 26.8159954288
+p__Proteobacteria clade_marker_size 102.159086265
+p__Proteobacteria clade_marker_color #29cc36
+c__Alphaproteobacteria clade_marker_size 53.6955516997
+o__Rhodobacterales clade_marker_size 53.6955516997
+f__Rhodobacteraceae clade_marker_size 53.6955516997
+g__Rhodobacter clade_marker_size 53.6955516997
+s__Rhodobacter_sphaeroides clade_marker_size 53.6955516997
+t__Rhodobacter_sphaeroides_unclassified clade_marker_size 53.6955516997
+c__Betaproteobacteria clade_marker_size 20.3264778878
+o__Neisseriales clade_marker_size 20.3264778878
+f__Neisseriaceae clade_marker_size 20.3264778878
+g__Neisseria clade_marker_size 20.3264778878
+s__Neisseria_meningitidis clade_marker_size 20.3264778878
+t__Neisseria_meningitidis_unclassified clade_marker_size 20.3264778878
+c__Epsilonproteobacteria clade_marker_size 20.5761787104
+o__Campylobacterales clade_marker_size 20.5761787104
+f__Helicobacteraceae clade_marker_size 20.5761787104
+g__Helicobacter clade_marker_size 20.5761787104
+s__Helicobacter_pylori clade_marker_size 20.5761787104
+t__Helicobacter_pylori_unclassified clade_marker_size 20.5761787104
+c__Gammaproteobacteria clade_marker_size 85.4517057547
+o__Enterobacteriales clade_marker_size 78.466031643
+f__Enterobacteriaceae clade_marker_size 78.466031643
+g__Escherichia clade_marker_size 78.466031643
+s__Escherichia_coli clade_marker_size 58.9341374431
+t__Escherichia_coli_unclassified clade_marker_size 58.9341374431
+s__Escherichia_unclassified clade_marker_size 49.960616022
+o__Pseudomonadales clade_marker_size 34.0879564025
+f__Moraxellaceae clade_marker_size 20.9013800671
+g__Acinetobacter clade_marker_size 20.9013800671
+s__Acinetobacter_baumannii clade_marker_size 20.9013800671
+t__Acinetobacter_baumannii_unclassified clade_marker_size 20.9013800671
+f__Pseudomonadaceae clade_marker_size 33.3271759768
+g__Pseudomonas clade_marker_size 33.3271759768
+s__Pseudomonas_aeruginosa clade_marker_size 25.8720239085
+t__Pseudomonas_aeruginosa_unclassified clade_marker_size 25.8720239085
+s__Pseudomonas_unclassified clade_marker_size 28.0078913105
b
diff -r 000000000000 -r 83baf73b0e79 test-data/input_tree.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/input_tree.txt Thu May 26 09:38:11 2016 -0400
b
b'@@ -0,0 +1,82 @@\n+k__Archaea\n+k__Archaea.p__Euryarchaeota\n+k__Archaea.p__Euryarchaeota.c__Methanobacteria\n+k__Archaea.p__Euryarchaeota.c__Methanobacteria.o__Methanobacteriales\n+k__Archaea.p__Euryarchaeota.c__Methanobacteria.o__Methanobacteriales.f__Methanobacteriaceae\n+k__Archaea.p__Euryarchaeota.c__Methanobacteria.o__Methanobacteriales.f__Methanobacteriaceae.g__Methanobrevibacter\n+k__Archaea.p__Euryarchaeota.c__Methanobacteria.o__Methanobacteriales.f__Methanobacteriaceae.g__Methanobrevibacter.s__Methanobrevibacter_smithii\n+k__Archaea.p__Euryarchaeota.c__Methanobacteria.o__Methanobacteriales.f__Methanobacteriaceae.g__Methanobrevibacter.s__Methanobrevibacter_smithii.t__Methanobrevibacter_smithii_unclassified\n+k__Bacteria\n+k__Bacteria.p__Actinobacteria\n+k__Bacteria.p__Actinobacteria.c__Actinobacteria\n+k__Bacteria.p__Actinobacteria.c__Actinobacteria.o__Actinomycetales\n+k__Bacteria.p__Actinobacteria.c__Actinobacteria.o__Actinomycetales.f__Propionibacteriaceae\n+k__Bacteria.p__Actinobacteria.c__Actinobacteria.o__Actinomycetales.f__Propionibacteriaceae.g__Propionibacterium\n+k__Bacteria.p__Actinobacteria.c__Actinobacteria.o__Actinomycetales.f__Propionibacteriaceae.g__Propionibacterium.s__Propionibacterium_acnes\n+k__Bacteria.p__Actinobacteria.c__Actinobacteria.o__Actinomycetales.f__Propionibacteriaceae.g__Propionibacterium.s__Propionibacterium_acnes.t__Propionibacterium_acnes_unclassified\n+k__Bacteria.p__Deinococcus_Thermus\n+k__Bacteria.p__Deinococcus_Thermus.c__Deinococci\n+k__Bacteria.p__Deinococcus_Thermus.c__Deinococci.o__Deinococcales\n+k__Bacteria.p__Deinococcus_Thermus.c__Deinococci.o__Deinococcales.f__Deinococcaceae\n+k__Bacteria.p__Deinococcus_Thermus.c__Deinococci.o__Deinococcales.f__Deinococcaceae.g__Deinococcus\n+k__Bacteria.p__Deinococcus_Thermus.c__Deinococci.o__Deinococcales.f__Deinococcaceae.g__Deinococcus.s__Deinococcus_radiodurans\n+k__Bacteria.p__Deinococcus_Thermus.c__Deinococci.o__Deinococcales.f__Deinococcaceae.g__Deinococcus.s__Deinococcus_radiodurans.t__GCF_000008565\n+k__Bacteria.p__Deinococcus_Thermus.c__Deinococci.o__Deinococcales.f__Deinococcaceae.g__Deinococcus.s__Deinococcus_unclassified\n+k__Bacteria.p__Firmicutes\n+k__Bacteria.p__Firmicutes.c__Bacilli\n+k__Bacteria.p__Firmicutes.c__Bacilli.o__Bacillales\n+k__Bacteria.p__Firmicutes.c__Bacilli.o__Bacillales.f__Staphylococcaceae\n+k__Bacteria.p__Firmicutes.c__Bacilli.o__Bacillales.f__Staphylococcaceae.g__Staphylococcus\n+k__Bacteria.p__Firmicutes.c__Bacilli.o__Bacillales.f__Staphylococcaceae.g__Staphylococcus.s__Staphylococcus_aureus\n+k__Bacteria.p__Firmicutes.c__Bacilli.o__Bacillales.f__Staphylococcaceae.g__Staphylococcus.s__Staphylococcus_aureus.t__Staphylococcus_aureus_unclassified\n+k__Bacteria.p__Firmicutes.c__Bacilli.o__Bacillales.f__Staphylococcaceae.g__Staphylococcus.s__Staphylococcus_epidermidis\n+k__Bacteria.p__Firmicutes.c__Bacilli.o__Bacillales.f__Staphylococcaceae.g__Staphylococcus.s__Staphylococcus_epidermidis.t__Staphylococcus_epidermidis_unclassified\n+k__Bacteria.p__Firmicutes.c__Bacilli.o__Lactobacillales\n+k__Bacteria.p__Firmicutes.c__Bacilli.o__Lactobacillales.f__Streptococcaceae\n+k__Bacteria.p__Firmicutes.c__Bacilli.o__Lactobacillales.f__Streptococcaceae.g__Streptococcus\n+k__Bacteria.p__Firmicutes.c__Bacilli.o__Lactobacillales.f__Streptococcaceae.g__Streptococcus.s__Streptococcus_agalactiae\n+k__Bacteria.p__Firmicutes.c__Bacilli.o__Lactobacillales.f__Streptococcaceae.g__Streptococcus.s__Streptococcus_agalactiae.t__Streptococcus_agalactiae_unclassified\n+k__Bacteria.p__Firmicutes.c__Bacilli.o__Lactobacillales.f__Streptococcaceae.g__Streptococcus.s__Streptococcus_mutans\n+k__Bacteria.p__Firmicutes.c__Bacilli.o__Lactobacillales.f__Streptococcaceae.g__Streptococcus.s__Streptococcus_mutans.t__Streptococcus_mutans_unclassified\n+k__Bacteria.p__Firmicutes.c__Clostridia\n+k__Bacteria.p__Firmicutes.c__Clostridia.o__Clostridiales\n+k__Bacteria.p__Firmicutes.c__Clostridia.o__Clostridiales.f__Clostridiaceae\n+k__Bacteria.p__Firmicutes.c__Clostridia.o__Clostridiales.f__C'..b'beijerinckii.t__Clostridium_beijerinckii_unclassified\n+k__Bacteria.p__Proteobacteria\n+k__Bacteria.p__Proteobacteria.c__Alphaproteobacteria\n+k__Bacteria.p__Proteobacteria.c__Alphaproteobacteria.o__Rhodobacterales\n+k__Bacteria.p__Proteobacteria.c__Alphaproteobacteria.o__Rhodobacterales.f__Rhodobacteraceae\n+k__Bacteria.p__Proteobacteria.c__Alphaproteobacteria.o__Rhodobacterales.f__Rhodobacteraceae.g__Rhodobacter\n+k__Bacteria.p__Proteobacteria.c__Alphaproteobacteria.o__Rhodobacterales.f__Rhodobacteraceae.g__Rhodobacter.s__Rhodobacter_sphaeroides\n+k__Bacteria.p__Proteobacteria.c__Alphaproteobacteria.o__Rhodobacterales.f__Rhodobacteraceae.g__Rhodobacter.s__Rhodobacter_sphaeroides.t__Rhodobacter_sphaeroides_unclassified\n+k__Bacteria.p__Proteobacteria.c__Betaproteobacteria\n+k__Bacteria.p__Proteobacteria.c__Betaproteobacteria.o__Neisseriales\n+k__Bacteria.p__Proteobacteria.c__Betaproteobacteria.o__Neisseriales.f__Neisseriaceae\n+k__Bacteria.p__Proteobacteria.c__Betaproteobacteria.o__Neisseriales.f__Neisseriaceae.g__Neisseria\n+k__Bacteria.p__Proteobacteria.c__Betaproteobacteria.o__Neisseriales.f__Neisseriaceae.g__Neisseria.s__Neisseria_meningitidis\n+k__Bacteria.p__Proteobacteria.c__Betaproteobacteria.o__Neisseriales.f__Neisseriaceae.g__Neisseria.s__Neisseria_meningitidis.t__Neisseria_meningitidis_unclassified\n+k__Bacteria.p__Proteobacteria.c__Epsilonproteobacteria\n+k__Bacteria.p__Proteobacteria.c__Epsilonproteobacteria.o__Campylobacterales\n+k__Bacteria.p__Proteobacteria.c__Epsilonproteobacteria.o__Campylobacterales.f__Helicobacteraceae\n+k__Bacteria.p__Proteobacteria.c__Epsilonproteobacteria.o__Campylobacterales.f__Helicobacteraceae.g__Helicobacter\n+k__Bacteria.p__Proteobacteria.c__Epsilonproteobacteria.o__Campylobacterales.f__Helicobacteraceae.g__Helicobacter.s__Helicobacter_pylori\n+k__Bacteria.p__Proteobacteria.c__Epsilonproteobacteria.o__Campylobacterales.f__Helicobacteraceae.g__Helicobacter.s__Helicobacter_pylori.t__Helicobacter_pylori_unclassified\n+k__Bacteria.p__Proteobacteria.c__Gammaproteobacteria\n+k__Bacteria.p__Proteobacteria.c__Gammaproteobacteria.o__Enterobacteriales\n+k__Bacteria.p__Proteobacteria.c__Gammaproteobacteria.o__Enterobacteriales.f__Enterobacteriaceae\n+k__Bacteria.p__Proteobacteria.c__Gammaproteobacteria.o__Enterobacteriales.f__Enterobacteriaceae.g__Escherichia\n+k__Bacteria.p__Proteobacteria.c__Gammaproteobacteria.o__Enterobacteriales.f__Enterobacteriaceae.g__Escherichia.s__Escherichia_coli\n+k__Bacteria.p__Proteobacteria.c__Gammaproteobacteria.o__Enterobacteriales.f__Enterobacteriaceae.g__Escherichia.s__Escherichia_coli.t__Escherichia_coli_unclassified\n+k__Bacteria.p__Proteobacteria.c__Gammaproteobacteria.o__Enterobacteriales.f__Enterobacteriaceae.g__Escherichia.s__Escherichia_unclassified\n+k__Bacteria.p__Proteobacteria.c__Gammaproteobacteria.o__Pseudomonadales\n+k__Bacteria.p__Proteobacteria.c__Gammaproteobacteria.o__Pseudomonadales.f__Moraxellaceae\n+k__Bacteria.p__Proteobacteria.c__Gammaproteobacteria.o__Pseudomonadales.f__Moraxellaceae.g__Acinetobacter\n+k__Bacteria.p__Proteobacteria.c__Gammaproteobacteria.o__Pseudomonadales.f__Moraxellaceae.g__Acinetobacter.s__Acinetobacter_baumannii\n+k__Bacteria.p__Proteobacteria.c__Gammaproteobacteria.o__Pseudomonadales.f__Moraxellaceae.g__Acinetobacter.s__Acinetobacter_baumannii.t__Acinetobacter_baumannii_unclassified\n+k__Bacteria.p__Proteobacteria.c__Gammaproteobacteria.o__Pseudomonadales.f__Pseudomonadaceae\n+k__Bacteria.p__Proteobacteria.c__Gammaproteobacteria.o__Pseudomonadales.f__Pseudomonadaceae.g__Pseudomonas\n+k__Bacteria.p__Proteobacteria.c__Gammaproteobacteria.o__Pseudomonadales.f__Pseudomonadaceae.g__Pseudomonas.s__Pseudomonas_aeruginosa\n+k__Bacteria.p__Proteobacteria.c__Gammaproteobacteria.o__Pseudomonadales.f__Pseudomonadaceae.g__Pseudomonas.s__Pseudomonas_aeruginosa.t__Pseudomonas_aeruginosa_unclassified\n+k__Bacteria.p__Proteobacteria.c__Gammaproteobacteria.o__Pseudomonadales.f__Pseudomonadaceae.g__Pseudomonas.s__Pseudomonas_unclassified\n\\ No newline at end of file\n'
b
diff -r 000000000000 -r 83baf73b0e79 test-data/intermediary_tree.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/intermediary_tree.txt Thu May 26 09:38:11 2016 -0400
b
b'@@ -0,0 +1,439 @@\n+<phyloxml xmlns="http://www.phyloxml.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.phyloxml.org http://www.phyloxml.org/1.10/phyloxml.xsd">\n+  <phylogeny rooted="true">\n+    <clade>\n+      <clade>\n+        <name>k__Archaea</name>\n+        <branch_length>1.0</branch_length>\n+        <property applies_to="clade" datatype="xsd:string" id_ref="clade_marker_size" ref="A:1">58.0748302504</property>\n+        <clade>\n+          <name>p__Euryarchaeota</name>\n+          <branch_length>1.0</branch_length>\n+          <property applies_to="clade" datatype="xsd:string" id_ref="clade_marker_size" ref="A:1">58.0748302504</property>\n+          <clade>\n+            <name>c__Methanobacteria</name>\n+            <branch_length>1.0</branch_length>\n+            <property applies_to="clade" datatype="xsd:string" id_ref="clade_marker_size" ref="A:1">58.0748302504</property>\n+            <clade>\n+              <name>o__Methanobacteriales</name>\n+              <branch_length>1.0</branch_length>\n+              <property applies_to="clade" datatype="xsd:string" id_ref="clade_marker_size" ref="A:1">58.0748302504</property>\n+              <clade>\n+                <name>f__Methanobacteriaceae</name>\n+                <branch_length>1.0</branch_length>\n+                <property applies_to="clade" datatype="xsd:string" id_ref="clade_marker_size" ref="A:1">58.0748302504</property>\n+                <clade>\n+                  <name>g__Methanobrevibacter</name>\n+                  <branch_length>1.0</branch_length>\n+                  <property applies_to="clade" datatype="xsd:string" id_ref="clade_marker_size" ref="A:1">58.0748302504</property>\n+                  <clade>\n+                    <name>s__Methanobrevibacter_smithii</name>\n+                    <branch_length>1.0</branch_length>\n+                    <property applies_to="clade" datatype="xsd:string" id_ref="clade_marker_size" ref="A:1">58.0748302504</property>\n+                    <clade>\n+                      <name>t__Methanobrevibacter_smithii_unclassified</name>\n+                      <branch_length>1.0</branch_length>\n+                      <property applies_to="clade" datatype="xsd:string" id_ref="clade_marker_size" ref="A:1">58.0748302504</property>\n+                    </clade>\n+                  </clade>\n+                </clade>\n+              </clade>\n+            </clade>\n+          </clade>\n+        </clade>\n+      </clade>\n+      <clade>\n+        <name>k__Bacteria</name>\n+        <branch_length>1.0</branch_length>\n+        <property applies_to="clade" datatype="xsd:string" id_ref="clade_marker_size" ref="A:1">200.0</property>\n+        <clade>\n+          <name>p__Deinococcus_Thermus</name>\n+          <branch_length>1.0</branch_length>\n+          <property applies_to="clade" datatype="xsd:string" id_ref="clade_marker_size" ref="A:1">22.298886707</property>\n+          <clade>\n+            <name>c__Deinococci</name>\n+            <branch_length>1.0</branch_length>\n+            <property applies_to="clade" datatype="xsd:string" id_ref="clade_marker_size" ref="A:1">22.298886707</property>\n+            <clade>\n+              <name>o__Deinococcales</name>\n+              <branch_length>1.0</branch_length>\n+              <property applies_to="clade" datatype="xsd:string" id_ref="clade_marker_size" ref="A:1">22.298886707</property>\n+              <clade>\n+                <name>f__Deinococcaceae</name>\n+                <branch_length>1.0</branch_length>\n+                <property applies_to="clade" datatype="xsd:string" id_ref="clade_marker_size" ref="A:1">22.298886707</property>\n+                <clade>\n+                  <name>g__Deinococcus</name>\n+                  <branch_length>1.0</branch_length>\n+                  <property applies_to="clade" datatype="xsd:string" id_ref="clade_marker_size" ref="A:1">22.298886707</property>\n+                  <clade>\n+                    <name>s__Deinococcus_unclassified</name>\n+                    <'..b'th>\n+                    <property applies_to="clade" datatype="xsd:string" id_ref="clade_marker_size" ref="A:1">20.3264778878</property>\n+                    <clade>\n+                      <name>t__Neisseria_meningitidis_unclassified</name>\n+                      <branch_length>1.0</branch_length>\n+                      <property applies_to="clade" datatype="xsd:string" id_ref="clade_marker_size" ref="A:1">20.3264778878</property>\n+                    </clade>\n+                  </clade>\n+                </clade>\n+              </clade>\n+            </clade>\n+          </clade>\n+          <clade>\n+            <name>c__Epsilonproteobacteria</name>\n+            <branch_length>1.0</branch_length>\n+            <property applies_to="clade" datatype="xsd:string" id_ref="clade_marker_size" ref="A:1">20.5761787104</property>\n+            <clade>\n+              <name>o__Campylobacterales</name>\n+              <branch_length>1.0</branch_length>\n+              <property applies_to="clade" datatype="xsd:string" id_ref="clade_marker_size" ref="A:1">20.5761787104</property>\n+              <clade>\n+                <name>f__Helicobacteraceae</name>\n+                <branch_length>1.0</branch_length>\n+                <property applies_to="clade" datatype="xsd:string" id_ref="clade_marker_size" ref="A:1">20.5761787104</property>\n+                <clade>\n+                  <name>g__Helicobacter</name>\n+                  <branch_length>1.0</branch_length>\n+                  <property applies_to="clade" datatype="xsd:string" id_ref="clade_marker_size" ref="A:1">20.5761787104</property>\n+                  <clade>\n+                    <name>s__Helicobacter_pylori</name>\n+                    <branch_length>1.0</branch_length>\n+                    <property applies_to="clade" datatype="xsd:string" id_ref="clade_marker_size" ref="A:1">20.5761787104</property>\n+                    <clade>\n+                      <name>t__Helicobacter_pylori_unclassified</name>\n+                      <branch_length>1.0</branch_length>\n+                      <property applies_to="clade" datatype="xsd:string" id_ref="clade_marker_size" ref="A:1">20.5761787104</property>\n+                    </clade>\n+                  </clade>\n+                </clade>\n+              </clade>\n+            </clade>\n+          </clade>\n+        </clade>\n+      </clade>\n+    </clade>\n+    <property applies_to="phylogeny" datatype="xsd:string" id_ref="class_legend_marker_size" ref="A:1">1.5</property>\n+    <property applies_to="phylogeny" datatype="xsd:string" id_ref="class_legend_font_size" ref="A:1">10</property>\n+    <property applies_to="phylogeny" datatype="xsd:string" id_ref="branch_bracket_depth" ref="A:1">0.8</property>\n+    <property applies_to="phylogeny" datatype="xsd:string" id_ref="clade_separation" ref="A:1">0.5</property>\n+    <property applies_to="phylogeny" datatype="xsd:string" id_ref="branch_bracket_width" ref="A:1">0.2</property>\n+    <property applies_to="phylogeny" datatype="xsd:string" id_ref="annotation_legend_font_size" ref="A:1">10</property>\n+    <property applies_to="phylogeny" datatype="xsd:string" id_ref="leg_keys" ref="A:1">FIRMICUTES_._._PROTEOBACTERIA</property>\n+    <property applies_to="phylogeny" datatype="xsd:string" id_ref="leg_annotation_background_color" ref="A:1">._._._.</property>\n+    <property applies_to="phylogeny" datatype="xsd:string" id_ref="leg_annotation_background_edge_color" ref="A:1">._._._.</property>\n+    <property applies_to="phylogeny" datatype="xsd:string" id_ref="leg_clade_marker_color" ref="A:1">#2d19ff_._._#29cc36</property>\n+    <property applies_to="phylogeny" datatype="xsd:string" id_ref="leg_clade_marker_edge_width" ref="A:1">._._._.</property>\n+    <property applies_to="phylogeny" datatype="xsd:string" id_ref="leg_clade_marker_size" ref="A:1">40_._._40</property>\n+    <property applies_to="phylogeny" datatype="xsd:string" id_ref="ignore_branch_len" ref="A:1">1</property>\n+  </phylogeny>\n+</phyloxml>\n\\ No newline at end of file\n'
b
diff -r 000000000000 -r 83baf73b0e79 test-data/png_image.png
b
Binary file test-data/png_image.png has changed
b
diff -r 000000000000 -r 83baf73b0e79 tool_dependencies.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml Thu May 26 09:38:11 2016 -0400
b
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<tool_dependency>
+    <package name="biopython" version="1.66">
+        <repository changeset_revision="8433ee4531ff" name="package_biopython_1_66" owner="biopython" toolshed="https://toolshed.g2.bx.psu.edu" />
+    </package>
+    <package name="matplotlib" version="1.4">
+        <repository changeset_revision="f7424e1cf115" name="package_python_2_7_matplotlib_1_4" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu" />
+    </package>
+    <package name="graphlan" version="1.0.0">
+        <install version="1.0">
+            <actions>
+                <action type="shell_command">
+                    hg clone -u 1.0 https://hg@bitbucket.org/nsegata/graphlan
+                </action>
+                <action type="move_directory_files">
+                    <source_directory>.</source_directory>
+                    <destination_directory>$INSTALL_DIR/bin/</destination_directory>
+                </action>
+                <action type="set_environment">
+                    <environment_variable action="set_to" name="GRAPHLAN_DIR">$INSTALL_DIR/</environment_variable>
+                    <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
+                </action>
+            </actions>
+        </install>
+        <readme />
+    </package>
+</tool_dependency>