Mercurial > repos > nick > dna_visualizer
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:5257ce9d9184 |
---|---|
1 <tool id="visualdna" name="DNA visualizer" version="0.1"> | |
2 <description>Visualize DNA with colored pixels.</description> | |
3 <command interpreter="python">literal.py $input -o $output -s ${width}x${height} </command> | |
4 <inputs> | |
5 <param name="input" type="data" format="fasta" label="Input sequence" /> | |
6 <param name="width" type="integer" value="512" min="512" label="Output image width" help="in pixels" /> | |
7 <param name="height" type="integer" value="512" min="512" label="Output image height" help="in pixels" /> | |
8 </inputs> | |
9 <outputs> | |
10 <data name="output" format="png"/> | |
11 </outputs> | |
12 <stdio> | |
13 <exit_code range="1:" err_level="fatal"/> | |
14 <exit_code range=":-1" err_level="fatal"/> | |
15 </stdio> | |
16 | |
17 <help> | |
18 | |
19 .. class:: infomark | |
20 | |
21 **What it does** | |
22 | |
23 This tool convert DNA sequence into a PNG image by representing each base with one colored pixel. | |
24 | |
25 ----- | |
26 | |
27 .. class:: infomark | |
28 | |
29 **Input Format** | |
30 | |
31 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. | |
32 | |
33 </help> | |
34 | |
35 </tool> |