view convert_bc_to_binary_RY.xml @ 58:bbbae1ee87e0 draft default tip

fix for flexbar with small data issue
author rnateam
date Tue, 16 Feb 2016 10:08:58 -0500
parents b0d5cd8e4c6b
children
line wrap: on
line source

<tool id="convert_bc_to_binary_RY.py" name="Create binary barcodes" version="0.1.0">
  <description>from regular barcodes.</description>
  <requirements>
      <requirement type="package" version="1.66">biopython</requirement>
  </requirements>
  <macros>
    <import>macros.xml</import>
  </macros>
  <expand macro="stdio" />
  <version_command>python $__tool_directory__/convert_bc_to_binary_RY.py --version</version_command>
  <command interpreter="python"><![CDATA[
convert_bc_to_binary_RY.py
#if $positional_1 and $positional_1 is not None:
$positional_1
#end if
> $default]]></command>
  <inputs>
    <param label="Fastq file to convert." name="positional_1" type="data" format="fastq"/>
  </inputs>
  <outputs>
    <data hidden="false" name="default" format="fastq"/>
  </outputs>
  <tests>
    <test>
      <param name="positional_1" value="extracted_bcs.fastq"/>
      <output name="default" file="converted_bcs.fastq"/>
    </test>
  </tests>
  <help><![CDATA[

**What it does**

This tool converts standard nucleotides to IUPAC nucleotide codes used for binary barcodes.
A and G are converted to nucleotide code R. T, U and C are converted to Y.

**Input**

The input for this tool is a fastq file.

**Output**

This tool produces a single fastq file containing the converted barcodes.

** References **
]]></help>
  <expand macro="citations" />
</tool>