Mercurial > repos > nick > dna_visualizer
diff 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 diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/literal.xml Sun Mar 02 13:51:03 2014 -0500 @@ -0,0 +1,35 @@ +<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>