changeset 31:83f06bee818c draft

planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/metaphlan2/ commit a6bf1721b4efa39b8cbcd059288c68e4abf8f9bd-dirty
author bebatut
date Tue, 21 Feb 2017 12:29:37 -0500
parents 99fe591b59fb
children c941148c75c7
files extract_markers.xml generate_test_data.sh merge_metaphlan_tables.xml metaphlan2.xml metaphlan2_macros.xml metaphlan2krona.xml metaphlan_hclust_heatmap.xml repository_dependencies.xml test-data/heatmap.pdf test-data/heatmap.png test-data/heatmap.svg test-data/merged_community_profile.tabular tool-data/metaphlan2_database.loc.sample tool-data/metaphlan2_db.loc.sample tool_data_table_conf.xml.sample tool_dependencies.xml transform_json_to_pkl.py
diffstat 17 files changed, 1824 insertions(+), 82 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/extract_markers.xml	Tue Feb 21 12:29:37 2017 -0500
@@ -0,0 +1,50 @@
+<tool id="metaphlan2_extract_markers" name="Format MetaPhlAn2" version="@WRAPPER_VERSION@.0">
+
+    <description>output for Krona</description>
+
+    <macros>
+        <import>metaphlan2_macros.xml</import>
+    </macros>
+
+    <expand macro="requirements"/>
+    <expand macro="stdio"/>
+
+    <version_command>extract_markers.py -v</version_command>
+
+    <command>
+<![CDATA[
+        extract_markers.py
+            --mpa_pkl MPA_PKL
+            --ifn_markers IFN_MARKERS
+            --clade CLADE
+            --ofn_markers OFN_MARKERS
+]]>
+    </command>
+
+    <inputs>
+        <param name="input_file" type="data" format="tabular,txt" label="Input file (MetaPhlAN2 output)" help="(--profile)"/>
+    </inputs>
+
+    <outputs>
+        <data format="tabular" name="krona" label="${tool.name} on ${on_string}: Formatted file for Krona" />
+    </outputs>
+
+    <tests>
+        <test>
+            <param name="input_file" value="community_profile.tabular"/>
+            <output name="krona" file="formatted_to_krona.tabular"/>
+        </test>
+    </tests>
+
+    <help><![CDATA[
+
+**What it does**
+
+MetaPhlAn is a computational tool to profile the structure and the composition of microbial communities (Bacteria, Archaea, Eukaryotes and Viruses) from metagenomic shotgun sequencing data with species level resolution. For more information, check the `user manual <https://bitbucket.org/biobakery/metaphlan2/>`_.
+
+This tool formats MetaPhlAn2 output to be ready for Krona.
+
+    ]]></help>
+
+    <expand macro="citations"/>
+</tool>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/generate_test_data.sh	Tue Feb 21 12:29:37 2017 -0500
@@ -0,0 +1,49 @@
+#/usr/bin/env bash
+
+metaphlan_hclust_heatmap.py \
+    --in test-data/merged_community_profile.tabular \
+    --out test-data/heatmap.png \
+    -m 'average' \
+    -d 'braycurtis' \
+    -f 'correlation' \
+    --minv '0' \
+    --tax_lev 'a' \
+    --sdend_h '0.1' \
+    --fdend_w '0.1' \
+    --cm_h '0.03' \
+    --font_size '7' \
+    --clust_line_w '1' \
+    --perc '90' \
+    -c 'jet'
+
+metaphlan_hclust_heatmap.py \
+    --in test-data/merged_community_profile.tabular \
+    --out test-data/heatmap.pdf \
+    -m 'ward' \
+    -d 'euclidean' \
+    -f 'euclidean' \
+    --minv '0' \
+    --tax_lev 'a' \
+    --sdend_h '0.1' \
+    --fdend_w '0.1' \
+    --cm_h '0.03' \
+    --font_size '7' \
+    --clust_line_w '1' \
+    --perc '90' \
+    -c 'pink'
+
+metaphlan_hclust_heatmap.py \
+    --in test-data/merged_community_profile.tabular \
+    --out test-data/heatmap.svg \
+    -m 'complete' \
+    -d 'hamming' \
+    -f 'matching' \
+    --minv '0' \
+    --tax_lev 'a' \
+    --sdend_h '0.1' \
+    --fdend_w '0.1' \
+    --cm_h '0.03' \
+    --font_size '7' \
+    --clust_line_w '1' \
+    --perc '90' \
+    -c 'pink'
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/merge_metaphlan_tables.xml	Tue Feb 21 12:29:37 2017 -0500
@@ -0,0 +1,55 @@
+<tool id="metaphlan2_merge_metaphlan_tables" name="Merge" version="@WRAPPER_VERSION@.0">
+
+    <description>MetaPhlAn2 files</description>
+
+    <macros>
+        <import>metaphlan2_macros.xml</import>
+    </macros>
+
+    <expand macro="requirements"/>
+    <expand macro="stdio"/>
+
+    <version_command>merge_metaphlan_tables.py -v</version_command>
+
+    <command>
+<![CDATA[
+        merge_metaphlan_tables.py
+            #for $element in $input_files
+                '$element'
+            #end for
+            > '$output'
+]]>
+    </command>
+
+    <inputs>
+        <param name="input_files" type="data" format="tabular,txt" multiple="True" label="MetaPhlAn2 output file to join" />
+    </inputs>
+
+    <outputs>
+        <data format="tabular" name="output" label="${tool.name} on ${on_string}: Merged MetaPhlAn2 files" />
+    </outputs>
+
+    <tests>
+        <test>
+            <param name="input_files" value="community_profile.tabular,community_profile.tabular"/>
+            <output name="output">
+                <assert_contents>
+                    <has_text text="#SampleID" />
+                    <has_text text="k__Bacteria|p__Bacteroidetes|c__Bacteroidia|o__Bacteroidales|f__Bacteroidaceae|g__Bacteroides|s__Bacteroides_thetaiotaomicron|t__Bacteroides_thetaiotaomicron_unclassified" />
+                </assert_contents>
+            </output>
+        </test>
+    </tests>
+
+    <help><![CDATA[
+
+**What it does**
+
+MetaPhlAn is a computational tool to profile the structure and the composition of microbial communities (Bacteria, Archaea, Eukaryotes and Viruses) from metagenomic shotgun sequencing data with species level resolution. For more information, check the `user manual <https://bitbucket.org/biobakery/metaphlan2/>`_.
+
+This tool performs a table join on one or more metaphlan output files
+
+    ]]></help>
+
+    <expand macro="citations"/>
+</tool>
--- a/metaphlan2.xml	Thu Jun 16 06:07:23 2016 -0400
+++ b/metaphlan2.xml	Tue Feb 21 12:29:37 2017 -0500
@@ -1,4 +1,4 @@
-<tool id="metaphlan2" name="MetaPhlAn2" version="2.5.0">
+<tool id="metaphlan2" name="MetaPhlAn2" version="@WRAPPER_VERSION@.0">
 
     <description>to profile the composition of microbial communities</description>
 
@@ -6,7 +6,10 @@
         <import>metaphlan2_macros.xml</import>
     </macros>
 
-    <expand macro="requirements"/>
+    <expand macro="requirements">
+        <requirement type="package" version="2.2.5">bowtie2</requirement>
+    </expand>
+    
     <expand macro="stdio"/>
 
     <version_command>
@@ -24,87 +27,85 @@
         #if $db.db_selector == "history"
             mkdir ref_db
             &&
-            bowtie2-build $db.db_sequences ref_db/ref_db
+            bowtie2-build '$db.bowtie2db' 'ref_db/ref_db'
             &&
-            python $__tool_directory__/transform_json_to_pkl.py
-                --json_input $db_metadata
-                --pkl_output ref_db/metadata.pkl
+            python '$__tool_directory__/transform_json_to_pkl.py'
+                --json_input '$db.mpa_pkl'
+                --pkl_output 'ref_db/metadata.pkl'
             &&
         #end if
 
         metaphlan2.py
-            $input_file
-            -o $output_file
-            --input_type ${input_file.datatype.file_ext}
+            '$input_file'
+            -o '$output_file'
+            --input_type '${input_file.datatype.file_ext}'
 
             --bowtie2_exe `which bowtie2`
 
             #if $db.db_selector == "cached"
                 #set $table = dict([(_[0], _[2]) for _ in $db.cached_db.input.options.tool_data_table.data])
                 #set $db_choice = $db.cached_db.value
-                --bowtie2db $table[$db_choice]
+                --bowtie2db '$table[$db_choice]'
                 --mpa_pkl $table[$db_choice]".pkl"
             #else
-                --bowtie2db ref_db/ref_db
-                --mpa_pkl ref_db/metadata.pkl
+                --bowtie2db 'ref_db/ref_db'
+                --mpa_pkl 'ref_db/metadata.pkl'
             #end if
 
             --no_map
 
-            -t $analysis_type.analysis_type_select
-            #if $analysis_type.analysis_type_select == "rel_ab"
-                --tax_lev $analysis_type.taxonomic_level
+            -t '$analysis_type.analysis_type_select'
+            #if $analysis_type.analysis_type_select == "rel_ab" or $analysis_type.analysis_type_select == "rel_ab_w_read_stats"
+                --tax_lev '$analysis_type.taxonomic_level'
             #else if $analysis_type.analysis_type_select == "marker_ab_table"
-                --nreads $analysis_type.nreads
+                --nreads '$analysis_type.nreads'
             #else if $analysis_type.analysis_type_select == "marker_pres_table"
-                --pres_th $analysis_type.pres_th
+                --pres_th '$analysis_type.pres_th'
             #end if
 
-            --min_cu_len $min_cu_len
-            --min_alignment_len $min_alignment_len
+            --min_cu_len '$min_cu_len'
+            --min_alignment_len '$min_alignment_len'
 
             $ignore_viruses
             $ignore_eukaryotes
             $ignore_bacteria
             $ignore_archaea
 
-            --stat_q $stat_q
-            -s $sam_output_file
+            --stat_q '$stat_q'
+            -s '$sam_output_file'
+            --biom '$biom_output_file'
 ]]>
     </command>
 
     <inputs>
         <param name="input_file" type="data" format="fastq,fasta,sam" label="Input file" help=""/>
-
         <conditional name="db">
             <param name="db_selector" type="select" label="Database with clade-specific marker genes" help="">
                 <option value="cached" selected="true">Locally cached</option>
                 <option value="history">From history</option>
             </param>
-
             <when value="cached">
                 <param name="cached_db" label="Cached database with clade-specific marker genes" type="select" >
-                <options from_data_table="metaphlan2_db" />
+                <options from_data_table="metaphlan2_database" />
                 </param>
             </when>
             <when value="history">
-                <param name="db_sequences" type="data" format="fasta" label="Database with clade-specific marker genes from history" help="(--bowtie2db)"/>
-                <param name="db_metadata" type="data" format="json" label="Metadata associate to the database with clade-specific marker genes from history" help="(--mpa_pkl)"/>
+                <param argument="--bowtie2db" type="data" format="fasta" label="Database with clade-specific marker genes from history"/>
+                <param argument="--mpa_pkl" type="data" format="json" label="Metadata associate to the database with clade-specific marker genes from history"/>
             </when>
         </conditional>
-
         <conditional name="analysis_type">
-            <param name="analysis_type_select" type="select" label="Type of analysis to perform" help="(-t)">
+            <param name="analysis_type_select" type="select" label="Type of analysis to perform" argument="-t">
               <option value="rel_ab" selected="true">Profiling a metagenomes in terms of relative abundances</option>
