Mercurial > repos > mvdbeek > generate_sliding_windows
diff generate_sliding_windows.xml @ 4:cb2d94bb6772 draft
Uploaded
author | mvdbeek |
---|---|
date | Wed, 15 Apr 2015 09:08:37 -0400 |
parents | 3dcce035dd6c |
children | 79e43a3b0883 |
line wrap: on
line diff
--- a/generate_sliding_windows.xml Wed Apr 15 07:57:55 2015 -0400 +++ b/generate_sliding_windows.xml Wed Apr 15 09:08:37 2015 -0400 @@ -1,4 +1,4 @@ -<tool id="generate_sliding_windows" name="generate_sliding_windows" version="0.1.2"> +<tool id="generate_sliding_windows" name="generate_sliding_windows" version="0.1.3"> <description>Split fasta sequence in nucleotide windows</description> <requirements> <requirement type="package" version="1.65">biopython</requirement> @@ -11,7 +11,21 @@ generate_sliding_windows.py --input "$input" --output "$output" --window $window --step $step ]]></command> <inputs> - <param type="data" name="input" label="input fasta file" help="select fasta file for which you wish to generate a multi-fasta file in a sliding window fashion" format="fasta" /> + <conditional name="refFastaSource"> + <param help="" label="Will you select a fasta sequence from your history or use a pre-installed sequence?" name="fastaSource" type="select"> + <option value="history">Use one from the history</option> + <option value="pre-installed">Use a pre-installed fasta sequence</option> + </param> + <when value="pre-installed"> + <param help="if you wish to have your fasta sequence listed contact instance administrator" label="Select a fasta sequence" name="input" type="select"> + <options from_data_table="all_fasta"> + </options> + </param> + </when> + <when value="history"> + <param format="fasta" label="Select a fasta file for which you wish to generate a multi-fasta file in a sliding window fashion" name="input" type="data" /> + </when> + </conditional> <param type="integer" name="window" value="21" min="1" label="window size" help="Specifiy the size of the windows that should be generated"/> <param type="integer" name="step" value="21" min="1" label="step size" help="Specify the distance with which windows should be spaced apart."/> </inputs>