annotate bed.xml @ 1:dad30a23fcd6 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit fc1282ec68b346988203ead860e9b9d6a47e9efb
author iuc
date Sat, 01 Mar 2025 11:48:59 +0000
parents b14f1b2f6196
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
1 <tool id="cnvkit_export_bed" name="CNVkit Export BED" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05">
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
2 <description>Converts the Segmented copy ratio data file (*.cns) file into BED file</description>
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
3 <macros>
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
4 <import>macros.xml</import>
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
5 </macros>
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
6 <expand macro="xrefs"/>
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
7 <expand macro="creators"/>
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
8 <expand macro="requirements"/>
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
9 <command detect_errors="exit_code"><![CDATA[
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
10 ln -s '$input_segmented_file' ./sample.cns &&
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
11 cnvkit.py export bed
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
12 ./sample.cns
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
13 $advanced_settings.label_genes
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
14 #if $advanced_settings.sample_id
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
15 --sample-id '$advanced_settings.sample_id'
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
16 #end if
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
17 #if $advanced_settings.ploidy
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
18 --ploidy $advanced_settings.ploidy
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
19 #end if
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
20 #if str($advanced_settings.sample_sex) and $advanced_settings.sample_sex != ""
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
21 --sample-sex '$advanced_settings.sample_sex'
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
22 #end if
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
23 $advanced_settings.male_reference
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
24 --output sample.cnv.bed
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
25 #if $advanced_settings.diploid_parx_genome
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
26 --diploid-parx-genome '$advanced_settings.diploid_parx_genome'
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
27 #end if
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
28 ]]></command>
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
29 <inputs>
1
dad30a23fcd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit fc1282ec68b346988203ead860e9b9d6a47e9efb
iuc
parents: 0
diff changeset
30 <param name="input_segmented_file" type="data" format="cns" label="Segmented Copy Ratio Data File (cns file)" help="" />
0
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
31 <section name="advanced_settings" title="Advanced settings" expanded="false">
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
32 <param argument="--label-genes" type="boolean" checked="false" truevalue="--label-genes" falsevalue="" label="Label Genes" help="Show gene names in the 4th column of the BED file" />
1
dad30a23fcd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit fc1282ec68b346988203ead860e9b9d6a47e9efb
iuc
parents: 0
diff changeset
33 <param argument="--sample-id" type="text" label="Sample ID" help="Sample name to write in the genotype field of the output VCF file" />
0
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
34 <param argument="--ploidy" optional="true" type="integer" label="Ploidy" min="1" value="2" help="Ploidy of the sample cells. [Default: 2]" />
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
35 <expand macro="sample_sex"/>
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
36 <param argument="--male-reference" type="boolean" checked="false" truevalue="--male-reference" falsevalue="" label="Male Reference" help="Assume inputs were normalized to a male reference" />
1
dad30a23fcd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit fc1282ec68b346988203ead860e9b9d6a47e9efb
iuc
parents: 0
diff changeset
37 <param argument="--diploid-parx-genome" type="text" label="Diploid Parx Genome" help="Considers the given human genome's PAR of chromosome X as autosomal. Example: 'grch38'" />
0
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
38 </section>
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
39 </inputs>
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
40 <outputs>
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
41 <data name="CNVs_BED" format="bed" label="${tool.name} on ${on_string}: CNVs BED file" from_work_dir="sample.cnv.bed" />
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
42 </outputs>
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
43 <tests>
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
44 <test expect_num_outputs="1">
1
dad30a23fcd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit fc1282ec68b346988203ead860e9b9d6a47e9efb
iuc
parents: 0
diff changeset
45 <param name="input_segmented_file" ftype="cns" value="sample.cns" />
0
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
46 <param name="sample_id" value="SampleID" />
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
47 <param name="sample_sex" value="Female" />
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
48 <output name="CNVs_BED" file="sample.cnv.bed" />
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
49 </test>
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
50 </tests>
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
51 <help><![CDATA[
1
dad30a23fcd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit fc1282ec68b346988203ead860e9b9d6a47e9efb
iuc
parents: 0
diff changeset
52
dad30a23fcd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit fc1282ec68b346988203ead860e9b9d6a47e9efb
iuc
parents: 0
diff changeset
53 Export the segmented copy number data (from a .cns file) to BED format.
dad30a23fcd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit fc1282ec68b346988203ead860e9b9d6a47e9efb
iuc
parents: 0
diff changeset
54 The resulting BED file describes copy number gains and losses across each segment.
dad30a23fcd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit fc1282ec68b346988203ead860e9b9d6a47e9efb
iuc
parents: 0
diff changeset
55 -----
dad30a23fcd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit fc1282ec68b346988203ead860e9b9d6a47e9efb
iuc
parents: 0
diff changeset
56
dad30a23fcd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit fc1282ec68b346988203ead860e9b9d6a47e9efb
iuc
parents: 0
diff changeset
57 **Segmented log2 ratios (.cns)**
dad30a23fcd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit fc1282ec68b346988203ead860e9b9d6a47e9efb
iuc
parents: 0
diff changeset
58
dad30a23fcd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit fc1282ec68b346988203ead860e9b9d6a47e9efb
iuc
parents: 0
diff changeset
59 Tabular file with smoothed, merged segments of stable copy number, derived from the .cnr file. Represents final CNV calls.
dad30a23fcd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit fc1282ec68b346988203ead860e9b9d6a47e9efb
iuc
parents: 0
diff changeset
60
dad30a23fcd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit fc1282ec68b346988203ead860e9b9d6a47e9efb
iuc
parents: 0
diff changeset
61 .. csv-table::
dad30a23fcd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit fc1282ec68b346988203ead860e9b9d6a47e9efb
iuc
parents: 0
diff changeset
62 :header-rows: 0
dad30a23fcd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit fc1282ec68b346988203ead860e9b9d6a47e9efb
iuc
parents: 0
diff changeset
63
dad30a23fcd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit fc1282ec68b346988203ead860e9b9d6a47e9efb
iuc
parents: 0
diff changeset
64 "chromosome","start, end: Genomic coordinates of the segment"
dad30a23fcd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit fc1282ec68b346988203ead860e9b9d6a47e9efb
iuc
parents: 0
diff changeset
65 "gene","Gene(s) overlapping the segment."
dad30a23fcd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit fc1282ec68b346988203ead860e9b9d6a47e9efb
iuc
parents: 0
diff changeset
66 "log2","Mean log2 ratio of the segment."
dad30a23fcd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit fc1282ec68b346988203ead860e9b9d6a47e9efb
iuc
parents: 0
diff changeset
67 "probes","Mean log2 ratio of the segment."
dad30a23fcd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit fc1282ec68b346988203ead860e9b9d6a47e9efb
iuc
parents: 0
diff changeset
68 "depth","Average read depth."
dad30a23fcd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit fc1282ec68b346988203ead860e9b9d6a47e9efb
iuc
parents: 0
diff changeset
69 "weight","Reliability weight."
dad30a23fcd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit fc1282ec68b346988203ead860e9b9d6a47e9efb
iuc
parents: 0
diff changeset
70 "p_value","Statistical confidence (lower = more significant)."
dad30a23fcd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit fc1282ec68b346988203ead860e9b9d6a47e9efb
iuc
parents: 0
diff changeset
71
dad30a23fcd6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit fc1282ec68b346988203ead860e9b9d6a47e9efb
iuc
parents: 0
diff changeset
72
0
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
73 ]]></help>
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
74 <expand macro="citations" />
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
75 </tool>
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
76
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
77
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
78
b14f1b2f6196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit 51995527835d18a4a3a498b140382ce433f19a71
iuc
parents:
diff changeset
79