view data_managers/data_manager_mentalist_build_db/data_manager/mentalist_build_db.xml @ 8:f29e7738bb64 draft

planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit d6aa0144475c93626400a46e933acbbd77fefb01-dirty
author dfornika
date Mon, 18 Jun 2018 15:52:32 -0400
parents af77acce864b
children
line wrap: on
line source

<?xml version="1.0"?>
<tool id="mentalist_build_db" name="MentaLiST Build DB" tool_type="manage_data" version="0.1.9">
  <requirements>
    <requirement type="package" version="0.1.9">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>
  </citations>
</tool>