view data_managers/data_manager_mentalist_build_db/data_manager/mentalist_build_db.xml @ 1:c6a98b93e569 draft

planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 83ebe793451a5ccbfeff873eda359f699e14ae1e
author dfornika
date Sat, 24 Mar 2018 23:12:21 -0400
parents 1d9e3950ce61
children 4ea71c8e2db0
line wrap: on
line source

<?xml version="1.0"?>
<tool id="mentalist_build_db" name="MentaLiST Build DB" tool_type="manage_data" version="0.2.2">
  <requirements>
    <requirement type="package" version="0.2.2">mentalist</requirement>
  </requirements>
  <command detect_errors="exit_code">
  <![CDATA[
	   python '$__tool_directory__/mentalist_build_db.py'
	   '${out_file}'
	   --db '$database_name'
	   -k '$kmer_size'
	   #if $profile
	     --profile '$profile'
	   #end if
	   --fasta_files ${" ".join(map(str, $input_fastas))}
  ]]>
  </command>
  <inputs>
    <param name="database_name" type="text"
	   label="Database Name" help="Database Name" />
    <param name="kmer_size" type="integer"
	   label="Kmer size" help="Kmer size"
	   value="31" min="1" max="32" />
    <param name="input_fastas" type="data_collection" collection_type="list" format="fasta" multiple="true"
	   label="Input Fasta" help="Fasta input files" />
    <param name="profile" type="data" format="tsv" optional="true"
	   label="Profile" help="Profile for known genotypes" />
  </inputs>
  <outputs>
    <data name="out_file" format="data_manager_json" />
  </outputs>
  <citations>
    <citation type="doi">10.1101/172858</citation>
    <citation type="doi">10.1099/mgen.0.000146</citation>
  </citations>
</tool>