Mercurial > repos > nick > dna_visualizer
changeset 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 | abed07ebeac7 |
children | |
files | literal.xml tool_dependencies.xml visualize.xml |
diffstat | 3 files changed, 22 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/literal.xml Sun Mar 02 23:55:25 2014 -0500 +++ b/literal.xml Mon Mar 03 12:54:02 2014 -0500 @@ -1,10 +1,17 @@ <tool id="visualdna" name="DNA visualizer" version="0.1"> + + <requirements> + <requirement type="package" version="1.1.7">pil</requirement> + </requirements> + <description>Visualize DNA with colored pixels.</description> + <command interpreter="python">literal.py $input -o $output -c -s ${width}x${height} #if $colors.custom: -b $colors.background -G $colors.G -C $colors.C -A $colors.A -T $colors.T #end if </command> + <inputs> <param name="input" type="data" format="fasta,text" label="Input sequence" /> <param name="width" type="integer" value="512" min="0" max="16384" label="Output image width" help="in pixels (max 16384)" /> @@ -37,6 +44,7 @@ </when> </conditional> </inputs> + <outputs> <data name="output" format="png"/> </outputs>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_dependencies.xml Mon Mar 03 12:54:02 2014 -0500 @@ -0,0 +1,5 @@ +<tool_dependency> + <package name="pil" version="1.1.7"> + <repository toolshed="http://toolshed.g2.bx.psu.edu" name="package_pil_1_1_7" owner="iuc" changeset_revision="c19e34aa42a2" /> + </package> +</tool_dependency>
--- a/visualize.xml Sun Mar 02 23:55:25 2014 -0500 +++ b/visualize.xml Mon Mar 03 12:54:02 2014 -0500 @@ -1,11 +1,18 @@ <tool id="dnagram" name="DNA graphic" version="0.1"> + + <requirements> + <requirement type="package" version="1.1.7">pil</requirement> + </requirements> + <description>Create a graphic from a DNA sequence</description> - <command interpreter="python">visualize.py $input $output $size - </command> + + <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 highly recommended." /> </inputs> + <outputs> <data name="output" format="png"/> </outputs>