Mercurial > repos > greg > ks_distribution
comparison ks_distribution.xml @ 38:68447763ccc2 draft
Uploaded
author | greg |
---|---|
date | Mon, 26 Jun 2017 11:22:29 -0400 |
parents | 96e1400d3125 |
children | 15478b43d94d |
comparison
equal
deleted
inserted
replaced
37:ee4ebdf2935e | 38:68447763ccc2 |
---|---|
3 <macros> | 3 <macros> |
4 <import>macros.xml</import> | 4 <import>macros.xml</import> |
5 </macros> | 5 </macros> |
6 <expand macro="requirements_ks_distribution" /> | 6 <expand macro="requirements_ks_distribution" /> |
7 <command detect_errors="exit_code"><![CDATA[ | 7 <command detect_errors="exit_code"><![CDATA[ |
8 #import json | |
9 Rscript $__tool_directory__/ks_distribution.R | 8 Rscript $__tool_directory__/ks_distribution.R |
10 -k '$input' | 9 -k '$input' |
11 -c '$components' | 10 -c '$components' |
12 -n $components.metadata.number_comp | 11 -n $components.metadata.number_comp |
13 -o '$output' | 12 -o '$output' |
14 #if str($choose_colors_cond.choose_colors) == 'yes': | 13 #if str($choose_colors_cond.choose_colors) == 'yes': |
15 #set specified_colors = list() | 14 #set specified_colors = list() |
16 #for $selection in $choose_colors_cond.colors: | 15 #for $selection in $choose_colors_cond.colors: |
17 $specified_colors.append(str($selection.color)) | 16 $specified_colors.append(str($selection.color)) |
18 #end for | 17 #end for |
19 -r '#echo json.dumps(specified_colors)#' | 18 #set specified_colors = ",".join($specified_colors) |
19 -r '$specified_colors)' | |
20 #end if | 20 #end if |
21 ]]></command> | 21 ]]></command> |
22 <inputs> | 22 <inputs> |
23 <param name="input" format="tabular" type="data" label="KaKsAnalysis tabular file" /> | 23 <param name="input" format="tabular" type="data" label="KaKsAnalysis tabular file" /> |
24 <param name="components" format="ptkscmp" type="data" label="Significant components" /> | 24 <param name="components" format="ptkscmp" type="data" label="Significant components" /> |