+              <option value="rel_ab_w_read_stats">Profiling a metagenomes in terms of relative abundances and estimate the number of reads comming from each clade</option>
               <option value="reads_map">Mapping from reads to clades (only reads hitting a marker)</option>
               <option value="clade_profiles">Normalized marker counts for clades with at least a non-null marker</option>
               <option value="marker_ab_table">Normalized marker counts (only when > 0.0 and normalized by metagenome size if --nreads is specified)</option>
               <option value="marker_counts">Non-normalized marker counts (use with extreme caution)</option>
               <option value="marker_pres_table">List of markers present in the sample (threshold at 1.0 if not differently specified with --pres_th</option>
             </param>
-
             <when value="rel_ab">
-              <param name="taxonomic_level" type="select" label="Taxonomic level for the relative abundance output" help="(--tax_lev)">
+              <param argument="--taxonomic_level" type="select" label="Taxonomic level for the relative abundance output">
                 <option value="a" selected="true">All taxonomic levels</option>
                 <option value="k">Kingdoms (Bacteria and Archaea) only</option>
                 <option value="p">Phyla only</option>
@@ -115,46 +116,51 @@
                 <option value="s">Species only</option>
               </param>
             </when>
-
+            <when value="rel_ab_w_read_stats">
+              <param argument="--taxonomic_level" type="select" label="Taxonomic level for the relative abundance output">
+                <option value="a" selected="true">All taxonomic levels</option>
+                <option value="k">Kingdoms (Bacteria and Archaea) only</option>
+                <option value="p">Phyla only</option>
+                <option value="c">Classes only</option>
+                <option value="o">Orders only</option>
+                <option value="f">Families only</option>
+                <option value="g">Genera only</option>
+                <option value="s">Species only</option>
+              </param>
+            </when>
             <when value="reads_map"/>
             <when value="clade_profiles"/>
-
             <when value="marker_ab_table">
-                <param name="nreads" type="integer" value="0" label="Total number of reads in the original metagenome" help="It is used for normalizing the length-normalized counts with the metagenome size as well. No normalization applied if the value is not specified"/>
+                <param argument="--nreads" type="integer" value="0" label="Total number of reads in the original metagenome" help="It is used for normalizing the length-normalized counts with the metagenome size as well. No normalization applied if the value is not specified"/>
             </when>
-
             <when value="marker_counts"/>
-
             <when value="marker_pres_table">
-                <param name="pres_th" type="integer" value="0" label=" Threshold for calling a marker present" help=""/>
+                <param argument="--pres_th" type="integer" value="0" label=" Threshold for calling a marker present"/>
             </when>
         </conditional>
-
-        <param name="min_cu_len" type="integer" value="2000" label="Minimum total nucleotide length for the markers in a clade for estimating the abundance without considering sub-clade abundances" help=""/>
-
-        <param name="min_alignment_len" type="integer" value="0" label="Sam records for aligned reads with the longest subalignment length smaller than this threshold will be discarded." help=""/>
-
-        <param name="ignore_viruses" type='boolean' checked="true" truevalue='' falsevalue='--ignore_viruses' label="Profile viral organisms?" help="" />
-        <param name="ignore_eukaryotes" type='boolean' checked="true" truevalue='' falsevalue='--ignore_eukaryotes' label="Profile eukaryotic organisms?" help="" />
-
-        <param name="ignore_bacteria" type='boolean' checked="true" truevalue='' falsevalue='--ignore_bacteria' label="Profile bacteria organisms?" help="" />
-
-        <param name="ignore_archaea" type='boolean' checked="true" truevalue='' falsevalue='--ignore_archaea' label="Profile archea organisms?" help="" />
-
-        <param name="stat_q" type="float" value="0.1" label="Quantile value for the robust average" help=""/>
+        <param argument="--min_cu_len" type="integer" value="2000" label="Minimum total nucleotide length for the markers in a clade for estimating the abundance without considering sub-clade abundances"/>
+        <param argument="--min_alignment_len" type="integer" value="0" label="Sam records for aligned reads with the longest subalignment length smaller than this threshold will be discarded."/>
+        <param argument="--ignore_viruses" type='boolean' checked="true" truevalue='' falsevalue='--ignore_viruses' label="Profile viral organisms?"/>
+        <param argument="--ignore_eukaryotes" type='boolean' checked="true" truevalue='' falsevalue='--ignore_eukaryotes' label="Profile eukaryotic organisms?"/>
+        <param argument="--ignore_bacteria" type='boolean' checked="true" truevalue='' falsevalue='--ignore_bacteria' label="Profile bacteria organisms?"/>
+        <param argument="--ignore_archaea" type='boolean' checked="true" truevalue='' falsevalue='--ignore_archaea' label="Profile archea organisms?"/>
+        <param argument="--stat_q" type="float" value="0.1" label="Quantile value for the robust average"/>
+        <param argument="--sample_id_key" type="text" value="#SampleID" label="Sample ID key"/>
+        <param argument="--sample_id" type="text" value="Metaphlan2_Analysis" label="Sample ID"/>
     </inputs>
 
     <outputs>
         <data format="tabular" name="output_file" label="${tool.name} on ${on_string}: Community profile" />
         <data format="sam" name="sam_output_file" label="${tool.name} on ${on_string}: SAM file" />
+        <data format="biom" name="biom_output_file" label="${tool.name} on ${on_string}: BIOM file" />
     </outputs>
 
     <tests>
         <test>
             <param name="input_file" value="input_sequences.fasta"/>
             <param name="db_selector" value="history" />
-            <param name="db_metadata" value="marker_metadata.json" />
-            <param name="db_sequences" value="marker_sequences.fasta" />
+            <param name="mpa_pkl" value="marker_metadata.json" />
+            <param name="bowtie2db" value="marker_sequences.fasta" />
             <param name="analysis_type_select" value="rel_ab" />
             <param name="taxonomic_level" value="a" />
             <param name="min_cu_len" value="2000" />
@@ -164,6 +170,8 @@
             <param name="ignore_bacteria" value="" />
             <param name="ignore_archaea" value="" />
             <param name="stat_q" value="0.1" />
+            <param name="sample_id_key" value="#SampleID"/>
+            <param name="sample_id" value="Metaphlan2_Analysis"/>
             <output name="output_file" file="community_profile.tabular"/>
         </test>
     </tests>
@@ -207,7 +215,5 @@
 
     ]]></help>
 
-    <citations>
-        <citation type="doi">10.1038/nmeth.3589</citation>
-    </citations>
+    <expand macro="citations"/>
 </tool>
--- a/metaphlan2_macros.xml	Thu Jun 16 06:07:23 2016 -0400
+++ b/metaphlan2_macros.xml	Tue Feb 21 12:29:37 2017 -0500
@@ -1,10 +1,10 @@
 <?xml version="1.0"?>
 <macros>
+    <token name="@WRAPPER_VERSION@">2.6.0</token>
     <xml name="requirements">
         <requirements>
-            <requirement type="package" version="2.2.5">bowtie2</requirement>
-            <requirement type="package" version="1.9">numpy</requirement>
-            <requirement type="package" version="2.5.0">metaphlan2</requirement>
+            <requirement type="package" version="@WRAPPER_VERSION@">metaphlan2</requirement>
+            <yield/>
         </requirements>
     </xml>
     <xml name="stdio">
@@ -20,4 +20,9 @@
                    description="" />
         </stdio>
     </xml>
+    <xml name="citations">
+      <citations>
+          <citation type="doi">10.1038/nmeth.3589</citation>
+      </citations>
+    </xml>
 </macros>
--- a/metaphlan2krona.xml	Thu Jun 16 06:07:23 2016 -0400
+++ b/metaphlan2krona.xml	Tue Feb 21 12:29:37 2017 -0500
@@ -1,4 +1,4 @@
-<tool id="metaphlan2krona" name="Format MetaPhlAn2" version="2.5.0">
+<tool id="metaphlan2krona" name="Format MetaPhlAn2" version="@WRAPPER_VERSION@.0">
 
     <description>output for Krona</description>
 
@@ -9,22 +9,18 @@
     <expand macro="requirements"/>
     <expand macro="stdio"/>
 
-    <version_command>
-<![CDATA[
-metaphlan2krona.py -v
-]]>
-    </version_command>
+    <version_command>metaphlan2krona.py -v</version_command>
 
     <command>
 <![CDATA[
         metaphlan2krona.py
-            -p $input_file
-            -k $krona
+            --profile '$profile'
+            -k '$krona'
 ]]>
     </command>
 
     <inputs>
-        <param name="input_file" type="data" format="tabular,txt" label="Input file (MetaPhlAN2 output)" help="(--profile)"/>
+        <param argument="--profile" type="data" format="tabular,txt" label="Input file (MetaPhlAN2 output)"/>
     </inputs>
 
     <outputs>
@@ -33,7 +29,7 @@
 
     <tests>
         <test>
-            <param name="input_file" value="community_profile.tabular"/>
+            <param name="profile" value="community_profile.tabular"/>
             <output name="krona" file="formatted_to_krona.tabular"/>
         </test>
     </tests>
@@ -48,7 +44,5 @@
 
     ]]></help>
 
-    <citations>
-        <citation type="doi">10.1038/nmeth.3589</citation>
-    </citations>
+    <expand macro="citations"/>
 </tool>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/metaphlan_hclust_heatmap.xml	Tue Feb 21 12:29:37 2017 -0500
