annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
5257ce9d9184 Initial literal.py tool
Nick Stoler <nstoler@psu.edu>
parents:
diff changeset
1 <tool id="visualdna" name="DNA visualizer" version="0.1">
5257ce9d9184 Initial literal.py tool
Nick Stoler <nstoler@psu.edu>
parents:
diff changeset
2 <description>Visualize DNA with colored pixels.</description>
5257ce9d9184 Initial literal.py tool
Nick Stoler <nstoler@psu.edu>
parents:
diff changeset
3 <command interpreter="python">literal.py $input -o $output -s ${width}x${height} </command>
5257ce9d9184 Initial literal.py tool
Nick Stoler <nstoler@psu.edu>
parents:
diff changeset
4 <inputs>
5257ce9d9184 Initial literal.py tool
Nick Stoler <nstoler@psu.edu>
parents:
diff changeset
5 <param name="input" type="data" format="fasta" label="Input sequence" />
5257ce9d9184 Initial literal.py tool
Nick Stoler <nstoler@psu.edu>
parents:
diff changeset
6 <param name="width" type="integer" value="512" min="512" label="Output image width" help="in pixels" />
5257ce9d9184 Initial literal.py tool
Nick Stoler <nstoler@psu.edu>
parents:
diff changeset
7 <param name="height" type="integer" value="512" min="512" label="Output image height" help="in pixels" />
5257ce9d9184 Initial literal.py tool
Nick Stoler <nstoler@psu.edu>
parents:
diff changeset
8 </inputs>
5257ce9d9184 Initial literal.py tool
Nick Stoler <nstoler@psu.edu>
parents:
diff changeset
9 <outputs>
5257ce9d9184 Initial literal.py tool
Nick Stoler <nstoler@psu.edu>
parents:
diff changeset
10 <data name="output" format="png"/>
5257ce9d9184 Initial literal.py tool
Nick Stoler <nstoler@psu.edu>
parents:
diff changeset
11 </outputs>
5257ce9d9184 Initial literal.py tool
Nick Stoler <nstoler@psu.edu>
parents:
diff changeset
12 <stdio>
5257ce9d9184 Initial literal.py tool
Nick Stoler <nstoler@psu.edu>
parents:
diff changeset
13 <exit_code range="1:" err_level="fatal"/>
5257ce9d9184 Initial literal.py tool
Nick Stoler <nstoler@psu.edu>
parents:
diff changeset
14 <exit_code range=":-1" err_level="fatal"/>
5257ce9d9184 Initial literal.py tool
Nick Stoler <nstoler@psu.edu>
parents:
diff changeset
15 </stdio>
5257ce9d9184 Initial literal.py tool
Nick Stoler <nstoler@psu.edu>
parents:
diff changeset
16
5257ce9d9184 Initial literal.py tool
Nick Stoler <nstoler@psu.edu>
parents:
diff changeset
17 <help>
5257ce9d9184 Initial literal.py tool
Nick Stoler <nstoler@psu.edu>
parents:
diff changeset
18
5257ce9d9184 Initial literal.py tool
Nick Stoler <nstoler@psu.edu>
parents:
diff changeset
19 .. class:: infomark
5257ce9d9184 Initial literal.py tool
Nick Stoler <nstoler@psu.edu>
parents:
diff changeset
20
5257ce9d9184 Initial literal.py tool
Nick Stoler <nstoler@psu.edu>
parents:
diff changeset
21 **What it does**
5257ce9d9184 Initial literal.py tool
Nick Stoler <nstoler@psu.edu>
parents:
diff changeset
22
5257ce9d9184 Initial literal.py tool
Nick Stoler <nstoler@psu.edu>
parents:
diff changeset
23 This tool convert DNA sequence into a PNG image by representing each base with one colored pixel.
5257ce9d9184 Initial literal.py tool
Nick Stoler <nstoler@psu.edu>
parents:
diff changeset
24
5257ce9d9184 Initial literal.py tool
Nick Stoler <nstoler@psu.edu>
parents:
diff changeset
25 -----
5257ce9d9184 Initial literal.py tool
Nick Stoler <nstoler@psu.edu>
parents:
diff changeset
26
5257ce9d9184 Initial literal.py tool
Nick Stoler <nstoler@psu.edu>
parents:
diff changeset
27 .. class:: infomark
5257ce9d9184 Initial literal.py tool
Nick Stoler <nstoler@psu.edu>
parents:
diff changeset
28
5257ce9d9184 Initial literal.py tool
Nick Stoler <nstoler@psu.edu>
parents:
diff changeset
29 **Input Format**
5257ce9d9184 Initial literal.py tool
Nick Stoler <nstoler@psu.edu>
parents:
diff changeset
30
5257ce9d9184 Initial literal.py tool
Nick Stoler <nstoler@psu.edu>
parents:
diff changeset
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.
5257ce9d9184 Initial literal.py tool
Nick Stoler <nstoler@psu.edu>
parents:
diff changeset
32
5257ce9d9184 Initial literal.py tool
Nick Stoler <nstoler@psu.edu>
parents:
diff changeset
33 </help>
5257ce9d9184 Initial literal.py tool
Nick Stoler <nstoler@psu.edu>
parents:
diff changeset
34
5257ce9d9184 Initial literal.py tool
Nick Stoler <nstoler@psu.edu>
parents:
diff changeset
35 </tool>