view literal.xml @ 0:5257ce9d9184

Initial literal.py tool
author Nick Stoler <nstoler@psu.edu>
date Sun, 02 Mar 2014 13:51:03 -0500
parents
children 717a4009675c
line wrap: on
line source

<tool id="visualdna" name="DNA visualizer" version="0.1">
  <description>Visualize DNA with colored pixels.</description>
  <command interpreter="python">literal.py $input -o $output -s ${width}x${height} </command>
  <inputs>
    <param name="input" type="data" format="fasta" label="Input sequence" />
    <param name="width" type="integer" value="512" min="512" label="Output image width" help="in pixels" />
    <param name="height" type="integer" value="512" min="512" label="Output image height" help="in pixels" />
  </inputs>
  <outputs>
    <data name="output" format="png"/>
  </outputs>
  <stdio>
    <exit_code range="1:" err_level="fatal"/>
    <exit_code range=":-1" err_level="fatal"/>
  </stdio>

  <help>

.. class:: infomark

**What it does**

This tool convert DNA sequence into a PNG image by representing each base with one colored pixel.

-----

.. class:: infomark

**Input Format**

The input sequence can be in FASTA format or a plain text file containing only the sequence. Any non-ATGC characters (case-insensitive) will be skipped.

  </help>

</tool>