view visualize.xml @ 8:534516105ca9

visualize.py: The second tool, for a more aesthetic, abstract visualization.
author Nick Stoler <nstoler@psu.edu>
date Sun, 02 Mar 2014 23:47:41 -0500
parents
children abed07ebeac7
line wrap: on
line source

<tool id="dnagram" name="DNA graphic" version="0.1">
  <description>Create a graphic from a DNA sequence</description>
  <command interpreter="python">visualize.py $input $output $size
  </command>
  <inputs>
    <param name="input" type="data" format="fasta,text" label="Input sequence" />
    <param name="size" type="integer" value="512" min="0" max="16384" label="Output image width (pixels)" help="Height will be the same. A power of 2 is recommended." />
  </inputs>
  <outputs>
    <data name="output" format="png"/>
  </outputs>

  <help>

.. class:: infomark

**What it does**

This tool creates a graphic representing a DNA sequence.  
The graphic is derived from the sequence, but is not a literal representation. It is intended to be an aesthetic visual based on the sequence. Even a small change in the input sequence will result in a drastically different image. See [here](http://nstoler.com/misc/yourgenome.html) for a full description and rationale.

  </help>

</tool>