Mercurial > repos > greg > ks_distribution
comparison ks_distribution.xml @ 19:14f771140d45 draft
Uploaded
author | greg |
---|---|
date | Fri, 23 Jun 2017 15:00:34 -0400 |
parents | 133668490614 |
children | f3b7455d6c04 |
comparison
equal
deleted
inserted
replaced
18:828b43bcf2ac | 19:14f771140d45 |
---|---|
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.num_comp | 11 -n $components.metadata.num_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 ccs = list() | 14 #set ccs = list() |
16 #for $i in $choose_colors_cond.colors: | 15 #for $i in $choose_colors_cond.colors: |
17 $ccs.append(str($i.color)) | 16 $ccs.append(str($i.color)) |
18 #end for | 17 #end for |
19 -r '#echo json.dumps(ccs)#' | 18 -r str($ccs) |
20 #else: | |
21 -r '' | |
22 #end if | 19 #end if |
23 ]]></command> | 20 ]]></command> |
24 <inputs> | 21 <inputs> |
25 <param name="input" format="tabular" type="data" label="KaKsAnalysis tabular file" /> | 22 <param name="input" format="tabular" type="data" label="KaKsAnalysis tabular file" /> |
26 <param name="components" format="ptkscmp" type="data" label="Significant components" /> | 23 <param name="components" format="ptkscmp" type="data" label="Significant components" /> |