@@ -0,0 +1,276 @@
+<tool id="metaphlan2_metaphlan_hclust_heatmap" name="Generate heatmap" version="@WRAPPER_VERSION@.0">
+
+    <description>with hierarchical clustering of both samples
+and microbial clades for MetaPhlAn2</description>
+
+    <macros>
+        <import>metaphlan2_macros.xml</import>
+    </macros>
+
+    <expand macro="requirements"/>
+    <expand macro="stdio"/>
+
+    <version_command>metaphlan_hclust_heatmap.py -v</version_command>
+
+    <command>
+<![CDATA[
+        metaphlan_hclust_heatmap.py
+            --in '$in'
+
+            #if $output_format == "png"
+                --out 'output.png'
+            #else if $output_format == "pdf"
+                --out 'output.pdf'
+            #else if $output_format == "svg"
+                --out 'output.svg'
+            #end if
+
+            -m '$m'
+            -d '$d'
+            -f '$f'
+
+            #if $x
+                -x '$x'
+            #end if
+            #if $y
+                -y '$y'
+            #end if
+            --minv '$minv'
+            #if $maxv
+                --maxv $maxv
+            #end if
+            --tax_lev '$tax_lev'
+            --perc '$perc'
+            #if $top
+                --top '$top'
+            #end if
+            --sdend_h '$sdend_h'
+            --fdend_w '$fdend_w'
+            --cm_h '$cm_h'
+            --font_size '$font_size'
+            --clust_line_w '$clust_line_w'
+            -c '$c'
+]]>
+    </command>
+
+    <inputs>
+        <param argument="--in" type="data" format="tabular,txt" label="Input file of microbial relative abundances" help="This file is typically obtained with merge_metaphlan_tables"/>
+        <param name="output_format" type="select" label="Format for the output image">
+            <option value="png" selected="true">PNG</option>
+            <option value="pdf">PDF</option>
+            <option value="svg">SVG</option>
+        </param>
+        <param argument="-m" type="select" label="Hierarchical clustering method">
+            <option value="average" selected="true">Average</option>
+            <option value="centroid">Centroid</option>
+            <option value="complete">Complete</option>
+            <option value="median">Median</option>
+            <option value="single">Single</option>
+            <option value="ward">Ward</option>
+            <option value="weighted">Weighted</option>
+        </param>
+        <param argument="-d" type="select" label="Distance function for samples">
+            <option value="braycurtis" selected="true">braycurtis</option>
+            <option value="canberra">canberra</option>
+            <option value="chebyshev">chebyshev</option>
+            <option value="cityblock">cityblock</option>
+            <option value="correlation">correlation</option>
+            <option value="cosine">cosine</option>
+            <option value="dice">dice</option>
+            <option value="euclidean">euclidean</option>
+            <option value="hamming">hamming</option>
+            <option value="jaccard">jaccard</option>
+            <option value="kulsinski">kulsinski</option>
+            <option value="mahalanobis">mahalanobis</option>
+            <option value="matching">matching</option>
+            <option value="minkowski">minkowski</option>
+            <option value="rogerstanimoto">rogerstanimoto</option>
+            <option value="russellrao">russellrao</option>
+            <option value="seuclidean">seuclidean</option>
+            <option value="sokalmichener">sokalmichener</option>
+            <option value="sokalsneath">sokalsneath</option>
+            <option value="sqeuclidean">sqeuclidean</option>
+            <option value="wminkowski">wminkowski</option>
+            <option value="ward">ward</option>            
+            <option value="yule">yule</option>
+        </param>
+        <param argument="-f" type="select" label="Distance function for microbes">
+            <option value="braycurtis">braycurtis</option>
+            <option value="canberra">canberra</option>
+            <option value="chebyshev">chebyshev</option>
+            <option value="cityblock">cityblock</option>
+            <option value="correlation" selected="true">correlation</option>
+            <option value="cosine">cosine</option>
+            <option value="dice">dice</option>
+            <option value="euclidean">euclidean</option>
+            <option value="hamming">hamming</option>
+            <option value="jaccard">jaccard</option>
+            <option value="kulsinski">kulsinski</option>
+            <option value="mahalanobis">mahalanobis</option>
+            <option value="matching">matching</option>
+            <option value="minkowski">minkowski</option>
+            <option value="rogerstanimoto">rogerstanimoto</option>
+            <option value="russellrao">russellrao</option>
+            <option value="seuclidean">seuclidean</option>
+            <option value="sokalmichener">sokalmichener</option>
+            <option value="sokalsneath">sokalsneath</option>
+            <option value="sqeuclidean">sqeuclidean</option>
+            <option value="wminkowski">wminkowski</option>
+            <option value="ward">ward</option>            
+            <option value="yule">yule</option>
+        </param>
+        <param argument="-x" type="integer" optional="True" label="Width of heatmap cells" help="Automatically set, this option should not be necessary unless for very large heatmaps"/>
+        <param argument="-y" type="integer" optional="True" label="Height of heatmap cells" help="Automatically set, this option should not be necessary unless for very large heatmaps"/>
+        <param argument="--minv" type="float" value="0" label="Minimum value to display" help="Values around 0.001 are also reasonable"/>
+        <param argument="--maxv" type="float" optional="True" label="Maximum value to display" help="Default is maximum value present, can be set e.g. to 100 to display the full scale"/>
+        <param argument="--tax_lev" type="select" label="Taxonomic level to display">
+            <option value="a">All taxonomic levels</option>
+            <option value="k">Kingdoms (Bacteria and Archaea) only</option>
+            <option value="p">Phyla only</option>
+            <option value="c">Classes only</option>
+            <option value="o">Orders only</option>
+            <option value="f">Families only</option>
+            <option value="g">Genera only</option>
+            <option value="s" selected="true">Species only</option>
+        </param>
+        <param argument="--perc" type="integer" value="90" label="Percentile to be used for ordering the microbes"/>
+        <param argument="--top" type="integer" optional="True" label="Number of most abundant microbes to display"/>
+        <param argument="--sdend_h" type="float" value="0.1" label="Height of the sample dendrogram"/>
+        <param argument="--fdend_w" type="float" value="0.1" label="Width of the sample dendrogram"/>
+        <param argument="--cm_h" type="float" value="0.03" label="Height of the colormap"/>
+        <param argument="--font_size" type="integer" value="7" label="Label font sizes"/>
+        <param argument="--clust_line_w" type="float" value="" label="Line width for the dendrograms"/>
+        <param argument="-c" type="select" label="Taxonomic level to display">
+            <option value="autumn">autumn</option>
+            <option value="bbcyr">bbcyr</option>
+            <option value="bbcry">bbcry</option>
+            <option value="binary">binary</option>
+            <option value="Blues">Blues</option>
+            <option value="bone">bone</option>
+            <option value="BrBG">BrBG</option>
+            <option value="brg">brg</option>
+            <option value="BuGn">BuGn</option>
+            <option value="BuPu">BuPu</option>
+            <option value="bwr">bwr</option>
+            <option value="cool">cool</option>
+            <option value="copper">copper</option>
+            <option value="gist_earth">gist_earth</option>
+            <option value="gist_ncar">gist_ncar</option>
+            <option value="gist_rainbow">gist_rainbow</option>
+            <option value="gist_stern">gist_stern</option>
+            <option value="GnBu">GnBu</option>
+            <option value="gray">gray</option>
+            <option value="Greys">Greys</option>
+            <option value="hot">hot</option>
+            <option value="hsv">hsv</option>
+            <option value="jet" selected="true">jet</option>
+            <option value="OrRd">OrRd</option>
+            <option value="Oranges">Oranges</option>
+            <option value="PRGn">PRGn</option>
+            <option value="pink">pink</option>
+            <option value="PiYG">PiYG</option>
+            <option value="PuBu">PuBu</option>
+            <option value="PuBuGn">PuBuGn</option>
+            <option value="PuOr">PuOr</option>
+            <option value="PuRd">PuRd</option>
+            <option value="Purples">Purples</option>
+            <option value="RdBu">RdBu</option>
+            <option value="RdGy">RdGy</option>
+            <option value="RdPu">RdPu</option>            
+            <option value="RdYlBu">RdYlBu</option>
+            <option value="RdYlGn">RdYlGn</option>
+            <option value="Reds">Reds</option>
+            <option value="seismic">seismic</option>
+            <option value="spectral">spectral</option>
+            <option value="Spectral">Spectral</option>
+            <option value="spring">spring</option>
+            <option value="summer">summer</option>
+            <option value="terrain">terrain</option>
+            <option value="winter">winter</option>
+            <option value="YlGn">YlGn</option>
+            <option value="YlGnBu">YlGnBu</option>
+            <option value="YlOrBr">YlOrBr</option>
+            <option value="YlOrRd">YlOrRd</option>
+        </param>
+    </inputs>
+
+    <outputs>
+        <data format="pdf" name="out_pdf" from_work_dir="output.pdf" label="${tool.name} on ${on_string}">
+            <filter>output_format == "pdf"</filter>
+        </data>
+        <data format="png" name="out_png" from_work_dir="output.png" label="${tool.name} on ${on_string}">
+            <filter>output_format == "png"</filter>
+        </data>
+        <data format="svg" name="out_svg" from_work_dir="output.svg" label="${tool.name} on ${on_string}">
+            <filter>output_format == "svg"</filter>
+        </data>
+    </outputs>
+
+    <tests>
+        <test>
+            <param name="in" value="merged_community_profile.tabular"/>
+            <param name="output_format" value="png"/>
+            <param name="m" value="average"/>
+            <param name="d" value="braycurtis"/>
+            <param name="f" value="correlation"/>
+            <param name="minv" value="0"/>
+            <param name="tax_lev" value="a"/>
+            <param name="perc" value="90"/>
+            <param name="sdend_h" value="0.1"/>
+            <param name="fdend_w" value="0.1"/>
+            <param name="cm_h" value="0.03"/>
+            <param name="font_size" value="7"/>
+            <param name="clust_line_w" value="1"/>
+            <param name="c" value="jet"/>
+            <output name="out_png" file="heatmap.png" lines_diff='5'/>
+        </test>
+        <test>
+            <param name="in" value="merged_community_profile.tabular"/>
+            <param name="output_format" value="pdf"/>
+            <param name="m" value="ward"/>
+            <param name="d" value="euclidean"/>
+            <param name="f" value="euclidean"/>
+            <param name="minv" value="0"/>
+            <param name="tax_lev" value="a"/>
+            <param name="perc" value="90"/>
+            <param name="sdend_h" value="0.1"/>
+            <param name="fdend_w" value="0.1"/>
+            <param name="cm_h" value="0.03"/>
+            <param name="font_size" value="7"/>
+            <param name="clust_line_w" value="1"/>
+            <param name="c" value="pink"/>
+            <output name="out_pdf" md5="35702e08d994cd64371cdce3e025dc5a"/>
+        </test>
+        <test>
+            <param name="in" value="merged_community_profile.tabular"/>
+            <param name="output_format" value="svg"/>
+            <param name="m" value="complete"/>
+            <param name="d" value="hamming"/>
+            <param name="f" value="matching"/>
+            <param name="minv" value="0"/>
+            <param name="tax_lev" value="a"/>
+            <param name="perc" value="90"/>
+            <param name="sdend_h" value="0.1"/>
+            <param name="fdend_w" value="0.1"/>
+            <param name="cm_h" value="0.03"/>
+            <param name="font_size" value="7"/>
+            <param name="clust_line_w" value="1"/>
+            <param name="c" value="pink"/>
+            <output name="out_svg" md5="844799aca7af03db2c2f6222b873c8cf"/>
+        </test>
+    </tests>
+
+    <help><![CDATA[
+
+**What it does**
+
+MetaPhlAn is a computational tool to profile the structure and the composition of microbial communities (Bacteria, Archaea, Eukaryotes and Viruses) from metagenomic shotgun sequencing data with species level resolution. For more information, check the `user manual <https://bitbucket.org/biobakery/metaphlan2/>`_.
+
+This tool generates heatmaps with hierarchical clustering of both samples
+and microbial clades. The script can also subsample the number of clades to
+display based on the their nth percentile abundance value in each sample
+
+    ]]></help>
+
+    <expand macro="citations"/>
+</tool>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/repository_dependencies.xml	Tue Feb 21 12:29:37 2017 -0500
@@ -0,0 +1,4 @@
+<?xml version="1.0"?>
+<repositories description="This requires the MetaPhlAn2 data manager definition to install all required databases.">
+    <repository changeset_revision="332cb1b3b349" name="data_manager_humann2_database_downloader" owner="bebatut" toolshed="https://testtoolshed.g2.bx.psu.edu" />
+</repositories>
Binary file test-data/heatmap.pdf has changed
Binary file test-data/heatmap.png has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/heatmap.svg	Tue Feb 21 12:29:37 2017 -0500
@@ -0,0 +1,1291 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
+  "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<!-- Created with matplotlib (http://matplotlib.org/) -->
+<svg height="316pt" version="1.1" viewBox="0 0 382 316" width="382pt" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <defs>
+  <style type="text/css">
+*{stroke-linecap:butt;stroke-linejoin:round;}
+  </style>
+ </defs>
+ <g id="figure_1">
+  <g id="patch_1">
+   <path d="M 0 316.460719 
+L 382.864688 316.460719 
+L 382.864688 0 
+L 0 0 
+z
+" style="fill:#ffffff;"/>
+  </g>
+  <g id="axes_1">
+   <g id="matplotlib.axis_1"/>
+   <g id="matplotlib.axis_2"/>
+   <g id="LineCollection_1">
+    <path clip-path="url(#p35d92c4cfd)" d="M 39.5 118.124 
+L 39.5 118.124 
+L 39.5 103.724 
+L 39.5 103.724 
+" style="fill:none;stroke:#000000;"/>
+    <path clip-path="url(#p35d92c4cfd)" d="M 39.5 132.524 
+L 39.5 132.524 
+L 39.5 110.924 
+L 39.5 110.924 
+" style="fill:none;stroke:#000000;"/>
+    <path clip-path="url(#p35d92c4cfd)" d="M 39.5 146.924 
+L 39.5 146.924 
+L 39.5 121.724 
+L 39.5 121.724 
+" style="fill:none;stroke:#000000;"/>
+    <path clip-path="url(#p35d92c4cfd)" d="M 39.5 161.324 
+L 39.5 161.324 
+L 39.5 134.324 
+L 39.5 134.324 
+" style="fill:none;stroke:#000000;"/>
+    <path clip-path="url(#p35d92c4cfd)" d="M 39.5 175.724 
+L 39.5 175.724 
+L 39.5 147.824 
+L 39.5 147.824 
+" style="fill:none;stroke:#000000;"/>
+    <path clip-path="url(#p35d92c4cfd)" d="M 39.5 190.124 
+L 39.5 190.124 
+L 39.5 161.774 
+L 39.5 161.774 
+" style="fill:none;stroke:#000000;"/>
+    <path clip-path="url(#p35d92c4cfd)" d="M 39.5 204.524 
+L 39.5 204.524 
+L 39.5 175.949 
+L 39.5 175.949 
+" style="fill:none;stroke:#000000;"/>
+    <path clip-path="url(#p35d92c4cfd)" d="M 39.5 218.924 
+L 39.5 218.924 
+L 39.5 190.2365 
+L 39.5 190.2365 
+" style="fill:none;stroke:#000000;"/>
+    <path clip-path="url(#p35d92c4cfd)" d="M 39.5 233.324 
+L 39.5 233.324 
+L 39.5 204.58025 
+L 39.5 204.58025 
+" style="fill:none;stroke:#000000;"/>
+   </g>
+  </g>
+  <g id="axes_2">
+   <g id="matplotlib.axis_3"/>
+   <g id="matplotlib.axis_4"/>
+   <g id="LineCollection_2">
+    <path clip-path="url(#p4770d5a667)" d="M 104.3 67.724 
+L 104.3 67.724 
+L 176.3 67.724 
+L 176.3 67.724 
+" style="fill:none;stroke:#000000;"/>
+   </g>
+  </g>
+  <g id="axes_3">
+   <g id="patch_2">
+    <path d="M 68.3 240.524 
+L 212.3 240.524 
+L 212.3 96.524 
+L 68.3 96.524 
+z
+" style="fill:#1e0000;"/>
+   </g>
+   <g clip-path="url(#p82d1fad6e8)">
+    <image height="144" id="imageaa5496bdc6" transform="scale(1 -1)translate(0 -144)" width="144" x="68.3" xlink:href="data:image/png;base64,
+iVBORw0KGgoAAAANSUhEUgAAAlgAAAJYCAYAAAC+ZpjcAAAABHNCSVQICAgIfAhkiAAACrxJREFUeJzt2EENAzEQBEE7QEL7gByUANqQaMmSVYVgnq3Z37VmAQCQ+ZweAABwG4EFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAMYEFABATWAAAsf17nzk9AgDgJh4sAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAICYwAIAiAksAIDYnpk5PQIA4CYeLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACAmMACAIgJLACA2B+lhAzj0CCqjgAAAABJRU5ErkJggg==" y="-96.524"/>
+   </g>
+   <g id="matplotlib.axis_5">
+    <g id="xtick_1">
+     <g id="line2d_1"/>
+     <g id="text_1">
+      <!-- community_profile -->
+      <defs>
+       <path d="M 48.78125 52.59375 
+L 48.78125 44.1875 
+Q 44.96875 46.296875 41.140625 47.34375 
+Q 37.3125 48.390625 33.40625 48.390625 
+Q 24.65625 48.390625 19.8125 42.84375 
+Q 14.984375 37.3125 14.984375 27.296875 
+Q 14.984375 17.28125 19.8125 11.734375 
+Q 24.65625 6.203125 33.40625 6.203125 
+Q 37.3125 6.203125 41.140625 7.25 
+Q 44.96875 8.296875 48.78125 10.40625 
+L 48.78125 2.09375 
+Q 45.015625 0.34375 40.984375 -0.53125 
+Q 36.96875 -1.421875 32.421875 -1.421875 
+Q 20.0625 -1.421875 12.78125 6.34375 
+Q 5.515625 14.109375 5.515625 27.296875 
+Q 5.515625 40.671875 12.859375 48.328125 
+Q 20.21875 56 33.015625 56 
+Q 37.15625 56 41.109375 55.140625 
+Q 45.0625 54.296875 48.78125 52.59375 
+" id="DejaVuSans-63"/>
+       <path d="M 30.609375 48.390625 
+Q 23.390625 48.390625 19.1875 42.75 
+Q 14.984375 37.109375 14.984375 27.296875 
+Q 14.984375 17.484375 19.15625 11.84375 
+Q 23.34375 6.203125 30.609375 6.203125 
+Q 37.796875 6.203125 41.984375 11.859375 
+Q 46.1875 17.53125 46.1875 27.296875 
+Q 46.1875 37.015625 41.984375 42.703125 
+Q 37.796875 48.390625 30.609375 48.390625 
+M 30.609375 56 
+Q 42.328125 56 49.015625 48.375 
+Q 55.71875 40.765625 55.71875 27.296875 
+Q 55.71875 13.875 49.015625 6.21875 
+Q 42.328125 -1.421875 30.609375 -1.421875 
+Q 18.84375 -1.421875 12.171875 6.21875 
+Q 5.515625 13.875 5.515625 27.296875 
+Q 5.515625 40.765625 12.171875 48.375 
+Q 18.84375 56 30.609375 56 
+" id="DejaVuSans-6f"/>
+       <path d="M 52 44.1875 
+Q 55.375 50.25 60.0625 53.125 
+Q 64.75 56 71.09375 56 
+Q 79.640625 56 84.28125 50.015625 
+Q 88.921875 44.046875 88.921875 33.015625 
+L 88.921875 0 
+L 79.890625 0 
+L 79.890625 32.71875 
+Q 79.890625 40.578125 77.09375 44.375 
+Q 74.3125 48.1875 68.609375 48.1875 
+Q 61.625 48.1875 57.5625 43.546875 
+Q 53.515625 38.921875 53.515625 30.90625 
+L 53.515625 0 
+L 44.484375 0 
+L 44.484375 32.71875 
+Q 44.484375 40.625 41.703125 44.40625 
+Q 38.921875 48.1875 33.109375 48.1875 
+Q 26.21875 48.1875 22.15625 43.53125 
+Q 18.109375 38.875 18.109375 30.90625 
+L 18.109375 0 
+L 9.078125 0 
+L 9.078125 54.6875 
+L 18.109375 54.6875 
+L 18.109375 46.1875 
+Q 21.1875 51.21875 25.484375 53.609375 
+Q 29.78125 56 35.6875 56 
+Q 41.65625 56 45.828125 52.96875 
+Q 50 49.953125 52 44.1875 
+" id="DejaVuSans-6d"/>
+       <path d="M 8.5 21.578125 
+L 8.5 54.6875 
+L 17.484375 54.6875 
+L 17.484375 21.921875 
+Q 17.484375 14.15625 20.5 10.265625 
+Q 23.53125 6.390625 29.59375 6.390625 
+Q 36.859375 6.390625 41.078125 11.03125 
+Q 45.3125 15.671875 45.3125 23.6875 
+L 45.3125 54.6875 
+L 54.296875 54.6875 
+L 54.296875 0 
+L 45.3125 0 
+L 45.3125 8.40625 
+Q 42.046875 3.421875 37.71875 1 
+Q 33.40625 -1.421875 27.6875 -1.421875 
+Q 18.265625 -1.421875 13.375 4.4375 
+Q 8.5 10.296875 8.5 21.578125 
+M 31.109375 56 
+z
+" id="DejaVuSans-75"/>
+       <path d="M 54.890625 33.015625 
+L 54.890625 0 
+L 45.90625 0 
+L 45.90625 32.71875 
+Q 45.90625 40.484375 42.875 44.328125 
+Q 39.84375 48.1875 33.796875 48.1875 
+Q 26.515625 48.1875 22.3125 43.546875 
+Q 18.109375 38.921875 18.109375 30.90625 
+L 18.109375 0 
+L 9.078125 0 
+L 9.078125 54.6875 
+L 18.109375 54.6875 
+L 18.109375 46.1875 
+Q 21.34375 51.125 25.703125 53.5625 
+Q 30.078125 56 35.796875 56 
+Q 45.21875 56 50.046875 50.171875 
+Q 54.890625 44.34375 54.890625 33.015625 
+" id="DejaVuSans-6e"/>
+       <path d="M 9.421875 54.6875 
+L 18.40625 54.6875 
+L 18.40625 0 
+L 9.421875 0 
+z
+M 9.421875 75.984375 
+L 18.40625 75.984375 
+L 18.40625 64.59375 
+L 9.421875 64.59375 
+z
+" id="DejaVuSans-69"/>
+       <path d="M 18.3125 70.21875 
+L 18.3125 54.6875 
+L 36.8125 54.6875 
+L 36.8125 47.703125 
+L 18.3125 47.703125 
+L 18.3125 18.015625 
+Q 18.3125 11.328125 20.140625 9.421875 
+Q 21.96875 7.515625 27.59375 7.515625 
+L 36.8125 7.515625 
+L 36.8125 0 
+L 27.59375 0 
+Q 17.1875 0 13.234375 3.875 
+Q 9.28125 7.765625 9.28125 18.015625 
+L 9.28125 47.703125 
+L 2.6875 47.703125 
+L 2.6875 54.6875 
+L 9.28125 54.6875 
+L 9.28125 70.21875 
+z
+" id="DejaVuSans-74"/>
+       <path d="M 32.171875 -5.078125 
+Q 28.375 -14.84375 24.75 -17.8125 
+Q 21.140625 -20.796875 15.09375 -20.796875 
+L 7.90625 -20.796875 
+L 7.90625 -13.28125 
+L 13.1875 -13.28125 
+Q 16.890625 -13.28125 18.9375 -11.515625 
+Q 21 -9.765625 23.484375 -3.21875 
+L 25.09375 0.875 
+L 2.984375 54.6875 
+L 12.5 54.6875 
+L 29.59375 11.921875 
+L 46.6875 54.6875 
+L 56.203125 54.6875 
+z
+" id="DejaVuSans-79"/>
+       <path d="M 50.984375 -16.609375 
+L 50.984375 -23.578125 
+L -0.984375 -23.578125 
+L -0.984375 -16.609375 
+z
+" id="DejaVuSans-5f"/>
+       <path d="M 18.109375 8.203125 
+L 18.109375 -20.796875 
+L 9.078125 -20.796875 
+L 9.078125 54.6875 
+L 18.109375 54.6875 
+L 18.109375 46.390625 
+Q 20.953125 51.265625 25.265625 53.625 
+Q 29.59375 56 35.59375 56 
+Q 45.5625 56 51.78125 48.09375 
+Q 58.015625 40.1875 58.015625 27.296875 
+Q 58.015625 14.40625 51.78125 6.484375 
+Q 45.5625 -1.421875 35.59375 -1.421875 
+Q 29.59375 -1.421875 25.265625 0.953125 
+Q 20.953125 3.328125 18.109375 8.203125 
+M 48.6875 27.296875 
+Q 48.6875 37.203125 44.609375 42.84375 
+Q 40.53125 48.484375 33.40625 48.484375 
+Q 26.265625 48.484375 22.1875 42.84375 
+Q 18.109375 37.203125 18.109375 27.296875 
+Q 18.109375 17.390625 22.1875 11.75 
+Q 26.265625 6.109375 33.40625 6.109375 
+Q 40.53125 6.109375 44.609375 11.75 
+Q 48.6875 17.390625 48.6875 27.296875 
+" id="DejaVuSans-70"/>
+       <path d="M 41.109375 46.296875 
+Q 39.59375 47.171875 37.8125 47.578125 
+Q 36.03125 48 33.890625 48 
+Q 26.265625 48 22.1875 43.046875 
+Q 18.109375 38.09375 18.109375 28.8125 
+L 18.109375 0 
+L 9.078125 0 
+L 9.078125 54.6875 
+L 18.109375 54.6875 
+L 18.109375 46.1875 
+Q 20.953125 51.171875 25.484375 53.578125 
+Q 30.03125 56 36.53125 56 
+Q 37.453125 56 38.578125 55.875 
+Q 39.703125 55.765625 41.0625 55.515625 
+z
+" id="DejaVuSans-72"/>
+       <path d="M 37.109375 75.984375 
+L 37.109375 68.5 
+L 28.515625 68.5 
+Q 23.6875 68.5 21.796875 66.546875 
+Q 19.921875 64.59375 19.921875 59.515625 
+L 19.921875 54.6875 
+L 34.71875 54.6875 
+L 34.71875 47.703125 
+L 19.921875 47.703125 
+L 19.921875 0 
+L 10.890625 0 
+L 10.890625 47.703125 
+L 2.296875 47.703125 
+L 2.296875 54.6875 
+L 10.890625 54.6875 
+L 10.890625 58.5 
+Q 10.890625 67.625 15.140625 71.796875 
+Q 19.390625 75.984375 28.609375 75.984375 
+z
+" id="DejaVuSans-66"/>
+       <path d="M 9.421875 75.984375 
+L 18.40625 75.984375 
+L 18.40625 0 
+L 9.421875 0 
+z
+" id="DejaVuSans-6c"/>
+       <path d="M 56.203125 29.59375 
+L 56.203125 25.203125 
+L 14.890625 25.203125 
+Q 15.484375 15.921875 20.484375 11.0625 
+Q 25.484375 6.203125 34.421875 6.203125 
+Q 39.59375 6.203125 44.453125 7.46875 
+Q 49.3125 8.734375 54.109375 11.28125 
+L 54.109375 2.78125 
+Q 49.265625 0.734375 44.1875 -0.34375 
+Q 39.109375 -1.421875 33.890625 -1.421875 
+Q 20.796875 -1.421875 13.15625 6.1875 
+Q 5.515625 13.8125 5.515625 26.8125 
+Q 5.515625 40.234375 12.765625 48.109375 
+Q 20.015625 56 32.328125 56 
+Q 43.359375 56 49.78125 48.890625 
+Q 56.203125 41.796875 56.203125 29.59375 
+M 47.21875 32.234375 
+Q 47.125 39.59375 43.09375 43.984375 
+Q 39.0625 48.390625 32.421875 48.390625 
+Q 24.90625 48.390625 20.390625 44.140625 
+Q 15.875 39.890625 15.1875 32.171875 
+z
+" id="DejaVuSans-65"/>
+      </defs>
+      <g transform="translate(106.134219 309.260719)rotate(-90)scale(0.07 -0.07)">
+       <use xlink:href="#DejaVuSans-63"/>
+       <use x="54.980469" xlink:href="#DejaVuSans-6f"/>
+       <use x="116.162109" xlink:href="#DejaVuSans-6d"/>
+       <use x="213.574219" xlink:href="#DejaVuSans-6d"/>
+       <use x="310.986328" xlink:href="#DejaVuSans-75"/>
+       <use x="374.365234" xlink:href="#DejaVuSans-6e"/>
+       <use x="437.744141" xlink:href="#DejaVuSans-69"/>
+       <use x="465.527344" xlink:href="#DejaVuSans-74"/>
+       <use x="504.736328" xlink:href="#DejaVuSans-79"/>
+       <use x="563.916016" xlink:href="#DejaVuSans-5f"/>
+       <use x="613.916016" xlink:href="#DejaVuSans-70"/>
+       <use x="677.392578" xlink:href="#DejaVuSans-72"/>
+       <use x="718.474609" xlink:href="#DejaVuSans-6f"/>
+       <use x="779.65625" xlink:href="#DejaVuSans-66"/>
+       <use x="814.861328" xlink:href="#DejaVuSans-69"/>
+       <use x="842.644531" xlink:href="#DejaVuSans-6c"/>
+       <use x="870.427734" xlink:href="#DejaVuSans-65"/>
+      </g>
+     </g>
+    </g>
+    <g id="xtick_2">
+     <g id="line2d_2"/>
+     <g id="text_2">
+      <!-- community_profile -->
+      <g transform="translate(178.134219 309.260719)rotate(-90)scale(0.07 -0.07)">
+       <use xlink:href="#DejaVuSans-63"/>
+       <use x="54.980469" xlink:href="#DejaVuSans-6f"/>
+       <use x="116.162109" xlink:href="#DejaVuSans-6d"/>
+       <use x="213.574219" xlink:href="#DejaVuSans-6d"/>
+       <use x="310.986328" xlink:href="#DejaVuSans-75"/>
+       <use x="374.365234" xlink:href="#DejaVuSans-6e"/>
+       <use x="437.744141" xlink:href="#DejaVuSans-69"/>
+       <use x="465.527344" xlink:href="#DejaVuSans-74"/>
+       <use x="504.736328" xlink:href="#DejaVuSans-79"/>
+       <use x="563.916016" xlink:href="#DejaVuSans-5f"/>
+       <use x="613.916016" xlink:href="#DejaVuSans-70"/>
+       <use x="677.392578" xlink:href="#DejaVuSans-72"/>
+       <use x="718.474609" xlink:href="#DejaVuSans-6f"/>
+       <use x="779.65625" xlink:href="#DejaVuSans-66"/>
+       <use x="814.861328" xlink:href="#DejaVuSans-69"/>
+       <use x="842.644531" xlink:href="#DejaVuSans-6c"/>
+       <use x="870.427734" xlink:href="#DejaVuSans-65"/>
+      </g>
+     </g>
+    </g>
+   </g>
+   <g id="matplotlib.axis_6"/>
+   <g id="patch_3">
+    <path d="M 68.3 240.524 
+L 68.3 96.524 
+" style="fill:none;"/>
+   </g>
+   <g id="patch_4">
+    <path d="M 212.3 240.524 
+L 212.3 96.524 
+" style="fill:none;"/>
+   </g>
+   <g id="patch_5">
+    <path d="M 68.3 240.524 
+L 212.3 240.524 
+" style="fill:none;"/>
+   </g>
+   <g id="patch_6">
+    <path d="M 68.3 96.524 
+L 212.3 96.524 
+" style="fill:none;"/>
+   </g>
+  </g>
+  <g id="axes_4">
+   <g id="matplotlib.axis_7">
+    <g id="ytick_1">
+     <g id="line2d_3"/>
+     <g id="text_3">
+      <!-- t__Bacteroides_thetaiotaomicron_unclassified -->
+      <defs>
+       <path d="M 19.671875 34.8125 
+L 19.671875 8.109375 
+L 35.5 8.109375 
+Q 43.453125 8.109375 47.28125 11.40625 
+Q 51.125 14.703125 51.125 21.484375 
+Q 51.125 28.328125 47.28125 31.5625 
+Q 43.453125 34.8125 35.5 34.8125 
+z
+M 19.671875 64.796875 
+L 19.671875 42.828125 
+L 34.28125 42.828125 
+Q 41.5 42.828125 45.03125 45.53125 
+Q 48.578125 48.25 48.578125 53.8125 
+Q 48.578125 59.328125 45.03125 62.0625 
+Q 41.5 64.796875 34.28125 64.796875 
+z
+M 9.8125 72.90625 
+L 35.015625 72.90625 
+Q 46.296875 72.90625 52.390625 68.21875 
+Q 58.5 63.53125 58.5 54.890625 
+Q 58.5 48.1875 55.375 44.234375 
+Q 52.25 40.28125 46.1875 39.3125 
+Q 53.46875 37.75 57.5 32.78125 
+Q 61.53125 27.828125 61.53125 20.40625 
+Q 61.53125 10.640625 54.890625 5.3125 
+Q 48.25 0 35.984375 0 
+L 9.8125 0 
+z
+" id="DejaVuSans-42"/>
+       <path d="M 34.28125 27.484375 
+Q 23.390625 27.484375 19.1875 25 
+Q 14.984375 22.515625 14.984375 16.5 
+Q 14.984375 11.71875 18.140625 8.90625 
+Q 21.296875 6.109375 26.703125 6.109375 
+Q 34.1875 6.109375 38.703125 11.40625 
+Q 43.21875 16.703125 43.21875 25.484375 
+L 43.21875 27.484375 
+z
+M 52.203125 31.203125 
+L 52.203125 0 
+L 43.21875 0 
+L 43.21875 8.296875 
+Q 40.140625 3.328125 35.546875 0.953125 
+Q 30.953125 -1.421875 24.3125 -1.421875 
+Q 15.921875 -1.421875 10.953125 3.296875 
+Q 6 8.015625 6 15.921875 
+Q 6 25.140625 12.171875 29.828125 
+Q 18.359375 34.515625 30.609375 34.515625 
+L 43.21875 34.515625 
+L 43.21875 35.40625 
+Q 43.21875 41.609375 39.140625 45 
+Q 35.0625 48.390625 27.6875 48.390625 
+Q 23 48.390625 18.546875 47.265625 
+Q 14.109375 46.140625 10.015625 43.890625 
+L 10.015625 52.203125 
+Q 14.9375 54.109375 19.578125 55.046875 
+Q 24.21875 56 28.609375 56 
+Q 40.484375 56 46.34375 49.84375 
+Q 52.203125 43.703125 52.203125 31.203125 
+" id="DejaVuSans-61"/>
+       <path d="M 45.40625 46.390625 
+L 45.40625 75.984375 
+L 54.390625 75.984375 
+L 54.390625 0 
+L 45.40625 0 
+L 45.40625 8.203125 
+Q 42.578125 3.328125 38.25 0.953125 
+Q 33.9375 -1.421875 27.875 -1.421875 
+Q 17.96875 -1.421875 11.734375 6.484375 
+Q 5.515625 14.40625 5.515625 27.296875 
+Q 5.515625 40.1875 11.734375 48.09375 
+Q 17.96875 56 27.875 56 
+Q 33.9375 56 38.25 53.625 
+Q 42.578125 51.265625 45.40625 46.390625 
+M 14.796875 27.296875 
+Q 14.796875 17.390625 18.875 11.75 
+Q 22.953125 6.109375 30.078125 6.109375 
+Q 37.203125 6.109375 41.296875 11.75 
+Q 45.40625 17.390625 45.40625 27.296875 
+Q 45.40625 37.203125 41.296875 42.84375 
+Q 37.203125 48.484375 30.078125 48.484375 
+Q 22.953125 48.484375 18.875 42.84375 
+Q 14.796875 37.203125 14.796875 27.296875 
+" id="DejaVuSans-64"/>
+       <path d="M 44.28125 53.078125 
+L 44.28125 44.578125 
+Q 40.484375 46.53125 36.375 47.5 
+Q 32.28125 48.484375 27.875 48.484375 
+Q 21.1875 48.484375 17.84375 46.4375 
+Q 14.5 44.390625 14.5 40.28125 
+Q 14.5 37.15625 16.890625 35.375 
+Q 19.28125 33.59375 26.515625 31.984375 
+L 29.59375 31.296875 
+Q 39.15625 29.25 43.1875 25.515625 
+Q 47.21875 21.78125 47.21875 15.09375 
+Q 47.21875 7.46875 41.1875 3.015625 
+Q 35.15625 -1.421875 24.609375 -1.421875 
+Q 20.21875 -1.421875 15.453125 -0.5625 
+Q 10.6875 0.296875 5.421875 2 
+L 5.421875 11.28125 
+Q 10.40625 8.6875 15.234375 7.390625 
+Q 20.0625 6.109375 24.8125 6.109375 
+Q 31.15625 6.109375 34.5625 8.28125 
+Q 37.984375 10.453125 37.984375 14.40625 
+Q 37.984375 18.0625 35.515625 20.015625 
+Q 33.0625 21.96875 24.703125 23.78125 
+L 21.578125 24.515625 
+Q 13.234375 26.265625 9.515625 29.90625 
+Q 5.8125 33.546875 5.8125 39.890625 
+Q 5.8125 47.609375 11.28125 51.796875 
+Q 16.75 56 26.8125 56 
+Q 31.78125 56 36.171875 55.265625 
+Q 40.578125 54.546875 44.28125 53.078125 
+" id="DejaVuSans-73"/>
+       <path d="M 54.890625 33.015625 
+L 54.890625 0 
+L 45.90625 0 
+L 45.90625 32.71875 
+Q 45.90625 40.484375 42.875 44.328125 
+Q 39.84375 48.1875 33.796875 48.1875 
+Q 26.515625 48.1875 22.3125 43.546875 
+Q 18.109375 38.921875 18.109375 30.90625 
+L 18.109375 0 
+L 9.078125 0 
+L 9.078125 75.984375 
+L 18.109375 75.984375 
+L 18.109375 46.1875 
+Q 21.34375 51.125 25.703125 53.5625 
+Q 30.078125 56 35.796875 56 
+Q 45.21875 56 50.046875 50.171875 
+Q 54.890625 44.34375 54.890625 33.015625 
+" id="DejaVuSans-68"/>
+      </defs>
+      <g transform="translate(215.8 235.158219)scale(0.07 -0.07)">
+       <use xlink:href="#DejaVuSans-74"/>
+       <use x="39.208984" xlink:href="#DejaVuSans-5f"/>
+       <use x="89.208984" xlink:href="#DejaVuSans-5f"/>
+       <use x="139.208984" xlink:href="#DejaVuSans-42"/>
+       <use x="207.8125" xlink:href="#DejaVuSans-61"/>
+       <use x="269.091797" xlink:href="#DejaVuSans-63"/>
+       <use x="324.072266" xlink:href="#DejaVuSans-74"/>
+       <use x="363.28125" xlink:href="#DejaVuSans-65"/>
+       <use x="424.804688" xlink:href="#DejaVuSans-72"/>
+       <use x="465.886719" xlink:href="#DejaVuSans-6f"/>
+       <use x="527.068359" xlink:href="#DejaVuSans-69"/>
+       <use x="554.851562" xlink:href="#DejaVuSans-64"/>
+       <use x="618.328125" xlink:href="#DejaVuSans-65"/>
+       <use x="679.851562" xlink:href="#DejaVuSans-73"/>
+       <use x="731.951172" xlink:href="#DejaVuSans-5f"/>
+       <use x="781.951172" xlink:href="#DejaVuSans-74"/>
+       <use x="821.160156" xlink:href="#DejaVuSans-68"/>
+       <use x="884.539062" xlink:href="#DejaVuSans-65"/>
+       <use x="946.0625" xlink:href="#DejaVuSans-74"/>
+       <use x="985.271484" xlink:href="#DejaVuSans-61"/>
+       <use x="1046.550781" xlink:href="#DejaVuSans-69"/>
+       <use x="1074.333984" xlink:href="#DejaVuSans-6f"/>
+       <use x="1135.515625" xlink:href="#DejaVuSans-74"/>
+       <use x="1174.724609" xlink:href="#DejaVuSans-61"/>
+       <use x="1236.003906" xlink:href="#DejaVuSans-6f"/>
+       <use x="1297.185547" xlink:href="#DejaVuSans-6d"/>
+       <use x="1394.597656" xlink:href="#DejaVuSans-69"/>
+       <use x="1422.380859" xlink:href="#DejaVuSans-63"/>
+       <use x="1477.361328" xlink:href="#DejaVuSans-72"/>
+       <use x="1518.443359" xlink:href="#DejaVuSans-6f"/>
+       <use x="1579.625" xlink:href="#DejaVuSans-6e"/>
+       <use x="1643.003906" xlink:href="#DejaVuSans-5f"/>
+       <use x="1693.003906" xlink:href="#DejaVuSans-75"/>
+       <use x="1756.382812" xlink:href="#DejaVuSans-6e"/>
+       <use x="1819.761719" xlink:href="#DejaVuSans-63"/>
+       <use x="1874.742188" xlink:href="#DejaVuSans-6c"/>
+       <use x="1902.525391" xlink:href="#DejaVuSans-61"/>
+       <use x="1963.804688" xlink:href="#DejaVuSans-73"/>
+       <use x="2015.904297" xlink:href="#DejaVuSans-73"/>
+       <use x="2068.003906" xlink:href="#DejaVuSans-69"/>
+       <use x="2095.787109" xlink:href="#DejaVuSans-66"/>
+       <use x="2130.992188" xlink:href="#DejaVuSans-69"/>
+       <use x="2158.775391" xlink:href="#DejaVuSans-65"/>
+       <use x="2220.298828" xlink:href="#DejaVuSans-64"/>
+      </g>
+     </g>
+    </g>
+    <g id="ytick_2">
+     <g id="line2d_4"/>
+     <g id="text_4">
+      <!-- s__Bacteroides_thetaiotaomicron -->
+      <g transform="translate(215.8 220.758219)scale(0.07 -0.07)">
+       <use xlink:href="#DejaVuSans-73"/>
+       <use x="52.099609" xlink:href="#DejaVuSans-5f"/>
+       <use x="102.099609" xlink:href="#DejaVuSans-5f"/>
+       <use x="152.099609" xlink:href="#DejaVuSans-42"/>
+       <use x="220.703125" xlink:href="#DejaVuSans-61"/>
+       <use x="281.982422" xlink:href="#DejaVuSans-63"/>
+       <use x="336.962891" xlink:href="#DejaVuSans-74"/>
+       <use x="376.171875" xlink:href="#DejaVuSans-65"/>
+       <use x="437.695312" xlink:href="#DejaVuSans-72"/>
+       <use x="478.777344" xlink:href="#DejaVuSans-6f"/>
+       <use x="539.958984" xlink:href="#DejaVuSans-69"/>
+       <use x="567.742188" xlink:href="#DejaVuSans-64"/>
+       <use x="631.21875" xlink:href="#DejaVuSans-65"/>
+       <use x="692.742188" xlink:href="#DejaVuSans-73"/>
+       <use x="744.841797" xlink:href="#DejaVuSans-5f"/>
+       <use x="794.841797" xlink:href="#DejaVuSans-74"/>
+       <use x="834.050781" xlink:href="#DejaVuSans-68"/>
+       <use x="897.429688" xlink:href="#DejaVuSans-65"/>
+       <use x="958.953125" xlink:href="#DejaVuSans-74"/>
+       <use x="998.162109" xlink:href="#DejaVuSans-61"/>
+       <use x="1059.441406" xlink:href="#DejaVuSans-69"/>
+       <use x="1087.224609" xlink:href="#DejaVuSans-6f"/>
+       <use x="1148.40625" xlink:href="#DejaVuSans-74"/>
+       <use x="1187.615234" xlink:href="#DejaVuSans-61"/>
+       <use x="1248.894531" xlink:href="#DejaVuSans-6f"/>
+       <use x="1310.076172" xlink:href="#DejaVuSans-6d"/>
+       <use x="1407.488281" xlink:href="#DejaVuSans-69"/>
+       <use x="1435.271484" xlink:href="#DejaVuSans-63"/>
+       <use x="1490.251953" xlink:href="#DejaVuSans-72"/>
+       <use x="1531.333984" xlink:href="#DejaVuSans-6f"/>
+       <use x="1592.515625" xlink:href="#DejaVuSans-6e"/>
+      </g>
+     </g>
+    </g>
+    <g id="ytick_3">
+     <g id="line2d_5"/>
+     <g id="text_5">
+      <!-- t__Bacteroides_stercoris_unclassified -->
+      <g transform="translate(215.8 206.358219)scale(0.07 -0.07)">
+       <use xlink:href="#DejaVuSans-74"/>
+       <use x="39.208984" xlink:href="#DejaVuSans-5f"/>
+       <use x="89.208984" xlink:href="#DejaVuSans-5f"/>
+       <use x="139.208984" xlink:href="#DejaVuSans-42"/>
+       <use x="207.8125" xlink:href="#DejaVuSans-61"/>
+       <use x="269.091797" xlink:href="#DejaVuSans-63"/>
+       <use x="324.072266" xlink:href="#DejaVuSans-74"/>
+       <use x="363.28125" xlink:href="#DejaVuSans-65"/>
+       <use x="424.804688" xlink:href="#DejaVuSans-72"/>
+       <use x="465.886719" xlink:href="#DejaVuSans-6f"/>
+       <use x="527.068359" xlink:href="#DejaVuSans-69"/>
+       <use x="554.851562" xlink:href="#DejaVuSans-64"/>
+       <use x="618.328125" xlink:href="#DejaVuSans-65"/>
+       <use x="679.851562" xlink:href="#DejaVuSans-73"/>
+       <use x="731.951172" xlink:href="#DejaVuSans-5f"/>
+       <use x="781.951172" xlink:href="#DejaVuSans-73"/>
+       <use x="834.050781" xlink:href="#DejaVuSans-74"/>
+       <use x="873.259766" xlink:href="#DejaVuSans-65"/>
+       <use x="934.783203" xlink:href="#DejaVuSans-72"/>
+       <use x="975.865234" xlink:href="#DejaVuSans-63"/>
+       <use x="1030.845703" xlink:href="#DejaVuSans-6f"/>
+       <use x="1092.027344" xlink:href="#DejaVuSans-72"/>
+       <use x="1133.140625" xlink:href="#DejaVuSans-69"/>
+       <use x="1160.923828" xlink:href="#DejaVuSans-73"/>
+       <use x="1213.023438" xlink:href="#DejaVuSans-5f"/>
+       <use x="1263.023438" xlink:href="#DejaVuSans-75"/>
+       <use x="1326.402344" xlink:href="#DejaVuSans-6e"/>
+       <use x="1389.78125" xlink:href="#DejaVuSans-63"/>
+       <use x="1444.761719" xlink:href="#DejaVuSans-6c"/>
+       <use x="1472.544922" xlink:href="#DejaVuSans-61"/>
+       <use x="1533.824219" xlink:href="#DejaVuSans-73"/>
+       <use x="1585.923828" xlink:href="#DejaVuSans-73"/>
+       <use x="1638.023438" xlink:href="#DejaVuSans-69"/>
+       <use x="1665.806641" xlink:href="#DejaVuSans-66"/>
+       <use x="1701.011719" xlink:href="#DejaVuSans-69"/>
+       <use x="1728.794922" xlink:href="#DejaVuSans-65"/>
+       <use x="1790.318359" xlink:href="#DejaVuSans-64"/>
+      </g>
+     </g>
+    </g>
+    <g id="ytick_4">
+     <g id="line2d_6"/>
+     <g id="text_6">
+      <!-- s__Bacteroides_stercoris -->
+      <g transform="translate(215.8 191.958219)scale(0.07 -0.07)">
+       <use xlink:href="#DejaVuSans-73"/>
+       <use x="52.099609" xlink:href="#DejaVuSans-5f"/>
+       <use x="102.099609" xlink:href="#DejaVuSans-5f"/>
+       <use x="152.099609" xlink:href="#DejaVuSans-42"/>
+       <use x="220.703125" xlink:href="#DejaVuSans-61"/>
+       <use x="281.982422" xlink:href="#DejaVuSans-63"/>
+       <use x="336.962891" xlink:href="#DejaVuSans-74"/>
+       <use x="376.171875" xlink:href="#DejaVuSans-65"/>
+       <use x="437.695312" xlink:href="#DejaVuSans-72"/>
+       <use x="478.777344" xlink:href="#DejaVuSans-6f"/>
+       <use x="539.958984" xlink:href="#DejaVuSans-69"/>
+       <use x="567.742188" xlink:href="#DejaVuSans-64"/>
+       <use x="631.21875" xlink:href="#DejaVuSans-65"/>
+       <use x="692.742188" xlink:href="#DejaVuSans-73"/>
+       <use x="744.841797" xlink:href="#DejaVuSans-5f"/>
+       <use x="794.841797" xlink:href="#DejaVuSans-73"/>
+       <use x="846.941406" xlink:href="#DejaVuSans-74"/>
+       <use x="886.150391" xlink:href="#DejaVuSans-65"/>
+       <use x="947.673828" xlink:href="#DejaVuSans-72"/>
+       <use x="988.755859" xlink:href="#DejaVuSans-63"/>
+       <use x="1043.736328" xlink:href="#DejaVuSans-6f"/>
+       <use x="1104.917969" xlink:href="#DejaVuSans-72"/>
+       <use x="1146.03125" xlink:href="#DejaVuSans-69"/>
+       <use x="1173.814453" xlink:href="#DejaVuSans-73"/>
+      </g>
+     </g>
+    </g>
+    <g id="ytick_5">
+     <g id="line2d_7"/>
+     <g id="text_7">
+      <!-- g__Bacteroides -->
+      <defs>
+       <path d="M 45.40625 27.984375 
+Q 45.40625 37.75 41.375 43.109375 
+Q 37.359375 48.484375 30.078125 48.484375 
+Q 22.859375 48.484375 18.828125 43.109375 
+Q 14.796875 37.75 14.796875 27.984375 
+Q 14.796875 18.265625 18.828125 12.890625 
+Q 22.859375 7.515625 30.078125 7.515625 
+Q 37.359375 7.515625 41.375 12.890625 
+Q 45.40625 18.265625 45.40625 27.984375 
+M 54.390625 6.78125 
+Q 54.390625 -7.171875 48.1875 -13.984375 
+Q 42 -20.796875 29.203125 -20.796875 
+Q 24.46875 -20.796875 20.265625 -20.09375 
+Q 16.0625 -19.390625 12.109375 -17.921875 
+L 12.109375 -9.1875 
+Q 16.0625 -11.328125 19.921875 -12.34375 
+Q 23.78125 -13.375 27.78125 -13.375 
+Q 36.625 -13.375 41.015625 -8.765625 
+Q 45.40625 -4.15625 45.40625 5.171875 
+L 45.40625 9.625 
+Q 42.625 4.78125 38.28125 2.390625 
+Q 33.9375 0 27.875 0 
+Q 17.828125 0 11.671875 7.65625 
+Q 5.515625 15.328125 5.515625 27.984375 
+Q 5.515625 40.671875 11.671875 48.328125 
+Q 17.828125 56 27.875 56 
+Q 33.9375 56 38.28125 53.609375 
+Q 42.625 51.21875 45.40625 46.390625 
+L 45.40625 54.6875 
+L 54.390625 54.6875 
+z
+" id="DejaVuSans-67"/>
+      </defs>
+      <g transform="translate(215.8 177.558219)scale(0.07 -0.07)">
+       <use xlink:href="#DejaVuSans-67"/>
+       <use x="63.476562" xlink:href="#DejaVuSans-5f"/>
+       <use x="113.476562" xlink:href="#DejaVuSans-5f"/>
+       <use x="163.476562" xlink:href="#DejaVuSans-42"/>
+       <use x="232.080078" xlink:href="#DejaVuSans-61"/>
+       <use x="293.359375" xlink:href="#DejaVuSans-63"/>
+       <use x="348.339844" xlink:href="#DejaVuSans-74"/>
+       <use x="387.548828" xlink:href="#DejaVuSans-65"/>
+       <use x="449.072266" xlink:href="#DejaVuSans-72"/>
+       <use x="490.154297" xlink:href="#DejaVuSans-6f"/>
+       <use x="551.335938" xlink:href="#DejaVuSans-69"/>
+       <use x="579.119141" xlink:href="#DejaVuSans-64"/>
+       <use x="642.595703" xlink:href="#DejaVuSans-65"/>
+       <use x="704.119141" xlink:href="#DejaVuSans-73"/>
+      </g>
+     </g>
+    </g>
+    <g id="ytick_6">
+     <g id="line2d_8"/>
+     <g id="text_8">
+      <!-- f__Bacteroidaceae -->
+      <g transform="translate(215.8 163.158219)scale(0.07 -0.07)">
+       <use xlink:href="#DejaVuSans-66"/>
+       <use x="35.205078" xlink:href="#DejaVuSans-5f"/>
+       <use x="85.205078" xlink:href="#DejaVuSans-5f"/>
+       <use x="135.205078" xlink:href="#DejaVuSans-42"/>
+       <use x="203.808594" xlink:href="#DejaVuSans-61"/>
+       <use x="265.087891" xlink:href="#DejaVuSans-63"/>
+       <use x="320.068359" xlink:href="#DejaVuSans-74"/>
+       <use x="359.277344" xlink:href="#DejaVuSans-65"/>
+       <use x="420.800781" xlink:href="#DejaVuSans-72"/>
+       <use x="461.882812" xlink:href="#DejaVuSans-6f"/>
+       <use x="523.064453" xlink:href="#DejaVuSans-69"/>
+       <use x="550.847656" xlink:href="#DejaVuSans-64"/>
+       <use x="614.324219" xlink:href="#DejaVuSans-61"/>
+       <use x="675.603516" xlink:href="#DejaVuSans-63"/>
+       <use x="730.583984" xlink:href="#DejaVuSans-65"/>
+       <use x="792.107422" xlink:href="#DejaVuSans-61"/>
+       <use x="853.386719" xlink:href="#DejaVuSans-65"/>
+      </g>
+     </g>
+    </g>
+    <g id="ytick_7">
+     <g id="line2d_9"/>
+     <g id="text_9">
+      <!-- o__Bacteroidales -->
+      <g transform="translate(215.8 148.758219)scale(0.07 -0.07)">
+       <use xlink:href="#DejaVuSans-6f"/>
+       <use x="61.181641" xlink:href="#DejaVuSans-5f"/>
+       <use x="111.181641" xlink:href="#DejaVuSans-5f"/>
+       <use x="161.181641" xlink:href="#DejaVuSans-42"/>
+       <use x="229.785156" xlink:href="#DejaVuSans-61"/>
+       <use x="291.064453" xlink:href="#DejaVuSans-63"/>
+       <use x="346.044922" xlink:href="#DejaVuSans-74"/>
+       <use x="385.253906" xlink:href="#DejaVuSans-65"/>
+       <use x="446.777344" xlink:href="#DejaVuSans-72"/>
+       <use x="487.859375" xlink:href="#DejaVuSans-6f"/>
+       <use x="549.041016" xlink:href="#DejaVuSans-69"/>
+       <use x="576.824219" xlink:href="#DejaVuSans-64"/>
+       <use x="640.300781" xlink:href="#DejaVuSans-61"/>
+       <use x="701.580078" xlink:href="#DejaVuSans-6c"/>
+       <use x="729.363281" xlink:href="#DejaVuSans-65"/>
+       <use x="790.886719" xlink:href="#DejaVuSans-73"/>
+      </g>
+     </g>
+    </g>
+    <g id="ytick_8">
+     <g id="line2d_10"/>
+     <g id="text_10">
+      <!-- c__Bacteroidia -->
+      <g transform="translate(215.8 134.358219)scale(0.07 -0.07)">
+       <use xlink:href="#DejaVuSans-63"/>
+       <use x="54.980469" xlink:href="#DejaVuSans-5f"/>
+       <use x="104.980469" xlink:href="#DejaVuSans-5f"/>
+       <use x="154.980469" xlink:href="#DejaVuSans-42"/>
+       <use x="223.583984" xlink:href="#DejaVuSans-61"/>
+       <use x="284.863281" xlink:href="#DejaVuSans-63"/>
+       <use x="339.84375" xlink:href="#DejaVuSans-74"/>
+       <use x="379.052734" xlink:href="#DejaVuSans-65"/>
+       <use x="440.576172" xlink:href="#DejaVuSans-72"/>
+       <use x="481.658203" xlink:href="#DejaVuSans-6f"/>
+       <use x="542.839844" xlink:href="#DejaVuSans-69"/>
+       <use x="570.623047" xlink:href="#DejaVuSans-64"/>
+       <use x="634.099609" xlink:href="#DejaVuSans-69"/>
+       <use x="661.882812" xlink:href="#DejaVuSans-61"/>
+      </g>
+     </g>
+    </g>
+    <g id="ytick_9">
+     <g id="line2d_11"/>
+     <g id="text_11">
+      <!-- k__Bacteria -->
+      <defs>
+       <path d="M 9.078125 75.984375 
+L 18.109375 75.984375 
+L 18.109375 31.109375 
+L 44.921875 54.6875 
+L 56.390625 54.6875 
+L 27.390625 29.109375 
+L 57.625 0 
+L 45.90625 0 
+L 18.109375 26.703125 
+L 18.109375 0 
+L 9.078125 0 
+z
+" id="DejaVuSans-6b"/>
+      </defs>
+      <g transform="translate(215.8 119.958219)scale(0.07 -0.07)">
+       <use xlink:href="#DejaVuSans-6b"/>
+       <use x="57.910156" xlink:href="#DejaVuSans-5f"/>
+       <use x="107.910156" xlink:href="#DejaVuSans-5f"/>
+       <use x="157.910156" xlink:href="#DejaVuSans-42"/>
+       <use x="226.513672" xlink:href="#DejaVuSans-61"/>
+       <use x="287.792969" xlink:href="#DejaVuSans-63"/>
+       <use x="342.773438" xlink:href="#DejaVuSans-74"/>
+       <use x="381.982422" xlink:href="#DejaVuSans-65"/>
+       <use x="443.505859" xlink:href="#DejaVuSans-72"/>
+       <use x="484.619141" xlink:href="#DejaVuSans-69"/>
+       <use x="512.402344" xlink:href="#DejaVuSans-61"/>
+      </g>
+     </g>
+    </g>
+    <g id="ytick_10">
+     <g id="line2d_12"/>
+     <g id="text_12">
+      <!-- p__Bacteroidetes -->
+      <g transform="translate(215.8 105.558219)scale(0.07 -0.07)">
+       <use xlink:href="#DejaVuSans-70"/>
+       <use x="63.476562" xlink:href="#DejaVuSans-5f"/>
+       <use x="113.476562" xlink:href="#DejaVuSans-5f"/>
+       <use x="163.476562" xlink:href="#DejaVuSans-42"/>
+       <use x="232.080078" xlink:href="#DejaVuSans-61"/>
+       <use x="293.359375" xlink:href="#DejaVuSans-63"/>
+       <use x="348.339844" xlink:href="#DejaVuSans-74"/>
+       <use x="387.548828" xlink:href="#DejaVuSans-65"/>
+       <use x="449.072266" xlink:href="#DejaVuSans-72"/>
+       <use x="490.154297" xlink:href="#DejaVuSans-6f"/>
+       <use x="551.335938" xlink:href="#DejaVuSans-69"/>
+       <use x="579.119141" xlink:href="#DejaVuSans-64"/>
+       <use x="642.595703" xlink:href="#DejaVuSans-65"/>
+       <use x="704.119141" xlink:href="#DejaVuSans-74"/>
+       <use x="743.328125" xlink:href="#DejaVuSans-65"/>
+       <use x="804.851562" xlink:href="#DejaVuSans-73"/>
+      </g>
+     </g>
+    </g>
+   </g>
+   <g id="patch_7">
+    <path d="M 68.3 240.524 
+L 68.3 96.524 
+" style="fill:none;"/>
+   </g>
+   <g id="patch_8">
+    <path d="M 212.3 240.524 
+L 212.3 96.524 
+" style="fill:none;"/>
+   </g>
+   <g id="patch_9">
+    <path d="M 68.3 240.524 
+L 212.3 240.524 
+" style="fill:none;"/>
+   </g>
+   <g id="patch_10">
+    <path d="M 68.3 96.524 
+L 212.3 96.524 
+" style="fill:none;"/>
+   </g>
+  </g>
+  <g id="axes_5">
+   <g id="matplotlib.axis_8"/>
+   <g id="patch_11">
+    <path d="M 68.3 240.524 
+L 68.3 96.524 
+" style="fill:none;"/>
+   </g>
+   <g id="patch_12">
+    <path d="M 212.3 240.524 
+L 212.3 96.524 
+" style="fill:none;"/>
+   </g>
+   <g id="patch_13">
+    <path d="M 68.3 240.524 
+L 212.3 240.524 
+" style="fill:none;"/>
+   </g>
+   <g id="patch_14">
+    <path d="M 68.3 96.524 
+L 212.3 96.524 
+" style="fill:none;"/>
+   </g>
+  </g>
+  <g id="axes_6">
+   <g id="patch_15">
+    <path clip-path="url(#pa21fd958a4)" d="M 68.3 24.524 
+L 68.8625 24.524 
+L 211.7375 24.524 
+L 212.3 24.524 
+L 212.3 10.7 
+L 211.7375 10.7 
+L 68.8625 10.7 
+L 68.3 10.7 
+z
+" style="fill:#ffffff;stroke:#ffffff;stroke-linejoin:miter;stroke-width:0.01;"/>
+   </g>
+   <image height="13.92" id="image4b13075644" transform="scale(1 -1)translate(0 -13.92)" width="144" x="68.4" xlink:href="data:image/png;base64,
+iVBORw0KGgoAAAANSUhEUgAAAlgAAAA6CAYAAABsxSekAAAABHNCSVQICAgIfAhkiAAAAilJREFUeJzt1kt2EzEQBdCSnM8u2P8uYYA7tGRZNOEFJvdOHKv0KfVx7Ne+VX1/fXurw+v7+8/X+9jxvqrqdrtVVdVL78P7qqqX+9/9Xququh3zptfzvGOst/awri9qH+vuY+fzjnl9U2tX1p3Oa1MPQ223bhpr5ztcGPvsXpHadG672Et7Mme112rdcs9jrOpx7JO9z31erl3opW9qw8I+1frjul9zNut2tdO+q/mtH2OL2q6HqefhvDbNH/6XprHhGU/rxwe53vs3523vvuih2pX5i3vNvS/2/OPeQ73s1n26z8X+rb7gzmd/+6zmvofaxzfQ01obP5CXa2N9VZvPft7fvofhi2BT+4p14x1Wtcdn/T/6+9e18fcAAIAAAQsAIEzAAgAIE7AAAMIELACAMAELACBMwAIACBOwAADCBCwAgDABCwAgTMACAAgTsAAAwgQsAIAwAQsAIEzAAgAIE7AAAMIELACAMAELACBMwAIACBOwAADCBCwAgDABCwAgTMACAAgTsAAAwgQsAIAwAQsAIEzAAgAIE7AAAMIELACAMAELACBMwAIACBOwAADCBCwAgDABCwAgTMACAAgTsAAAwgQsAIAwAQsAIEzAAgAIE7AAAMIELACAMAELACBMwAIACBOwAADCBCwAgDABCwAgTMACAAgTsAAAwgQsAIAwAQsAIEzAAgAIE7AAAMIELACAMAELACBMwAIACBOwAADCBCwAgLAfjR0EcLA4GHYAAAAASUVORK5CYII=" y="-10.56"/>
+   <g id="matplotlib.axis_9">
+    <g id="xtick_3">
+     <g id="line2d_13">
+      <defs>
+       <path d="M 0 0 
+L 0 3.5 
+" id="m479c52ad5c" style="stroke:#000000;stroke-width:0.8;"/>
+      </defs>
+      <g>
+       <use style="stroke:#000000;stroke-width:0.8;" x="85.342332" xlink:href="#m479c52ad5c" y="24.524"/>
+      </g>
+     </g>
+     <g id="text_13">
+      <!-- 40 -->
+      <defs>
+       <path d="M 37.796875 64.3125 
+L 12.890625 25.390625 
+L 37.796875 25.390625 
+z
+M 35.203125 72.90625 
+L 47.609375 72.90625 
+L 47.609375 25.390625 
+L 58.015625 25.390625 
+L 58.015625 17.1875 
+L 47.609375 17.1875 
+L 47.609375 0 
+L 37.796875 0 
+L 37.796875 17.1875 
+L 4.890625 17.1875 
+L 4.890625 26.703125 
+z
+" id="DejaVuSans-34"/>
+       <path d="M 31.78125 66.40625 
+Q 24.171875 66.40625 20.328125 58.90625 
+Q 16.5 51.421875 16.5 36.375 
+Q 16.5 21.390625 20.328125 13.890625 
+Q 24.171875 6.390625 31.78125 6.390625 
+Q 39.453125 6.390625 43.28125 13.890625 
+Q 47.125 21.390625 47.125 36.375 
+Q 47.125 51.421875 43.28125 58.90625 
+Q 39.453125 66.40625 31.78125 66.40625 
+M 31.78125 74.21875 
+Q 44.046875 74.21875 50.515625 64.515625 
+Q 56.984375 54.828125 56.984375 36.375 
+Q 56.984375 17.96875 50.515625 8.265625 
+Q 44.046875 -1.421875 31.78125 -1.421875 
+Q 19.53125 -1.421875 13.0625 8.265625 
+Q 6.59375 17.96875 6.59375 36.375 
+Q 6.59375 54.828125 13.0625 64.515625 
+Q 19.53125 74.21875 31.78125 74.21875 
+" id="DejaVuSans-30"/>
+      </defs>
+      <g transform="translate(80.888582 36.842906)scale(0.07 -0.07)">
+       <use xlink:href="#DejaVuSans-34"/>
+       <use x="63.623047" xlink:href="#DejaVuSans-30"/>
+      </g>
+     </g>
+    </g>
+    <g id="xtick_4">
+     <g id="line2d_14">
+      <g>
+       <use style="stroke:#000000;stroke-width:0.8;" x="106.501943" xlink:href="#m479c52ad5c" y="24.524"/>
+      </g>
+     </g>
+     <g id="text_14">
+      <!-- 50 -->
+      <defs>
+       <path d="M 10.796875 72.90625 
+L 49.515625 72.90625 
+L 49.515625 64.59375 
+L 19.828125 64.59375 
+L 19.828125 46.734375 
+Q 21.96875 47.46875 24.109375 47.828125 
+Q 26.265625 48.1875 28.421875 48.1875 
+Q 40.625 48.1875 47.75 41.5 
+Q 54.890625 34.8125 54.890625 23.390625 
+Q 54.890625 11.625 47.5625 5.09375 
+Q 40.234375 -1.421875 26.90625 -1.421875 
+Q 22.3125 -1.421875 17.546875 -0.640625 
+Q 12.796875 0.140625 7.71875 1.703125 
+L 7.71875 11.625 
+Q 12.109375 9.234375 16.796875 8.0625 
+Q 21.484375 6.890625 26.703125 6.890625 
+Q 35.15625 6.890625 40.078125 11.328125 
+Q 45.015625 15.765625 45.015625 23.390625 
+Q 45.015625 31 40.078125 35.4375 
+Q 35.15625 39.890625 26.703125 39.890625 
+Q 22.75 39.890625 18.8125 39.015625 
+Q 14.890625 38.140625 10.796875 36.28125 
+z
+" id="DejaVuSans-35"/>
+      </defs>
+      <g transform="translate(102.048193 36.842906)scale(0.07 -0.07)">
+       <use xlink:href="#DejaVuSans-35"/>
+       <use x="63.623047" xlink:href="#DejaVuSans-30"/>
+      </g>
+     </g>
+    </g>
+    <g id="xtick_5">
+     <g id="line2d_15">
+      <g>
+       <use style="stroke:#000000;stroke-width:0.8;" x="127.661555" xlink:href="#m479c52ad5c" y="24.524"/>
+      </g>
+     </g>
+     <g id="text_15">
+      <!-- 60 -->
+      <defs>
+       <path d="M 33.015625 40.375 
+Q 26.375 40.375 22.484375 35.828125 
+Q 18.609375 31.296875 18.609375 23.390625 
+Q 18.609375 15.53125 22.484375 10.953125 
+Q 26.375 6.390625 33.015625 6.390625 
+Q 39.65625 6.390625 43.53125 10.953125 
+Q 47.40625 15.53125 47.40625 23.390625 
+Q 47.40625 31.296875 43.53125 35.828125 
+Q 39.65625 40.375 33.015625 40.375 
+M 52.59375 71.296875 
+L 52.59375 62.3125 
+Q 48.875 64.0625 45.09375 64.984375 
+Q 41.3125 65.921875 37.59375 65.921875 
+Q 27.828125 65.921875 22.671875 59.328125 
+Q 17.53125 52.734375 16.796875 39.40625 
+Q 19.671875 43.65625 24.015625 45.921875 
+Q 28.375 48.1875 33.59375 48.1875 
+Q 44.578125 48.1875 50.953125 41.515625 
+Q 57.328125 34.859375 57.328125 23.390625 
+Q 57.328125 12.15625 50.6875 5.359375 
+Q 44.046875 -1.421875 33.015625 -1.421875 
+Q 20.359375 -1.421875 13.671875 8.265625 
+Q 6.984375 17.96875 6.984375 36.375 
+Q 6.984375 53.65625 15.1875 63.9375 
+Q 23.390625 74.21875 37.203125 74.21875 
+Q 40.921875 74.21875 44.703125 73.484375 
+Q 48.484375 72.75 52.59375 71.296875 
+" id="DejaVuSans-36"/>
+      </defs>
+      <g transform="translate(123.207805 36.842906)scale(0.07 -0.07)">
+       <use xlink:href="#DejaVuSans-36"/>
+       <use x="63.623047" xlink:href="#DejaVuSans-30"/>
+      </g>
+     </g>
+    </g>
+    <g id="xtick_6">
+     <g id="line2d_16">
+      <g>
+       <use style="stroke:#000000;stroke-width:0.8;" x="148.821166" xlink:href="#m479c52ad5c" y="24.524"/>
+      </g>
+     </g>
+     <g id="text_16">
+      <!-- 70 -->
+      <defs>
+       <path d="M 8.203125 72.90625 
+L 55.078125 72.90625 
+L 55.078125 68.703125 
+L 28.609375 0 
+L 18.3125 0 
+L 43.21875 64.59375 
+L 8.203125 64.59375 
+z
+" id="DejaVuSans-37"/>
+      </defs>
+      <g transform="translate(144.367416 36.842906)scale(0.07 -0.07)">
+       <use xlink:href="#DejaVuSans-37"/>
+       <use x="63.623047" xlink:href="#DejaVuSans-30"/>
+      </g>
+     </g>
+    </g>
+    <g id="xtick_7">
+     <g id="line2d_17">
+      <g>
+       <use style="stroke:#000000;stroke-width:0.8;" x="169.980777" xlink:href="#m479c52ad5c" y="24.524"/>
+      </g>
+     </g>
+     <g id="text_17">
+      <!-- 80 -->
+      <defs>
+       <path d="M 31.78125 34.625 
+Q 24.75 34.625 20.71875 30.859375 
+Q 16.703125 27.09375 16.703125 20.515625 
+Q 16.703125 13.921875 20.71875 10.15625 
+Q 24.75 6.390625 31.78125 6.390625 
+Q 38.8125 6.390625 42.859375 10.171875 
+Q 46.921875 13.96875 46.921875 20.515625 
+Q 46.921875 27.09375 42.890625 30.859375 
+Q 38.875 34.625 31.78125 34.625 
+M 21.921875 38.8125 
+Q 15.578125 40.375 12.03125 44.71875 
+Q 8.5 49.078125 8.5 55.328125 
+Q 8.5 64.0625 14.71875 69.140625 
+Q 20.953125 74.21875 31.78125 74.21875 
+Q 42.671875 74.21875 48.875 69.140625 
+Q 55.078125 64.0625 55.078125 55.328125 
+Q 55.078125 49.078125 51.53125 44.71875 
+Q 48 40.375 41.703125 38.8125 
+Q 48.828125 37.15625 52.796875 32.3125 
+Q 56.78125 27.484375 56.78125 20.515625 
+Q 56.78125 9.90625 50.3125 4.234375 
+Q 43.84375 -1.421875 31.78125 -1.421875 
+Q 19.734375 -1.421875 13.25 4.234375 
+Q 6.78125 9.90625 6.78125 20.515625 
+Q 6.78125 27.484375 10.78125 32.3125 
+Q 14.796875 37.15625 21.921875 38.8125 
+M 18.3125 54.390625 
+Q 18.3125 48.734375 21.84375 45.5625 
+Q 25.390625 42.390625 31.78125 42.390625 
+Q 38.140625 42.390625 41.71875 45.5625 
+Q 45.3125 48.734375 45.3125 54.390625 
+Q 45.3125 60.0625 41.71875 63.234375 
+Q 38.140625 66.40625 31.78125 66.40625 
+Q 25.390625 66.40625 21.84375 63.234375 
+Q 18.3125 60.0625 18.3125 54.390625 
+" id="DejaVuSans-38"/>
+      </defs>
+      <g transform="translate(165.527027 36.842906)scale(0.07 -0.07)">
+       <use xlink:href="#DejaVuSans-38"/>
+       <use x="63.623047" xlink:href="#DejaVuSans-30"/>
+      </g>
+     </g>
+    </g>
+    <g id="xtick_8">
+     <g id="line2d_18">
+      <g>
+       <use style="stroke:#000000;stroke-width:0.8;" x="191.140389" xlink:href="#m479c52ad5c" y="24.524"/>
+      </g>
+     </g>
+     <g id="text_18">
+      <!-- 90 -->
+      <defs>
+       <path d="M 10.984375 1.515625 
+L 10.984375 10.5 
+Q 14.703125 8.734375 18.5 7.8125 
+Q 22.3125 6.890625 25.984375 6.890625 
+Q 35.75 6.890625 40.890625 13.453125 
+Q 46.046875 20.015625 46.78125 33.40625 
+Q 43.953125 29.203125 39.59375 26.953125 
+Q 35.25 24.703125 29.984375 24.703125 
+Q 19.046875 24.703125 12.671875 31.3125 
+Q 6.296875 37.9375 6.296875 49.421875 
+Q 6.296875 60.640625 12.9375 67.421875 
+Q 19.578125 74.21875 30.609375 74.21875 
+Q 43.265625 74.21875 49.921875 64.515625 
+Q 56.59375 54.828125 56.59375 36.375 
+Q 56.59375 19.140625 48.40625 8.859375 
+Q 40.234375 -1.421875 26.421875 -1.421875 
+Q 22.703125 -1.421875 18.890625 -0.6875 
+Q 15.09375 0.046875 10.984375 1.515625 
+M 30.609375 32.421875 
+Q 37.25 32.421875 41.125 36.953125 
+Q 45.015625 41.5 45.015625 49.421875 
+Q 45.015625 57.28125 41.125 61.84375 
+Q 37.25 66.40625 30.609375 66.40625 
+Q 23.96875 66.40625 20.09375 61.84375 
+Q 16.21875 57.28125 16.21875 49.421875 
+Q 16.21875 41.5 20.09375 36.953125 
+Q 23.96875 32.421875 30.609375 32.421875 
+" id="DejaVuSans-39"/>
+      </defs>
+      <g transform="translate(186.686639 36.842906)scale(0.07 -0.07)">
+       <use xlink:href="#DejaVuSans-39"/>
+       <use x="63.623047" xlink:href="#DejaVuSans-30"/>
+      </g>
+     </g>
+    </g>
+    <g id="xtick_9">
+     <g id="line2d_19">
+      <g>
+       <use style="stroke:#000000;stroke-width:0.8;" x="212.3" xlink:href="#m479c52ad5c" y="24.524"/>
+      </g>
+     </g>
+     <g id="text_19">
+      <!-- 100 -->
+      <defs>
+       <path d="M 12.40625 8.296875 
+L 28.515625 8.296875 
+L 28.515625 63.921875 
+L 10.984375 60.40625 
+L 10.984375 69.390625 
+L 28.421875 72.90625 
+L 38.28125 72.90625 
+L 38.28125 8.296875 
+L 54.390625 8.296875 
+L 54.390625 0 
+L 12.40625 0 
+z
+" id="DejaVuSans-31"/>
+      </defs>
+      <g transform="translate(205.619375 36.842906)scale(0.07 -0.07)">
+       <use xlink:href="#DejaVuSans-31"/>
+       <use x="63.623047" xlink:href="#DejaVuSans-30"/>
+       <use x="127.246094" xlink:href="#DejaVuSans-30"/>
+      </g>
+     </g>
+    </g>
+   </g>
+   <g id="matplotlib.axis_10"/>
+   <g id="patch_16">
+    <path d="M 68.3 24.524 
+L 68.8625 24.524 
+L 211.7375 24.524 
+L 212.3 24.524 
+L 212.3 10.7 
+L 211.7375 10.7 
+L 68.8625 10.7 
+L 68.3 10.7 
+z
+" style="fill:none;stroke:#000000;stroke-linejoin:miter;stroke-width:0.8;"/>
+   </g>
+  </g>
+ </g>
+ <defs>
+  <clipPath id="p35d92c4cfd">
+   <rect height="144" width="57.6" x="10.7" y="96.524"/>
+  </clipPath>
+  <clipPath id="p4770d5a667">
+   <rect height="57.6" width="144" x="68.3" y="38.924"/>
+  </clipPath>
+  <clipPath id="p82d1fad6e8">
+   <rect height="144" width="144" x="68.3" y="96.524"/>
+  </clipPath>
+  <clipPath id="pa21fd958a4">
+   <rect height="13.824" width="144" x="68.3" y="10.7"/>
+  </clipPath>
+ </defs>
+</svg>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/merged_community_profile.tabular	Tue Feb 21 12:29:37 2017 -0500
@@ -0,0 +1,11 @@
+ID	community_profile	community_profile
+k__Bacteria	100.0	100.0
+k__Bacteria|p__Bacteroidetes	100.0	100.0
+k__Bacteria|p__Bacteroidetes|c__Bacteroidia	100.0	100.0
+k__Bacteria|p__Bacteroidetes|c__Bacteroidia|o__Bacteroidales	100.0	100.0
+k__Bacteria|p__Bacteroidetes|c__Bacteroidia|o__Bacteroidales|f__Bacteroidaceae	100.0	100.0
+k__Bacteria|p__Bacteroidetes|c__Bacteroidia|o__Bacteroidales|f__Bacteroidaceae|g__Bacteroides	100.0	100.0
+k__Bacteria|p__Bacteroidetes|c__Bacteroidia|o__Bacteroidales|f__Bacteroidaceae|g__Bacteroides|s__Bacteroides_stercoris	68.05418	68.05418
+k__Bacteria|p__Bacteroidetes|c__Bacteroidia|o__Bacteroidales|f__Bacteroidaceae|g__Bacteroides|s__Bacteroides_stercoris|t__Bacteroides_stercoris_unclassified	68.05418	68.05418
+k__Bacteria|p__Bacteroidetes|c__Bacteroidia|o__Bacteroidales|f__Bacteroidaceae|g__Bacteroides|s__Bacteroides_thetaiotaomicron	31.94582	31.94582
+k__Bacteria|p__Bacteroidetes|c__Bacteroidia|o__Bacteroidales|f__Bacteroidaceae|g__Bacteroides|s__Bacteroides_thetaiotaomicron|t__Bacteroides_thetaiotaomicron_unclassified	31.94582	31.94582
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tool-data/metaphlan2_database.loc.sample	Tue Feb 21 12:29:37 2017 -0500
@@ -0,0 +1,4 @@
+#This is a sample file distributed with Galaxy that enables tools
+#to use a directory of metagenomics files.  
+#file has this format (white space characters are TAB characters)
+#02_16_2014	 MetaPhlAn2 clade-specific marker genes	db_v20	/path/to/data
\ No newline at end of file
--- a/tool-data/metaphlan2_db.loc.sample	Thu Jun 16 06:07:23 2016 -0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-# Bowtie2 db have to be downloaded from https://bitbucket.org/biobakery/metaphlan2/src/5424bb911dfc/db_v20/?at=default (whole directory)
-#
-#Since MetaPhlAn comes bundled with 1 Bowtie2 database, you can use it
-#by downloading it as explained above and uncommenting the following lines.
-#mpa_v20_m200	Defaut database with clade-specific marker genes	$METAPHLAN2_DIR/db_v20/mpa_v20_m200
--- a/tool_data_table_conf.xml.sample	Thu Jun 16 06:07:23 2016 -0400
+++ b/tool_data_table_conf.xml.sample	Tue Feb 21 12:29:37 2017 -0500
@@ -1,6 +1,6 @@
 <tables>
