view cpo_mash.xml @ 21:1543496b2db4 draft

planemo upload
author jjjjia
date Tue, 28 Aug 2018 19:23:31 -0400
parents 47502be81f6a
children
line wrap: on
line source

<tool id="cpo_mash" name="cpo_mash" version="2.0">
  <description>Modified version of mash 2.0 with custom database</description>
  <requirements>
     <requirement type="package" version="2.0">mash</requirement>
  </requirements>   
  <command detect_errors="exit_code">
  <![CDATA[  
    mash screen $__tool_directory__/bcPlasmidDB.msh $input | sort -gr | head -10 > mashresult.tsv 
  ]]>  
  </command>
  <inputs>
    <param name="input" type="data" format="fasta" label="Input" help="FASTA file with contig(s)"/>
  </inputs>
  <outputs>
    <data name="mashResult" format="tabular" from_work_dir="mashresult.tsv"/> 
  </outputs>
  <help>
    mash screen bcPlasmidDB.msh $input | sort -gr | head -10 > mashresult.tsv
  </help>
  <citations>
    <citation type="bibtex">
  @misc{githubmob-suite,
  author = {Robertson J, Nash J},
  title = {MOB-Suite: Software tools for clustering, reconstruction and typing of plasmids from draft assemblies.},
  publisher = {GitHub},
  journal = {GitHub repository},
  doi = {10.1099/mgen.0.000206},
  url = {https://github.com/phac-nml/mob-suite}
    }</citation>
  </citations>
</tool>