| 
1
 | 
     1 <tool id="visualization" name="PathOGiST - Visualization" version="1.0.0">
 | 
| 
 | 
     2     <description>: Visualize distance matrix</description>
 | 
| 
 | 
     3     <requirements>
 | 
| 
6
 | 
     4         <requirement type="package" version="0.3">pathogist</requirement>
 | 
| 
1
 | 
     5     </requirements>
 | 
| 
 | 
     6 
 | 
| 
 | 
     7     <command><![CDATA[
 | 
| 
2
 | 
     8         PATHOGIST visualize $distance $sample $pdf
 | 
| 
1
 | 
     9     ]]></command>
 | 
| 
 | 
    10 
 | 
| 
 | 
    11     <inputs>
 | 
| 
 | 
    12         <param name="distance" type="data" format="tabular,txt" label="Distance Matrix"/>
 | 
| 
 | 
    13         <param name="sample" type="text" size="30" value="sample" label="Sample Name"/>
 | 
| 
 | 
    14         <param name="pdf" type="boolean" checked="false" truevalue="--save_pdf vis.pdf" falsevalue="" label="Save PDF"/>
 | 
| 
 | 
    15     </inputs>
 | 
| 
 | 
    16 
 | 
| 
 | 
    17     <outputs>
 | 
| 
 | 
    18         <data name="diagram" label="Diagram of ${on_string}" format="png" from_work_dir="sample.png"/>
 | 
| 
 | 
    19         <data name="pdf_output" label="PDF of ${on_string}" format="pdf" from_work_dir="vis.pdf">
 | 
| 
 | 
    20             <filter>pdf == True</filter>
 | 
| 
 | 
    21         </data>
 | 
| 
 | 
    22     </outputs>
 | 
| 
 | 
    23 
 | 
| 
 | 
    24     <help>
 | 
| 
 | 
    25 
 | 
| 
 | 
    26     </help>
 | 
| 
 | 
    27 
 | 
| 
 | 
    28     <citations>
 | 
| 
 | 
    29 
 | 
| 
 | 
    30     </citations>
 | 
| 
 | 
    31 </tool>
 |