view antigenic_site_extraction.xml @ 2:f879bf22aa12 draft

planemo upload for repository https://github.com/Public-Health-Bioinformatics/flu_classification_suite commit e6d31e4b3666b5e1d322e22f44526f23c66692fb
author public-health-bioinformatics
date Thu, 17 Jan 2019 19:08:56 -0500
parents d3414e1396c4
children
line wrap: on
line source

<tool id="antigenic_site_extraction" name="Antigenic Site Extraction" version="0.0.1">
  <requirements>
    <requirement type="package" version="1.70">biopython</requirement>
  </requirements>
  <command detect_errors="exit_code"><![CDATA[
    python $__tool_directory__/antigenic_site_extraction.py
    '$input_fasta'
    '$index_array'
    '$output_file'
    #if $csv
    	-c
    #end if
  ]]></command>
  <inputs>
    <param name="input_fasta" format="fasta" type="data" />
    <param name="index_array" format="csv" type="data" />
    <param name="csv" type="boolean" label="Output to csv ?" />
  </inputs>
  <outputs>
      <data format="fasta" name="output_file">
        <change_format>
            <when input="csv" value="true" format="csv" />
        </change_format>
      </data>
  </outputs>
  <tests>
    <test>
      <param name="input_fasta" value="14_H3_aa_seqs_aligned.fasta" />
      <param name="index_array" value="FluA_H3_antigenic_aa_indices.csv" />
      <output name="output_file" value="output.fasta" />
    </test>
  </tests>
  <help><![CDATA[
    Upload a fasta file containing full length flu sequences and an index array csv file.
  ]]></help>
  <citations>
  </citations>
</tool>