-    <table name="metaphlan2_db" comment_char="#">
+    <table name="metaphlan2_database" comment_char="#">
         <columns>value, name, path</columns>
-        <file path="tool-data/metaphlan2_db.loc" />
+        <file path="tool-data/metaphlan2_database.loc" />
     </table>
 </tables>
--- a/tool_dependencies.xml	Thu Jun 16 06:07:23 2016 -0400
+++ b/tool_dependencies.xml	Tue Feb 21 12:29:37 2017 -0500
@@ -1,7 +1,7 @@
 <?xml version="1.0"?>
 <tool_dependency>
     <package name="numpy" version="1.9">
-        <repository changeset_revision="fe0870696ca7" name="package_python_2_7_numpy_1_9" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu" />
+        <repository changeset_revision="5f2b261ffc5b" name="package_python_2_7_numpy_1_9" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu" />
     </package>
     <package name="bowtie2" version="2.2.5">
         <repository changeset_revision="f5582ac5ba3c" name="package_bowtie_2_2_5" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu" />
--- a/transform_json_to_pkl.py	Thu Jun 16 06:07:23 2016 -0400
+++ b/transform_json_to_pkl.py	Tue Feb 21 12:29:37 2017 -0500
@@ -1,10 +1,11 @@
 #!/usr/bin/env python
 # -*- coding: utf-8 -*-
 
-import cPickle as pickle
+import argparse
 import bz2
+import cPickle as pickle
 import json
-import argparse
+
 
 def transform_json_to_pkl(args):
     with open(args.json_input, 'r') as json_file:
@@ -12,17 +13,18 @@
         metadata = json.loads(json_str)
 
         for marker in metadata["markers"]:
-            metadata["markers"][marker]["ext"] = set(metadata["markers"][marker]["ext"])
+            a_set = set(metadata["markers"][marker]["ext"])
+            metadata["markers"][marker]["ext"] = a_set
 
     pkl_output = bz2.BZ2File(args.pkl_output, 'w')
     pickle.dump(metadata, pkl_output, pickle.HIGHEST_PROTOCOL)
     pkl_output.close()
 
+
 if __name__ == '__main__':
     parser = argparse.ArgumentParser()
     parser.add_argument('--json_input', required=True)
     parser.add_argument('--pkl_output', required=True)
-    
     args = parser.parse_args()
 
     transform_json_to_pkl(args)