comparison macros.xml @ 0:ff6b3f5a7ffb 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:11:11 +0000
parents
children d8c45afa221c
comparison
equal deleted inserted replaced
-1:000000000000 0:ff6b3f5a7ffb
1 <macros>
2 <token name="@VERSION_SUFFIX@">0</token>
3 <token name="@TOOL_VERSION@">0.9.10</token>
4 <xml name="requirements">
5 <requirements>
6 <requirement type="package" version="@TOOL_VERSION@">cnvkit</requirement>
7 <requirement type="package" version="1.0.2">scikit-learn</requirement>
8 </requirements>
9 </xml>
10 <xml name="reference_interface">
11 <conditional name="reference_source">
12 <param name="ref_selector" type="select" label="Choose the source for the reference genome">
13 <option value="cached">Locally cached</option>
14 <option value="history">History</option>
15 </param>
16 <when value="cached">
17 <param argument="--fasta" optional="true" type="select" label="Reference genome">
18 <options from_data_table="fasta_indexes">
19 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file" />
20 </options>
21 </param>
22 </when>
23 <when value="history">
24 <param argument="--fasta" type="data" optional="true" format="fasta" label="Reference" help="Reference sequence" />
25 </when>
26 </conditional>
27 </xml>
28 <xml name="xrefs">
29 <xrefs>
30 <xref type="bio.tools">cnvkit</xref>
31 </xrefs>
32 </xml>
33 <xml name="shared">
34 <param argument="--method" type="select" label="Select the sequencing method of the input files" help="">
35 <option value="hybrid" selected="True">hybridization capture </option>
36 <option value="amplicon">targeted amplicon sequencing </option>
37 <option value="wgs">whole genome sequencing </option>
38 </param>
39 <param argument="--segment-method" type="select" label="Method used in the 'segment' step" help="">
40 <option value="cbs" selected="True">Circular Binary Segmentation CBS</option>
41 <option value="flasso">Fused lasso, hybrid flasso</option>
42 <option value="haar">a pure-Python implementation of HaarSeg, a wavelet-based method. Very fast and performs reasonably well on small panels, but tends to over-segment large datasets., hybrid haar</option>
43 <option value="none">simply calculate the weighted mean log2 value of each chromosome arm. Useful for testing or debugging, or as a baseline for benchmarking other methods., hybrid none</option>
44 <option value="hmm">experimental – a 3-state Hidden Markov Model suitable for most samples. Faster than CBS, and slower but more accurate than Haar. Requires the Python package pomegranate, as do the next two thods., hybrid hmm</option>
45 <option value="hmm-tumor">experimental – a 5-state HMM suitable for finer-grained segmentation of good-quality tumor samples. In particular, this method can detect focal amplifications within a larger-scale, smaller-amplitude copy number gain, or focal deep deletions within a larger-scale hemizygous loss. Training this model takes a bit more CPU time than the simpler hmm method., hybrid hmm-tumor</option>
46 <option value="hmm-germline">experimental – a 3-state HMM with fixed amplitude for the loss, neutral, and gain states corresponding to absolute copy numbers of 1, 2, and 3. Suitable for germline samples and single-cell sequencing of samples with mostly-diploid genomes that are not overly aneuploid., hybrid hmm-germline</option>
47 </param>
48 <param argument="--male-reference" type="boolean" checked="false" truevalue="--male-reference" falsevalue="" label="Use or assume a male reference" help="female samples will have +1 log-CNR of chrX; otherwise male samples would have -1 chrX" />
49 <param argument="--countreads" type="boolean" checked="false" truevalue="--countreads" falsevalue="" label="Get read depths by counting read midpoints within each bin" help="" />
50 <param argument="--drop-low-coverage" type="boolean" checked="false" truevalue="--drop-low-coverage" falsevalue="" label="Drop very-low-coverage bins before segmentation" help="To avoid false-positive deletions in poor-quality tumor samples" />
51 </xml>
52 <xml name="create_CNV_reference_file">
53 <param name="input_sample_file" type="data" format="bam" label="Sample BAM file" help="" />
54 <param argument="--normal" type="data" format="bam" label="Control BAM file" help="" />
55 <param argument="--targets" type="data" format="bed" label="Capture BED regions" help="" />
56 </xml>
57 <xml name="advanced_no_reference">
58 <param argument="--antitargets" optional="true" type="data" format="bed,tabular" label="Antitarget intervals" help="BED or list" />
59 <param argument="--annotate" optional="true" type="data" format="bed,gff,tabular" label="Use gene models from this file to assign names to the target regions" help="Format: UCSC refFlat.txt or ensFlat.txt file preferred, or BED, interval list, GFF, or similar" />
60 <param argument="--short-names" type="boolean" checked="false" truevalue="--short-names" falsevalue="" label="Reduce multi-accession bait labels" help="" />
61 <param argument="--target-avg-size" type="integer" optional="true" label="Average size of split target bins" min="1" value="" help="" />
62 <param argument="--access" optional="true" type="data" format="bed" label="Regions of accessible sequence on chromosomes BED" help="" />
63 <param argument="--antitarget-avg-size" optional="true" type="integer" label="Average size of antitarget bins" min="1" value="" help="" />
64 <param argument="--antitarget-min-size" optional="true" type="integer" label="Minimum size of antitarget bins" min="1" value="" help="" />
65 <param argument="--cluster" optional="true" type="boolean" checked="false" truevalue="--cluster" falsevalue="" label="Calculate and use cluster-specific summary stats in the reference pool" help="" />
66 </xml>
67 <xml name="reuse_an_existing_cnv_reference_file">
68 <param name="input_sample_file" type="data" format="bam" label="Sample file" help="" />
69 <param argument="--reference" type="data" format="tabular" label="CNV reference CNN File" help="" />
70 </xml>
71 <xml name="output_section">
72 <section name="output_section" title="Outputs" expanded="false">
73 <param argument="--scatter" type="boolean" checked="false" truevalue="--scatter" falsevalue="" label="Create a whole-genome copy ratio profile as a PNG scatter plot" help="" />
74 <param argument="--diagram" type="boolean" checked="false" truevalue="--diagram" falsevalue="" label="Create an ideogram of copy ratios on chromosomes as a PDF" help="" />
75 </section>
76 </xml>
77 <xml name="autobin_optional">
78 <param argument="--method" type="select" label="Select the sequencing method of the input files" help="">
79 <option value="hybrid" selected="True">hybridization capture </option>
80 <option value="amplicon">targeted amplicon sequencing </option>
81 <option value="wgs">whole genome sequencing </option>
82 </param>
83 <param argument="--access" optional="true" type="data" format="bed" label="Sequencing-accessible genomic regions, or exons to use as possible targets" help="The output of refFlat2bed.py" />
84 <param argument="--bp-per-bin" optional="true" type="integer" label=" Desired average number of sequencing read bases mapped to each bin" min="1" value="100000" help="" />
85 <param argument="--target-max-size" optional="true" type="integer" label="Maximum size of target bins" min="1" value="20000" help="" />
86 <param argument="--target-min-size" optional="true" type="integer" label="Minimum size of target bins" min="1" value="20" help="" />
87 <param argument="--antitarget-max-size" optional="true" type="integer" label="Maximum size of antitarget bins" min="1" value="500000" help="" />
88 <param argument="--antitarget-min-size" optional="true" type="integer" label="Minimum size of antitarget bins" min="1" value="500" help="" />
89 <param argument="--annotate" optional="true" type="data" format="bed,gff,tabular" label="Use gene models from this file to assign names to the target regions" help="Format: UCSC refFlat.txt or ensFlat.txt file preferred, or BED, interval list, GFF, or similar" />
90 <param argument="--short-names" type="boolean" checked="false" truevalue="--short-names" falsevalue="" label="Reduce multi-accession bait labels to be short and consistent" help="" />
91 <param argument="--target-output-bed" optional="true" type="data" format="bed" label="Filename for target BED output" help="If not specified, constructed from the input file basename" />
92 <param argument="--antitarget-output-bed" optional="true" type="data" format="bed" label="Filename for antitarget BED output" help="If not specified, constructed from the input file basename" />
93 </xml>
94 <xml name="filter">
95 <param argument="--filter" type="select" multiple="true" label="Merge segments flagged by the specified filter(s) with the adjacent segment(s)." help="">
96 <option value="ampdel" selected="True">ampdel</option>
97 <option value="cn">cn</option>
98 <option value="ci">ci</option>
99 <option value="sem">sem</option>
100 </param>
101 </xml>
102 <xml name="sample_sex">
103 <param argument="--sample-sex" type="select" label="Method used in the 'segment' step" help="">
104 <option value="Male" selected="True">Male</option>
105 <option value="Female">Female</option>
106 </param>
107 </xml>
108 <xml name="call_optional">
109 <param argument="--method" type="select" label="Select the sequencing method of the input files" help="">
110 <option value="threshold" selected="True">hybridization capture </option>
111 <option value="clonal">targeted amplicon sequencing </option>
112 <option value="none">whole genome sequencing </option>
113 </param>
114 <param argument="--center" type="select" label="Method used in the 'segment' step" help="">
115 <option value="mean">mean</option>
116 <option value="median" selected="True">median</option>
117 <option value="mode">mode</option>
118 <option value="biweight">biweight</option>
119 </param>
120 <param argument="--center-at" optional="true" type="float" label="Subtract a constant number from all log2 ratios" value="" help="For manual re-centering, in case the --center option gives unsatisfactory results" />
121 <param argument="--thresholds" optional="true" type="text" label="Hard thresholds for calling each integer copy number, separated by commas" value="=-1.1,-0.25,0.2,0.7" help="Apply cutoffs to either original or rescaled log2 values" />
122 <param argument="--ploidy" optional="true" type="integer" label="Ploidy of the sample cells" min="1" max="2" value="2" help="" />
123 <param argument="--purity" optional="true" type="float" label="Estimated tumor cell fraction, a.k.a. purity or cellularity" min="0" max="1" value="" help="" />
124 <param argument="--drop-low-coverage" type="boolean" checked="false" truevalue="--drop-low-coverage" falsevalue="" label="Drop very-low-coverage bins before segmentation" help="To avoid false-positive deletions in poor-quality tumor samples" />
125 <param argument="--male-reference" type="boolean" checked="false" truevalue="--male-reference" falsevalue="" label="Use or assume a male reference" help="Was a male reference used? If so, expect half ploidy on chrX and chrY; otherwise, only chrY has half ploidy. In CNVkit, if a male reference was used, the neutral copy number ploidy of chrX is 1; chrY is haploid for either reference sex" />
126 </xml>
127 <xml name="additionally_SNP_process">
128 <param argument="--vcf" optional="true" type="data" format="vcf" label="VCF file" help="VCF file name containing variants for calculation of b-allele frequencies" />
129 <param argument="--sample-id" optional="true" type="text" label="Name of the sample in the VCF to use for b-allele frequency extraction" value="" help="" />
130 <param argument="--normal-id" optional="true" type="text" label="Corresponding normal sample ID in the input VCF" value="" help="This sample is used to select only germline SNVs to calculate b-allele frequencies" />
131 <param argument="--min-variant-depth" type="integer" min="1" value="20" optional="true" label="Minimum read depth for a SNV to be used in the b-allele frequency calculation" help="" />
132 <param argument="--zygosity-freq" type="float" min="0" value="0.25" optional="true" label="Ignore VCF's genotypes and instead infer zygosity from allele frequencies" help="" />
133 </xml>
134 <xml name="diagram_optional">
135 <param argument="--segment" optional="true" type="data" format="tabular" label="Segment" help="Segmentation calls cns, the output of the 'segment' command" />
136 <param argument="--threshold" optional="true" type="float" label="Threshold" min="0" value="0.5" help="Copy number change threshold to label genes" />
137 <param argument="--min-probes" optional="true" type="integer" label="Minimum propes" min="1" value="3" help="Minimum number of covered probes to label a gene" />
138 <param argument="--male-reference" type="boolean" checked="false" truevalue="--male-reference" falsevalue="" label="MALE REFERENCE" help="Assume inputs were normalized to a male reference" />
139 <param argument="--no-shift-xy" type="boolean" checked="false" truevalue="--no-shift-xy" falsevalue="" label="Don't adjust the X and Y chromosomes according to sample sex" help="" />
140 <param argument="--chromosome" optional="true" type="text" label="Chromosome to display" value="" help="e.g. 'chr1' no chromosomal range allowed" />
141 </xml>
142 <xml name="diagram_plot">
143 <param argument="--title" optional="true" type="text" label="Plot title" value="" help="" />
144 <param argument="--no-gene-labels" type="boolean" checked="false" truevalue="--no-gene-labels" falsevalue="" label="Disable gene_name labels on plot useful when a lot of CNV were called" help="" />
145 </xml>
146 <xml name="heatmap_optional">
147 <param argument="--by-bin" type="boolean" checked="false" truevalue="--by-bin" falsevalue="" label="Plot data x-coordinates by bin indices instead of genomic coordinates" help="" />
148 <param argument="--chromosome" optional="true" type="text" label="Chromosome range" value="" help="Chromosome or chromosomal range, e.g. 'chr1' or 'chr1:2333000-2444000'" />
149 <param argument="--desaturate" type="boolean" checked="false" truevalue="--desaturate" falsevalue="" label="Tweak color saturation to focus on significant changes" help="" />
150 <param argument="--male-reference" type="boolean" checked="false" truevalue="--male-reference" falsevalue="" label="MALE REFERENCE" help="Assume inputs were normalized to a male reference" />
151 <param argument="--no-shift-xy" type="boolean" checked="false" truevalue="--no-shift-xy" falsevalue="" label="Don't adjust the X and Y chromosomes according to sample sex" help="" />
152 <param argument="--vertical" type="boolean" checked="false" truevalue="--vertical" falsevalue="" label="Plot heatmap with samples as X-axis instead of Y-axis" help="" />
153 <param argument="--delimit-samples" type="boolean" checked="false" truevalue="--delimit-samples" falsevalue="" label="Add an horizontal delimitation line between each sample" help="" />
154 <param argument="--title" optional="true" type="text" label="Plot title" value="" help="" />
155 </xml>
156 <xml name="reference_optional">
157 <param argument="--cluster" type="boolean" checked="false" truevalue="--cluster" falsevalue="" label="Calculate and store summary stats for clustered subsets of the normal samples with similar coverage profiles" help="" />
158 <param argument="--min-cluster-size" optional="true" type="integer" label="Minimum cluster size to keep in reference profiles" min="1" value="4" help="" />
159 <param argument="--male-reference" type="boolean" checked="false" truevalue="--male-reference" falsevalue="" label="Create a male reference" help="shift female samples' chrX log-coverage by -1, so the reference chrX average is -1. Otherwise, shift male samples' chrX by +1, so the reference chrX average is 0" />
160 </xml>
161 <xml name="construct_CNV_ref_with_natural_expected_number">
162 <param argument="--targets" optional="true" type="data" format="bed" label="Target intervals bed file" help="" />
163 <param argument="--antitargets" optional="true" type="data" format="bed" label="Antitarget intervals bed file" help="" />
164 </xml>
165 <xml name="disable_specific_automatic_bias_corrections">
166 <param argument="--no-gc" type="boolean" checked="false" truevalue="--no-gc" falsevalue="" label="Skip GC correction" help="" />
167 <param argument="--no-edge" type="boolean" checked="false" truevalue="--no-edge" falsevalue="" label="skip edge-effect correction" help="" />
168 <param argument="--no-rmask" type="boolean" checked="false" truevalue="--no-rmask" falsevalue="" label="skip repeat master correction" help="" />
169 </xml>
170 <xml name="scatter_optional">
171 <param argument="--segment" optional="true" type="data" format="cns" label="Segment" help="Segmentation calls cns, the output of the 'segment' command" />
172 <param argument="--chromosome" optional="true" type="text" label="Chromosome range" value="" help="Chromosome or chromosomal range, e.g. 'chr1' or 'chr1:2333000-2444000'" />
173 <param argument="--gene" optional="true" type="text" label="Name of gene or genes comma-separated to display" value="" help="" />
174 <param argument="--range-list" optional="true" type="data" format="bed" label="Range list" help="File listing the chromosomal ranges to display, as BED"/>
175 <param argument="--width" optional="true" type="integer" label="Width" min="1" value="1000000" help="Width of margin to show around the selected genes or small chromosomal region" />
176 </xml>
177 <xml name="scatter_plot">
178 <param argument="--antitarget-marker" optional="true" type="text" label="Antitarget marker" value="same as targets" help="Plot antitargets using this symbol when plotting in a selected chromosomal region"/>
179 <param argument="--by-bin" type="boolean" checked="false" truevalue="--by-bin" falsevalue="" label="Plot data x-coordinates by bin indices instead of genomic coordinates" help=""/>
180 <param argument="--segment-color" optional="true" type="text" label="Segment color" value="red" help=""/>
181 <param argument="--title" optional="true" type="text" label="Plot title" value="" help=""/>
182 <param argument="--trend" type="boolean" checked="false" truevalue="--trend" falsevalue="" label="Draw a smoothed local trendline on the scatter plot" help=""/>
183 <param argument="--y-max" optional="true" type="integer" label="y-axis upper limit" min="1" value="" help=""/>
184 <param argument="--y-min" optional="true" type="integer" label="y-axis lower limit" min="1" value="" help=""/>
185 <param argument="--fig-size" optional="true" type="float" label="Width and height of the plot in inches" value="" help="Example 6.4 4.8, the space between the two inputs is important"/>
186 </xml>
187 <xml name="segment_optional">
188 <param argument="--dataframe" type="text" optional="true" label="Data frame" value="" help="File name to save the raw R dataframe emitted by CBS or Fused Lasso, example dataframe.r"/>
189 <param argument="--method" type="select" label="Segmentation method" help="">
190 <option value="cbs" selected="True">Circular Binary Segmentation CBS method,hybrid CBS</option>
191 <option value="flasso">Fused lasso, hybrid flasso</option>
192 <option value="haar">A pure-Python implementation of HaarSeg, a wavelet-based method. Very fast and performs reasonably well on small panels, but tends to over-segment large datasets., hybrid haar</option>
193 <option value="none">simply calculate the weighted mean log2 value of each chromosome arm. Useful for testing or debugging, or as a baseline for benchmarking other methods., hybrid none</option>
194 <option value="hmm">experimental – a 3-state Hidden Markov Model suitable for most samples. Faster than CBS, and slower but more accurate than Haar. Requires the Python package pomegranate, as do the next two methods., hybrid hmm</option>
195 <option value="hmm-tumor">experimental – a 5-state HMM suitable for finer-grained segmentation of good-quality tumor samples. In particular, this method can detect focal amplifications within a larger-scale, smaller-amplitude copy number gain, or focal deep deletions within a larger-scale hemizygous loss. Training this model takes a bit more CPU time than the simpler hmm method., hybrid hmm-tumor</option>
196 <option value="hmm-germline">experimental – a 3-state HMM with fixed amplitude for the loss, neutral, and gain states corresponding to absolute copy numbers of 1, 2, and 3. Suitable for germline samples and single-cell sequencing of samples with mostly-diploid genomes that are not overly aneuploid., hybrid hmm-germline</option>
197 </param>
198 <param argument="--threshold" optional="true" type="integer" label="Significance threshold" min="1" help="To accept breakpoints during segmentation. For HMM methods, this is the smoothing window size"/>
199 <param argument="--drop-low-coverage" type="boolean" checked="false" truevalue="--drop-low-coverage" falsevalue="" label="Drop very-low-coverage bins before segmentation" help="To avoid false-positive deletions in poor-quality tumor samples"/>
200 <param argument="--drop-outliers" optional="true" type="integer" label="Drop outliers" min="1" value="10" help=""/>
201 <param argument="--smooth-cbs" type="boolean" checked="false" truevalue="--smooth-cbs" falsevalue="" label="Perform an additional smoothing before CBS segmentations" help=""/>
202 </xml>
203 <xml name="sample_sex_condition">
204 <conditional name="Sample_sex">
205 <param name="sex" type="select" label="Sample sex availabel" help="">
206 <option value="no" selected="True">Sample sex unknown</option>
207 <option value="yes">Select sample sex</option>
208 </param>
209 <when value="yes">
210 <expand macro="sample_sex" />
211 </when>
212 <when value="no">
213 </when>
214 </conditional>
215 </xml>
216 <xml name="citations">
217 <citations>
218 <citation type="doi">10.1371/journal.pcbi.1004873</citation>
219 </citations>
220 </xml>
221 </macros>