view tabular_to_fastq.xml @ 1:7bde4f066435 draft

planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
author devteam
date Tue, 13 Oct 2015 12:45:21 -0400
parents 9ae652b76979
children 643018aa1435
line wrap: on
line source

<tool id="tabular_to_fastq" name="Tabular to FASTQ" version="1.0.0">
  <description>converter</description>
  <requirements>
    <requirement type="package" version="1.0.0">galaxy_sequence_utils</requirement>
  </requirements>
  <command interpreter="python">tabular_to_fastq.py '$input_file' '$output_file' '$identifier' '$sequence' '$quality'</command>
  <inputs>
    <param name="input_file" type="data" format="tabular" label="Tabular file to convert" />
    <param name="identifier" label="Identifier column" type="data_column" data_ref="input_file" />
    <param name="sequence" label="Sequence column" type="data_column" data_ref="input_file" />
    <param name="quality" label="Quality column" type="data_column" data_ref="input_file" />
  </inputs>
  <outputs>
    <data name="output_file" format="fastq" />
  </outputs>
  <tests>
    <!-- basic test -->
    <test>
      <param name="input_file" value="fastq_to_tabular_out_1.tabular" ftype="tabular" />
      <param name="identifier" value="1" />
      <param name="sequence" value="2" />
      <param name="quality" value="3" />
      <output name="output_file" file="sanger_full_range_original_sanger.fastqsanger" />
    </test>
    <!-- color space test -->
    <test>
      <param name="input_file" value="fastq_to_tabular_out_2.tabular" ftype="tabular" />
      <param name="identifier" value="1" />
      <param name="sequence" value="2" />
      <param name="quality" value="3" />
      <output name="output_file" file="sanger_full_range_as_cssanger.fastqcssanger" />
    </test>
  </tests>
  <help>
**What it does**

This tool attempts to convert a tabular file containing sequencing read data to a FASTQ formatted file. The FASTQ Groomer tool should always be used on the output of this tool. 

  </help>
  
  <citations>
    <citation type="doi">10.1093/bioinformatics/btq281</citation>
  </citations>
  
</tool>