Mercurial > repos > iuc > cnvkit_call
annotate call.xml @ 0:2120d778cfde draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
author | iuc |
---|---|
date | Sun, 14 May 2023 20:08:32 +0000 |
parents | |
children | cc56d01a0b36 |
rev | line source |
---|---|
0
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
1 <tool id="cnvkit_call" name="CNVkit Call" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05"> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
2 <description>Call copy number variants from segmented log2 ratios</description> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
3 <macros> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
4 <import>macros.xml</import> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
5 </macros> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
6 <expand macro="xrefs"/> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
7 <expand macro="requirements"/> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
8 <command detect_errors="exit_code"><![CDATA[ |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
9 ln -s '$input_sample_file' ./tumor.cns && |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
10 #if $additional_SNP_allelic_process.vcf |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
11 ln -s '$additional_SNP_allelic_process.vcf' ./vcf_file.vcf && |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
12 #end if |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
13 cnvkit.py call |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
14 ./tumor.cns |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
15 #if $advanced_settings.method == "threshold" |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
16 #set $method_val = "threshold" |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
17 --method '$method_val' |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
18 #else |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
19 --method '$advanced_settings.method' |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
20 #end if |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
21 #if $advanced_settings.center == "median" |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
22 #set $center_val = "median" |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
23 --center '$center_val' |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
24 #else |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
25 --center '$advanced_settings.center' |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
26 #end if |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
27 #if str($advanced_settings.thresholds) |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
28 --thresholds'$advanced_settings.thresholds' |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
29 #end if |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
30 #if str($advanced_settings.center_at) |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
31 --center-at '$advanced_settings.center_at' |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
32 #end if |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
33 #if str($advanced_settings.add_filter.Filter) == "yes": |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
34 #if '$advanced_settings.add_filter.filter' == "ampdel" |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
35 #set $filter_val = "ampdel" |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
36 --filter '$filter_val' |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
37 #else |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
38 --filter '$advanced_settings.add_filter.filter' |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
39 #end if |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
40 #end if |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
41 #if str($advanced_settings.ploidy) |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
42 --ploidy $advanced_settings.ploidy |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
43 #end if |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
44 #if str($advanced_settings.purity) |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
45 --purity $advanced_settings.purity |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
46 #end if |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
47 $advanced_settings.drop_low_coverage |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
48 #if str($advanced_settings.Sample_sex.sex) == "yes": |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
49 #if '$advanced_settings.Sample_sex.sample_sex' == "Male" |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
50 #set $sample_sex_val = "Male" |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
51 --sample-sex '$segment_method_val' |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
52 #else |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
53 --sample-sex '$advanced_settings.Sample_sex.sample_sex' |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
54 #end if |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
55 #end if |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
56 $advanced_settings.male_reference |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
57 #if $additional_SNP_allelic_process.vcf |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
58 --vcf ./vcf_file.vcf |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
59 #end if |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
60 #if $additional_SNP_allelic_process.sample_id |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
61 --sample-id '$additional_SNP_allelic_process.sample_id' |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
62 #end if |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
63 #if $additional_SNP_allelic_process.normal_id |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
64 --normal-id '$additional_SNP_allelic_process.normal_id' |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
65 #end if |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
66 #if str($additional_SNP_allelic_process.min_variant_depth) |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
67 --min-variant-depth $additional_SNP_allelic_process.min_variant_depth |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
68 #end if |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
69 #if str($additional_SNP_allelic_process.zygosity_freq) |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
70 --zygosity-freq $additional_SNP_allelic_process.zygosity_freq |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
71 #end if |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
72 ]]></command> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
73 <inputs> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
74 <param name="input_sample_file" type="data" format="tabular" label="CNS file" help="" /> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
75 <section name="additional_SNP_allelic_process" title="additional SNP b_allele frequencies process" expanded="false"> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
76 <expand macro="additionally_SNP_process" /> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
77 </section> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
78 <section name="advanced_settings" title="Advanced settings" expanded="false"> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
79 <expand macro="call_optional" /> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
80 <expand macro="sample_sex_condition" /> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
81 <conditional name="add_filter"> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
82 <param name="Filter" type="select" label="Add filters" help=""> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
83 <option value="yes">Add filters</option> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
84 <option value="no">don't add filters</option> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
85 </param> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
86 <when value="yes"> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
87 <expand macro="filter" /> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
88 </when> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
89 <when value="no"> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
90 </when> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
91 </conditional> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
92 </section> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
93 </inputs> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
94 <outputs> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
95 <data name="out_sample_Bintest" format="tabular" label="${tool.name} on ${on_string}: Sample Bintest " from_work_dir="tumor.call.cns" /> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
96 </outputs> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
97 <tests> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
98 <test expect_num_outputs="1"> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
99 <param name="input_sample_file" ftype="tabular" value="tumor.cns" /> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
100 <param name="zygosity_freq" value="0.25" /> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
101 <param name="min_variant_depth" value="40" /> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
102 <param name="purity" value="1" /> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
103 <output name="out_sample_Bintest"> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
104 <assert_contents><has_text_matching expression="chrM"/></assert_contents> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
105 </output> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
106 </test> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
107 <test expect_num_outputs="1"> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
108 <conditional name="Sample_sex"> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
109 <param name="sex" value="yes" /> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
110 </conditional> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
111 <param name="input_sample_file" ftype="tabular" value="tumor.cns" /> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
112 <param name="min_variant_depth" value="40" /> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
113 <param name="purity" value="1" /> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
114 <output name="out_sample_Bintest"> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
115 <assert_contents><has_text_matching expression="chrM"/></assert_contents> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
116 </output> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
117 </test> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
118 </tests> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
119 <help><![CDATA[ |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
120 Given segmented log2 ratio estimates (.cns), derive each segment’s absolute integer copy number using either: |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
121 A list of threshold log2 values for each copy number state (-m threshold), or rescaling - for a given known |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
122 tumor cell fraction and normal ploidy, then simple rounding to the nearest integer copy number (-m clonal). |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
123 |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
124 The output is Segmented log2 ratios (.cns) file with those columns |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
125 chromosome, Start, end, gene, log2, depth, weight and number of bins covered by the segment (probes) |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
126 ]]></help> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
127 <expand macro="citations" /> |
2120d778cfde
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
128 </tool> |