Mercurial > repos > iuc > cnvkit_reference
annotate reference.xml @ 2:0c3db8ec44b0 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
author | iuc |
---|---|
date | Fri, 29 Sep 2023 15:41:46 +0000 |
parents | 83470ecad188 |
children |
rev | line source |
---|---|
0
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
1 <tool id="cnvkit_reference" name="CNVkit Reference" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05"> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
2 <description>Compile a copy-number reference from the given files or directory containing normal samples</description> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
3 <macros> |
75eca7985d89
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> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
5 </macros> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
6 <expand macro="xrefs"/> |
2
0c3db8ec44b0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
1
diff
changeset
|
7 <expand macro="creators"/> |
0
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
8 <expand macro="requirements"/> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
9 <command detect_errors="exit_code"><![CDATA[ |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
10 #import re |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
11 #if str($CNV_reference.CNV_reference_availabel) == "yes" |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
12 #set $names = [] |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
13 #set $x=1 |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
14 #for $x, $input in enumerate($CNV_reference.input_cnn_file): |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
15 #set $name_base = re.sub('[^\w\-_\.]', '_', $input.element_identifier) |
2
0c3db8ec44b0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
1
diff
changeset
|
16 #set $name = $name_base |
0
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
17 #silent $names.append( $name ) |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
18 ln -s '$input' ${name}.cnn && |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
19 #end for |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
20 #end if |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
21 #if str($CNV_reference.CNV_reference_availabel) == "no" |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
22 #if $CNV_reference.antitargets |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
23 ln -s '$CNV_reference.antitargets' ./antitargets.bed && |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
24 #end if |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
25 ln -s '$CNV_reference.targets' ./targets.bed && |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
26 #end if |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
27 #if $CNV_reference.advanced_settings.reference_source.fasta |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
28 #if str($CNV_reference.advanced_settings.reference_source.ref_selector) == 'history': |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
29 ln -s '$CNV_reference.advanced_settings.reference_source.fasta' ./genome.fa && |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
30 samtools faidx ./genome.fa 2>&1 || echo 'Error running samtools faidx for indexing fasta reference for CNVkit' >&2 && |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
31 #else |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
32 ln -s '$CNV_reference.advanced_settings.reference_source.fasta.fields.path' ./genome.fa && |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
33 ln -s '${CNV_reference.advanced_settings.reference_source.fasta.fields.path}.fai' ./genome.fa.fai && |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
34 #end if |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
35 #end if |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
36 cnvkit.py reference |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
37 #if str($CNV_reference.CNV_reference_availabel) == "yes" |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
38 #for $name in $names: |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
39 ${name}.cnn |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
40 #end for |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
41 #end if |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
42 --output ref-tas.cnn |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
43 $CNV_reference.advanced_settings.cluster |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
44 #if str($CNV_reference.advanced_settings.min_cluster_size) |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
45 --min-cluster-size '$CNV_reference.advanced_settings.min_cluster_size' |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
46 #end if |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
47 #if str($CNV_reference.advanced_settings.Sample_sex.sex) == "yes": |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
48 #if '$CNV_reference.advanced_settings.Sample_sex.sample_sex' == "Male" |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
49 #set $sample_sex_val = "Male" |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
50 --sample-sex '$segment_method_val' |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
51 #else |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
52 --sample-sex '$CNV_reference.advanced_settings.Sample_sex.sample_sex' |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
53 #end if |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
54 #end if |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
55 $CNV_reference.advanced_settings.male_reference |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
56 #if str($CNV_reference.CNV_reference_availabel) == "no" |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
57 --targets ./targets.bed |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
58 #if $CNV_reference.antitargets |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
59 --antitargets ./antitargets.bed |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
60 #end if |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
61 #end if |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
62 $CNV_reference.disable_some_of_the_bias_corrections.no_gc |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
63 $CNV_reference.disable_some_of_the_bias_corrections.no_edge |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
64 $CNV_reference.disable_some_of_the_bias_corrections.no_rmask |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
65 ]]></command> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
66 <inputs> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
67 <conditional name="CNV_reference"> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
68 <param name="CNV_reference_availabel" type="select" label="Build or reuse a copy number reference file cnn?" help=""> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
69 <option value="no" selected="True">Build a new copy number reference file</option> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
70 <option value="yes">Reuse a copy number reference file</option> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
71 </param> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
72 <when value="no"> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
73 <expand macro="construct_CNV_ref_with_natural_expected_number" /> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
74 <section name="advanced_settings" title="Advanced settings" expanded="false"> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
75 <expand macro="reference_interface" /> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
76 <expand macro="reference_optional" /> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
77 <expand macro="sample_sex_condition" /> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
78 </section> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
79 <section name="disable_some_of_the_bias_corrections" title="Bias corrections settings" expanded="false"> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
80 <expand macro="disable_specific_automatic_bias_corrections" /> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
81 </section> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
82 </when> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
83 <when value="yes"> |
2
0c3db8ec44b0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
1
diff
changeset
|
84 <param name="input_cnn_file" type="data" format="tabular" multiple="true" label="Sample Target/antitarget Coverage cnn file" help="" /> |
0
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
85 <section name="advanced_settings" title="Advanced settings" expanded="false"> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
86 <expand macro="reference_interface" /> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
87 <expand macro="reference_optional" /> |
1
83470ecad188
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit d934e358f122bc0f30cc818b52e070dd8e18d8b1
iuc
parents:
0
diff
changeset
|
88 <expand macro="sample_sex_condition" /> |
0
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
89 </section> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
90 <section name="disable_some_of_the_bias_corrections" title="Bias corrections settings" expanded="false"> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
91 <expand macro="disable_specific_automatic_bias_corrections" /> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
92 </section> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
93 </when> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
94 </conditional> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
95 </inputs> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
96 <outputs> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
97 <data name="out_referene_tas" format="tabular" label="${tool.name} on ${on_string}: TAS-on-target coverage" from_work_dir="ref-tas.cnn" /> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
98 </outputs> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
99 <tests> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
100 <test expect_num_outputs="1"> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
101 <conditional name="reference_source"> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
102 <param name="ref_selector" value="history"/> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
103 <param name="fasta" ftype="fasta" value="genome.fasta" /> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
104 </conditional> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
105 <param name="CNV_reference_availabel" value="yes" /> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
106 <param name="input_cnn_file" ftype="tabular" value="tumor.targetcoverage.cnn" /> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
107 <param name="no_gc" value="1" /> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
108 <output name="out_referene_tas" file="ref-tas.cnn" /> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
109 </test> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
110 <test expect_num_outputs="1"> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
111 <conditional name="reference_source"> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
112 <param name="ref_selector" value="cached"/> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
113 <param name="fasta" value="test_buildid"/> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
114 </conditional> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
115 <param name="CNV_reference_availabel" value="yes" /> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
116 <param name="input_cnn_file" ftype="tabular" value="tumor.targetcoverage.cnn" /> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
117 <param name="no_gc" value="1" /> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
118 <output name="out_referene_tas" file="ref-tas.cnn" /> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
119 </test> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
120 <test expect_num_outputs="1"> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
121 <conditional name="reference_source"> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
122 <param name="ref_selector" value="cached"/> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
123 <param name="fasta" value="test_buildid"/> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
124 </conditional> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
125 <param name="CNV_reference_availabel" value="yes" /> |
2
0c3db8ec44b0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
1
diff
changeset
|
126 <param name="input_cnn_file" ftype="tabular" value="tumor.targetcoverage.cnn,test.targetcoverage.cnn" /> |
0
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
127 <param name="no_gc" value="1" /> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
128 <output name="out_referene_tas"> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
129 <assert_contents><has_text text="chromosome"/></assert_contents> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
130 </output> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
131 </test> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
132 <test expect_num_outputs="1"> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
133 <conditional name="reference_source"> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
134 <param name="ref_selector" value="cached"/> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
135 <param name="fasta" value="test_buildid"/> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
136 </conditional> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
137 <param name="CNV_reference_availabel" value="no" /> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
138 <param name="targets" ftype="bed" value="capture.target.bed" /> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
139 <param name="no_gc" value="1" /> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
140 <output name="out_referene_tas"> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
141 <assert_contents><has_text text="chromosome"/></assert_contents> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
142 </output> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
143 </test> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
144 <test expect_num_outputs="1"> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
145 <conditional name="reference_source"> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
146 <param name="ref_selector" value="cached"/> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
147 <param name="fasta" value="test_buildid"/> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
148 </conditional> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
149 <conditional name="Sample_sex"> |
2
0c3db8ec44b0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
1
diff
changeset
|
150 <param name="sex" value="no" /> |
0
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
151 </conditional> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
152 <param name="CNV_reference_availabel" value="no" /> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
153 <param name="targets" ftype="bed" value="capture.target.bed" /> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
154 <param name="no_gc" value="1" /> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
155 <output name="out_referene_tas"> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
156 <assert_contents><has_text text="chromosome"/></assert_contents> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
157 </output> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
158 </test> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
159 </tests> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
160 <help><![CDATA[ |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
161 Compile a copy-number reference from the given files or directory (containing normal samples). |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
162 If given a reference genome (-f option), also calculate the GC content and repeat-masked |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
163 proportion of each region. |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
164 |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
165 The reference .cnn file output contains those columns |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
166 chromosome, Start, end, gene, GC content of the sequence region (gc), RepeatMasker-masked proportion |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
167 of the sequence region (rmask), Statistical spread or dispersion (spread), Robust average of coverage |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
168 depths (log2 ) and Robust average of absolute-scale coverage depths without any bias corrections (depth) |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
169 |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
170 ]]></help> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
171 <expand macro="citations" /> |
75eca7985d89
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit c35b83e4b65b211377c9f616c77d7306da48a984
iuc
parents:
diff
changeset
|
172 </tool> |