Mercurial > repos > iuc > bcftools_cnv
annotate bcftools_cnv.xml @ 9:acbd780cf753 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
| author | iuc |
|---|---|
| date | Wed, 05 Jun 2019 12:57:32 -0400 |
| parents | 3db02178fb4d |
| children | d81292058478 |
| rev | line source |
|---|---|
|
0
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
1 <?xml version='1.0' encoding='utf-8'?> |
|
9
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
2 <tool name="bcftools @EXECUTABLE@" id="bcftools_@EXECUTABLE@" version="@TOOL_VERSION@+galaxy1"> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
3 <description>Call copy number variation from VCF B-allele frequency (BAF) and Log R Ratio intensity (LRR) values</description> |
|
0
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
4 <macros> |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
5 <token name="@EXECUTABLE@">cnv</token> |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
6 <import>macros.xml</import> |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
7 </macros> |
|
9
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
8 <expand macro="requirements"> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
9 <expand macro="matplotlib_requirement" /> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
10 </expand> |
|
0
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
11 <expand macro="version_command" /> |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
12 <command detect_errors="aggressive"><![CDATA[ |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
13 @PREPARE_ENV@ |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
14 @PREPARE_INPUT_FILE@ |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
15 #set $section = $sec_restrict |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
16 @PREPARE_TARGETS_FILE@ |
|
5
3f4a9f300a87
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 10853682ffb2e9776256bb63c899ef5c5fe0007e
iuc
parents:
4
diff
changeset
|
17 @PREPARE_REGIONS_FILE@ |
|
0
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
18 |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
19 bcftools @EXECUTABLE@ |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
20 |
|
9
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
21 #set $output_dir = 'cnv_tmp' |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
22 --output-dir $output_dir |
|
0
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
23 |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
24 ## General section |
|
9
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
25 #set $query_sample = str($query_sample).strip() |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
26 #set $control_sample = str($control_sample).strip() |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
27 #if $control_sample: |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
28 -c '$control_sample' |
|
0
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
29 #end if |
|
9
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
30 #if $query_sample: |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
31 -s '$query_sample' |
|
0
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
32 #end if |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
33 @AF_FILE@ |
|
9
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
34 #if str($plotting.generate_plots) != 'none': |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
35 -p ${plotting.plot_threshold} |
|
0
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
36 #end if |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
37 |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
38 ## HMM section |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
39 #set $section = $sec_hmm |
|
9
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
40 --aberrant "${section.aberrant_query},${section.aberrant_control}" |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
41 #if str($section.aberrant_optimization.do_optimize) == 'yes': |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
42 --optimize ${section.aberrant_optimization.lower_bound} |
|
0
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
43 #end if |
|
9
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
44 --BAF-weight ${section.score_usage.baf_weight} |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
45 --BAF-dev "${section.score_usage.baf_dev_query},${section.score_usage.baf_dev_control}" |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
46 --LRR-weight ${section.score_usage.lrr_weight} |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
47 #if str($section.score_usage.compute_on) == 'baf+lrr': |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
48 --LRR-dev "${section.score_usage.lrr_dev_query},${section.score_usage.lrr_dev_control}" |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
49 --LRR-smooth-win ${section.score_usage.lrr_smooth_win} |
|
0
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
50 #end if |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
51 #if $section.same_prob: |
|
9
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
52 --same-prob ${section.same_prob} |
|
0
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
53 #end if |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
54 #if $section.err_prob: |
|
9
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
55 --err-prob ${section.err_prob} |
|
0
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
56 #end if |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
57 #if $section.xy_prob: |
|
9
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
58 --xy-prob ${section.xy_prob} |
|
0
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
59 #end if |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
60 |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
61 ## Filter section |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
62 #set $section = $sec_restrict |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
63 @REGIONS@ |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
64 @TARGETS@ |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
65 |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
66 ## Primary Input/Outputs |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
67 @INPUT_FILE@ |
|
9
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
68 |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
69 && mv $output_dir/cn.*.tab '$output_cn' |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
70 #if $control_sample: |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
71 && mv ${output_dir}/summary.tab '$output_summary' |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
72 #else: |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
73 && mv ${output_dir}/summary.*.tab '$output_summary' |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
74 #end if |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
75 |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
76 #if str($plotting.generate_plots) != 'none': |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
77 ## collect all generated plots and embed them in html as base-64 encoded data |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
78 && (echo '<html><body><head><title>Copy-number variation plots (bcftools cnv)</title><style type="text/css"> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
79 @media print { |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
80 img { |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
81 max-width:100% !important; |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
82 page-break-inside: avoid; |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
83 } |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
84 </style>' > $output_plots; |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
85 for plot in $output_dir/*.png; do |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
86 [ -f "\$plot" ] || break; |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
87 echo '<div><img src="data:image/png;base64,' >> $output_plots; |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
88 python -m base64 \$plot >> $output_plots; |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
89 echo '" /></div><hr>' >> $output_plots; |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
90 done; |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
91 echo '</body></html>' >> $output_plots;) |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
92 #end if |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
93 |
|
0
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
94 ]]> |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
95 </command> |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
96 <inputs> |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
97 <expand macro="macro_input" /> |
|
9
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
98 <param argument="-s" name="query_sample" type="text" label="Query Sample" optional="True" help="The name (as used in the input) of the query sample in the input. Can be ommitted if, and only if, there is only one sample in the input." /> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
99 <param argument="-c" name="control_sample" type="text" label="Control Sample" optional="True" help="The name (as used in the input) of an optional control sample to compare against. Note: The pairwise calling mode represents the real strength of the tool as it helps to reduce the number of false calls and also allows one to distinguish between normal and novel copy number variation." /> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
100 <expand macro="macro_AF_file" /> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
101 <conditional name="plotting"> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
102 <param name="generate_plots" type="select" label="Plot results?"> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
103 <option value="all">Yes, plot results for all chromosomes</option> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
104 <option value="some">Yes, but plot only chromosomes with above-threshold quality of CNV status estimate</option> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
105 <option value="none">No, do not generate plots</option> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
106 </param> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
107 <when value="all"> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
108 <param name="plot_threshold" type="hidden" value="0" /> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
109 </when> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
110 <when value="some"> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
111 <param argument="-p" name="plot_threshold" type="float" value="0" |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
112 label="Plot Threshold" |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
113 help="Plot aberrant chromosomes with quality at least 'float'" /> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
114 </when> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
115 <when value="none" /> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
116 </conditional> |
|
0
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
117 <section name="sec_restrict" expanded="false" title="Restrict to"> |
|
9
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
118 <expand macro="macro_restrict" /> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
119 <expand macro="macro_restrict" type="target" label_type="Target" /> |
|
0
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
120 </section> |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
121 <section name="sec_hmm" expanded="false" title="HMM Options"> |
|
9
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
122 <param argument="--aberrant" name="aberrant_query" type="float" value="1" min="0" max="1" |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
123 label="Estimated purity of the query sample" |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
124 help="Estimate of the fractional contribution of the desired query tissue to the (possibly control-contaminated) query sample (default: 1 = no contamination with control tissue)" /> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
125 <param argument="--aberrant" name="aberrant_control" type="float" value="1" min="0" max="1" |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
126 label="Estimated purity of the control sample" |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
127 help="Estimate of the fractional contribution of the desired control tissue to the (possibly query-contaminated) control sample (default: 1 = no contamination with query tissue)" /> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
128 <conditional name="aberrant_optimization"> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
129 <param name="do_optimize" type="select" |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
130 label="Adjust sample purity estimates based on data?" |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
131 help="Instead of treating your specified estimates of the sample purities as fixed values, the tool can use them as starting values for an iterative optimization that tries to estimate the sample purities from the data. Note: With estimate optimization enabled the final estimates will be reported as cell fraction (CF) estimates in the summary report."> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
132 <option value="no">No, leave sample purities as specified</option> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
133 <option value="yes">Yes, adjust purity estimates</option> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
134 </param> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
135 <when value="no" /> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
136 <when value="yes"> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
137 <param argument="--optimize" name="lower_bound" type="float" value="0.3" min="1e-9" max="1" |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
138 label="Lower bound for adjusted estimate" |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
139 help="Constrains the final adjusted purity estimates not to be smaller than this value." /> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
140 </when> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
141 </conditional> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
142 <conditional name="score_usage"> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
143 <param name="compute_on" type="select" label="Use BAF and LRR annotations to call CNVs?" |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
144 help="Using LRR information in addition to BAF values is the default and helps in dealing with random noise in the data. However, the tool is also able to call CNVs from BAF values alone in case your input does not feature LRR information."> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
145 <option value="baf+lrr">Yes (requires input with both BAF and LRR subfields)</option> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
146 <option value="baf">No, use BAF values exclusively</option> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
147 </param> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
148 <when value="baf+lrr"> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
149 <param argument="--BAF-weight" name="baf_weight" type="float" value="1" min="0" max="1" |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
150 label="Baf Weight" help="relative contribution from BAF" /> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
151 |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
152 <param argument="--BAF-dev" name="baf_dev_query" type="float" value="0.04" min="0" max="1" |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
153 label="Query sample BAF deviation" |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
154 help="Expected BAF deviation in the query sample (default: 0.04)" /> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
155 <param argument="--BAF-dev" name="baf_dev_control" type="float" value="0.04" min="0" max="1" |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
156 label="Control sample BAF deviation" |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
157 help="Expected BAF deviation in the control sample (default: 0.04)" /> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
158 |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
159 <param argument="--LRR-weight" name="lrr_weight" type="float" value="0.2" min="0" max="1" |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
160 label="LRR Weight" |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
161 help="Relative contribution from LRR. This option can have a big effect on the number of calls produced. With truly random noise (such as in simulated data), the value should be set high (1.0), but in the presence of systematic noise when LRR values are not informative, lower values result in cleaner calls (default: 0.2)." /> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
162 <param argument="--LRR-dev" name="lrr_dev_query" type="float" value="0.2" min="0" max="1" |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
163 label="Query sample LRR Deviation" |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
164 help="Expected LRR deviation in the query sample (default: 0.2)" /> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
165 <param argument="--LRR-dev" name="lrr_dev_control" type="float" value="0.2" min="0" max="1" |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
166 label="Control sample LRR Deviation" |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
167 help="Expected LRR deviation in the control sample (default: 0.2)" /> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
168 <param argument="--LRR-smooth-win" name="lrr_smooth_win" type="integer" value="10" |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
169 label="LRR Smoothing Window" |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
170 help="Window of LRR moving average smoothing (default: 10)" /> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
171 </when> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
172 <when value="baf"> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
173 <param argument="--BAF-dev" name="baf_dev_query" type="float" value="0.04" min="0" max="1" |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
174 label="Query sample BAF deviation" |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
175 help="Expected BAF deviation in the query sample (default: 0.04)" /> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
176 <param argument="--BAF-dev" name="baf_dev_control" type="float" value="0.04" min="0" max="1" |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
177 label="Control sample BAF deviation" |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
178 help="Expected BAF deviation in the control sample (default: 0.04)" /> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
179 <param name="baf_weight" type="hidden" value="1" /> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
180 <param name="lrr_weight" type="hidden" value="0" /> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
181 </when> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
182 </conditional> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
183 <param argument="--err-prob" name="err_prob" type="float" value="1e-4" label="Err Prob" help="Uniform error probability" /> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
184 <param argument="--same-prob" name="same_prob" type="float" value="0.5" min="0" max="1" label="Same Prob"> |
|
0
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
185 <help> |
|
9
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
186 The prior probability of the query and the control sample being the same. |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
187 Setting to 0 calls both independently, setting to 1 forces the same copy number state in both. (default: 0.5) |
|
0
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
188 </help> |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
189 </param> |
|
9
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
190 <param argument="--xy-prob" name="xy_prob" type="float" min="0." max="1." label="Xy Prob" value="1e-9"> |
|
0
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
191 <help> |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
192 The HMM probability of transition to another copy number state. |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
193 Increasing this value leads to smaller and more frequent calls. |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
194 </help> |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
195 </param> |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
196 </section> |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
197 </inputs> |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
198 <outputs> |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
199 <data name="output_cn" format="tabular" label="${input_file.name.rsplit('.',1)[0]}.cn"/> |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
200 <data name="output_summary" format="tabular" label="${input_file.name.rsplit('.',1)[0]}.summary"/> |
|
9
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
201 <data name="output_plots" format="html" label="${input_file.name.rsplit('.',1)[0]}.plots"> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
202 <filter>plotting['generate_plots'] != 'none'</filter> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
203 </data> |
|
0
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
204 </outputs> |
|
9
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
205 <tests> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
206 <test expect_num_outputs="3"> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
207 <param name="input_file" ftype="vcf" value="cnv.vcf" /> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
208 <output name="output_summary" file="cnv_summary.tab" compare="re_match" /> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
209 </test> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
210 <test expect_num_outputs="2"> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
211 <param name="input_file" ftype="vcf" value="cnv.vcf" /> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
212 <conditional name="plotting"> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
213 <param name="generate_plots" value="none" /> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
214 </conditional> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
215 <output name="output_summary" file="cnv_summary.tab" compare="re_match" /> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
216 </test> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
217 <test expect_num_outputs="3"> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
218 <param name="input_file" ftype="vcf" value="cnv.vcf" /> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
219 <param name="query_sample" value="test" /> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
220 <param name="control_sample" value="test" /> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
221 <output name="output_summary" file="cnv_pairwise_summary.tab" compare="re_match" /> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
222 </test> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
223 <test expect_num_outputs="2"> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
224 <param name="input_file" ftype="vcf" value="cnv_baf_only.vcf" /> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
225 <conditional name="plotting"> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
226 <param name="generate_plots" value="none" /> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
227 </conditional> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
228 <conditional name="score_usage"> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
229 <param name="compute_on" value="baf" /> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
230 </conditional> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
231 <output name="output_summary" file="cnv_summary.tab" compare="re_match" /> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
232 </test> |
|
acbd780cf753
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit e648d86d550ddf2eb67237752320c390b3a780e5
iuc
parents:
8
diff
changeset
|
233 </tests> |
|
0
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
234 <help><![CDATA[ |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
235 ===================================== |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
236 bcftools @EXECUTABLE@ |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
237 ===================================== |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
238 |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
239 Copy number variation caller, requires Illumina's B-allele frequency (BAF) and Log R Ratio intensity (LRR). |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
240 The HMM considers the following copy number states: CN 2 (normal), 1 (single-copy loss), 0 (complete loss), 3 (single-copy gain) |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
241 |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
242 @REGIONS_HELP@ |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
243 @TARGETS_HELP@ |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
244 |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
245 @BCFTOOLS_MANPAGE@#@EXECUTABLE@ |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
246 |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
247 @BCFTOOLS_WIKI@ |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
248 ]]> |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
249 </help> |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
250 <expand macro="citations" /> |
|
f8d5042afdfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit ef90c4602bdb83ea7455946c9d175ea27284e643
iuc
parents:
diff
changeset
|
251 </tool> |
