Mercurial > repos > nick > dna_visualizer
comparison literal.xml @ 10:54223991334b default tip
tool_dependencies.xml: Defined PIL dependency
author | Nick Stoler <nstoler@psu.edu> |
---|---|
date | Mon, 03 Mar 2014 12:54:02 -0500 |
parents | 2d99feb4a8e3 |
children |
comparison
equal
deleted
inserted
replaced
9:abed07ebeac7 | 10:54223991334b |
---|---|
1 <tool id="visualdna" name="DNA visualizer" version="0.1"> | 1 <tool id="visualdna" name="DNA visualizer" version="0.1"> |
2 | |
3 <requirements> | |
4 <requirement type="package" version="1.1.7">pil</requirement> | |
5 </requirements> | |
6 | |
2 <description>Visualize DNA with colored pixels.</description> | 7 <description>Visualize DNA with colored pixels.</description> |
8 | |
3 <command interpreter="python">literal.py $input -o $output -c -s ${width}x${height} | 9 <command interpreter="python">literal.py $input -o $output -c -s ${width}x${height} |
4 #if $colors.custom: | 10 #if $colors.custom: |
5 -b $colors.background -G $colors.G -C $colors.C -A $colors.A -T $colors.T | 11 -b $colors.background -G $colors.G -C $colors.C -A $colors.A -T $colors.T |
6 #end if | 12 #end if |
7 </command> | 13 </command> |
14 | |
8 <inputs> | 15 <inputs> |
9 <param name="input" type="data" format="fasta,text" label="Input sequence" /> | 16 <param name="input" type="data" format="fasta,text" label="Input sequence" /> |
10 <param name="width" type="integer" value="512" min="0" max="16384" label="Output image width" help="in pixels (max 16384)" /> | 17 <param name="width" type="integer" value="512" min="0" max="16384" label="Output image width" help="in pixels (max 16384)" /> |
11 <param name="height" type="integer" value="512" min="0" max="16384" label="Output image height" help="in pixels (max 16384)" /> | 18 <param name="height" type="integer" value="512" min="0" max="16384" label="Output image height" help="in pixels (max 16384)" /> |
12 <conditional name="colors"> | 19 <conditional name="colors"> |
35 <validator type="regex" message='Color must be in the form of "R,G,B"'>^[0-9]+,[0-9]+,[0-9]+$</validator> | 42 <validator type="regex" message='Color must be in the form of "R,G,B"'>^[0-9]+,[0-9]+,[0-9]+$</validator> |
36 </param> | 43 </param> |
37 </when> | 44 </when> |
38 </conditional> | 45 </conditional> |
39 </inputs> | 46 </inputs> |
47 | |
40 <outputs> | 48 <outputs> |
41 <data name="output" format="png"/> | 49 <data name="output" format="png"/> |
42 </outputs> | 50 </outputs> |
43 | 51 |
44 <help> | 52 <help> |