view cpo_galaxy_tree.xml @ 5:698579246d0d draft

planemo upload
author jjjjia
date Tue, 21 Aug 2018 17:53:08 -0400
parents fea89c4d5227
children cabceaa239e4
line wrap: on
line source

<tool id="cpo_tree_drawer" name="cpo_tree_drawer" version="0.1.0">
	<description>This tool makes a phylogenetic tree using data from snippy alignments, clustalw NJ tree and metadat from cpo_prediction workflow using ETE3</description>
	<requirements>
		<requirement type="package" version="0.23.4">pandas</requirement>
		<requirement type="package" version="3.6">python</requirement>
    <requirement type="package" version="3.1.1">ete3</requirement>
  </requirements>
	<command detect_errors="exit_code">
    <![CDATA[
	    python '$__tool_directory__/cpo_galaxy_tree.py'
		'-t $tree'
		'-d $distance'
		'-m $metadata'
    ]]>
	</command>
    <inputs>
        <param type="data" name="tree" format="txt"/>
        <param type="data" name="distance" format="tabular" />
        <param type="data" name="metadata" format="tabular" />
    </inputs>
    <outputs>
        <data name="tsvSummary" format="png" from_work_dir="tree.png"/>
    </outputs>
	<tests>
        <test>
            <param name="ID" value="BC11-Kpn005_S2"/>
            <param name="mlst" value="BC11-Kpn005_S2.mlst"/>
            <param name="mobsuitecontig" value="contig_report"/>
            <param name="mobsuiteaggregate" value="mobtyper_aggregate_report"/>
            <param name="abricate" value="BC11-Kpn005_S2.cp"/>
            <param name="rgi" value="BC11-Kpn005_S2.rgi.txt"/>
            <param name="plasmidfinder" value="BC11-Kpn005_S2.origins"/>
            <param name="expected" value="Klebsiella pneumoniae"/>
            <output name="tsvSummary" file="summary.tsv"/>
			<output name="txtSummary" file="summary.txt"/>
        </test>
    </tests>
	<help>
		This tool parses stuff.
	</help>
	<citations>
        <citation type="bibtex">
@misc{cpo,
  author = {j, j},
  year = {2018},
  title = {cpo_prediction},
  publisher = {j},
  journal = {j of j},
  url = {https://bfjia.net,
}</citation>
    </citations>
</tool>