view tools/mentalist_call/mentalist_call.xml @ 0:1d9e3950ce61 draft

planemo upload for repository https://github.com/WGS-TB/MentaLiST/tree/master/galaxy commit 77d12d12820477cdb046be90175f5d2dab52e620
author dfornika
date Wed, 20 Dec 2017 17:36:03 -0500
parents
children c6a98b93e569
line wrap: on
line source

<tool id="mentalist_call" name="MentaLiST MLST Analysis" version="0.1.3">
  <requirements>
    <requirement type="package" version="0.1.3">mentalist</requirement>
  </requirements>
  <command detect_errors="exit_code"><![CDATA[
    mentalist
    call
    -o '$output_file'
    --db '$kmer_db.fields.path'
    #if $input_type.sPaired == "paired":
       -s $input_type.pInput1.name $input_type.pInput1 $input_type.pInput2
    #elif $input_type.sPaired == "collections":
       -s $input_type.fastq_collection.name $input_type.fastq_collection.forward $input_type.fastq_collection.reverse
    #end if
  ]]></command>
  <inputs>
    <conditional name="input_type">
      <param name="sPaired" type="select" label="Single Pair or Collection">
        <option value="collections">Paired-end Collections</option>
        <option value="paired">Paired-end</option>
      </param>
      <when value="paired">
        <param name="pInput1" type="data" format="fastq,fastqsanger,fastqillumina,fastqsolexa" label="Forward FASTQ file" help="Must have ASCII encoded quality scores"/>
        <param name="pInput2" type="data" format="fastq,fastqsanger,fastqillumina,fastqsolexa" label="Reverse FASTQ file" help="File format must match the Forward FASTQ file"/>
      </when>
      <when value="collections">
        <param name="fastq_collection" type="data_collection" label="Paired-end Fastq collection" help="" optional="false" format="txt" collection_type="paired" />
      </when>
    </conditional>
    <param name="kmer_db" type="select">
      <options from_data_table="mentalist_databases">
	<validator type="no_options" message="No MentaLiST databases are available" />
      </options>
    </param>
  </inputs>
  <outputs>
    <data name="output_file" format="tabular"/>
  </outputs>
  <help><![CDATA[
  ]]></help>
  <citations>
    <citation type="doi">10.1101/172858</citation>
  </citations>
</tool>