comparison macros.xml @ 0:3316bd294f6f 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:44:27 +0000
parents
children 7049a8fae746
comparison
equal deleted inserted replaced
-1:000000000000 0:3316bd294f6f
1 <macros>
2 <token name="@VERSION_SUFFIX@">0.1</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="creators">
34 <creator>
35 <person givenName="Khaled" familyName="Jum'ah" url="https://github.com/khaled196" />
36 <person givenName="Björn" familyName="Grüning" url="https://github.com/bgruening" />
37 <person givenName="Katarzyna" familyName="Kamieniecka" url="https://github.com/kkamieniecka" />
38 <person givenName="Krzysztof" familyName="Poterlowicz" url="https://github.com/poterlowicz-lab" />
39 <organization name="poterlowicz-lab" url="https://github.com/poterlowicz-lab" />
40 </creator>
41 </xml>
42 <xml name="creators_and_zahra">
43 <creator>
44 <person givenName="Khaled" familyName="Jum'ah" url="https://github.com/khaled196" />
45 <person givenName="Björn" familyName="Grüning" url="https://github.com/bgruening" />
46 <person givenName="Katarzyna" familyName="Kamieniecka" url="https://github.com/kkamieniecka" />
47 <person givenName="zahra" familyName="Karimi" url="https://github.com/zahraK20" />
48 <person givenName="Krzysztof" familyName="Poterlowicz" url="https://github.com/poterlowicz-lab" />
49 <organization name="poterlowicz-lab" url="https://github.com/poterlowicz-lab" />
50 </creator>
51 </xml>
52 <xml name="shared">
53 <param argument="--method" type="select" label="Select the sequencing method of the input files" help="">
54 <option value="hybrid" selected="True">hybridization capture </option>
55 <option value="amplicon">targeted amplicon sequencing </option>
56 <option value="wgs">whole genome sequencing </option>
57 </param>
58 <param argument="--segment-method" type="select" label="Method used in the 'segment' step" help="">
59 <option value="cbs" selected="True">Circular Binary Segmentation CBS</option>
60 <option value="flasso">Fused lasso, hybrid flasso</option>
61 <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>
62 <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>
63 <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>
64 <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>
65 <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>
66 </param>
67 <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" />
68 <param argument="--countreads" type="boolean" checked="false" truevalue="--countreads" falsevalue="" label="Get read depths by counting read midpoints within each bin" help="" />
69 <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" />
70 </xml>
71 <xml name="create_CNV_reference_file">
72 <param name="input_sample_file" type="data" format="bam" label="Sample BAM file" help="" />
73 <param argument="--normal" type="data" format="bam" label="Control BAM file" help="" />
74 <param argument="--targets" type="data" format="bed" label="Capture BED regions" help="" />
75 </xml>
76 <xml name="advanced_no_reference">
77 <param argument="--antitargets" optional="true" type="data" format="bed,tabular" label="Antitarget intervals" help="BED or list" />
78 <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" />
79 <param argument="--short-names" type="boolean" checked="false" truevalue="--short-names" falsevalue="" label="Reduce multi-accession bait labels" help="" />
80 <param argument="--target-avg-size" type="integer" optional="true" label="Average size of split target bins" min="1" value="" help="" />
81 <param argument="--access" optional="true" type="data" format="bed" label="Regions of accessible sequence on chromosomes BED" help="" />
82 <param argument="--antitarget-avg-size" optional="true" type="integer" label="Average size of antitarget bins" min="1" value="" help="" />
83 <param argument="--antitarget-min-size" optional="true" type="integer" label="Minimum size of antitarget bins" min="1" value="" help="" />
84 <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="" />
85 </xml>
86 <xml name="reuse_an_existing_cnv_reference_file">
87 <param name="input_sample_file" type="data" format="bam" label="Sample file" help="" />
88 <param argument="--reference" type="data" format="tabular" label="CNV reference CNN File" help="" />
89 </xml>
90 <xml name="output_section">
91 <section name="output_section" title="Outputs" expanded="false">
92 <param argument="--scatter" type="boolean" checked="false" truevalue="--scatter" falsevalue="" label="Create a whole-genome copy ratio profile as a PNG scatter plot" help="" />
93 <param argument="--diagram" type="boolean" checked="false" truevalue="--diagram" falsevalue="" label="Create an ideogram of copy ratios on chromosomes as a PDF" help="" />
94 </section>
95 </xml>
96 <xml name="autobin_optional">
97 <param argument="--method" type="select" label="Select the sequencing method of the input files" help="">
98 <option value="hybrid" selected="True">hybridization capture </option>
99 <option value="amplicon">targeted amplicon sequencing </option>
100 <option value="wgs">whole genome sequencing </option>
101 </param>
102 <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" />
103 <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="" />
104 <param argument="--target-max-size" optional="true" type="integer" label="Maximum size of target bins" min="1" value="20000" help="" />
105 <param argument="--target-min-size" optional="true" type="integer" label="Minimum size of target bins" min="1" value="20" help="" />
106 <param argument="--antitarget-max-size" optional="true" type="integer" label="Maximum size of antitarget bins" min="1" value="500000" help="" />
107 <param argument="--antitarget-min-size" optional="true" type="integer" label="Minimum size of antitarget bins" min="1" value="500" help="" />
108 <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" />
109 <param argument="--short-names" type="boolean" checked="false" truevalue="--short-names" falsevalue="" label="Reduce multi-accession bait labels to be short and consistent" help="" />
110 <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" />
111 <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" />
112 </xml>
113 <xml name="filter">
114 <param argument="--filter" type="select" multiple="true" label="Merge segments flagged by the specified filter(s) with the adjacent segment(s)." help="">
115 <option value="ampdel" selected="True">ampdel</option>
116 <option value="cn">cn</option>
117 <option value="ci">ci</option>
118 <option value="sem">sem</option>
119 </param>
120 </xml>
121 <xml name="sample_sex">
122 <param argument="--sample-sex" type="select" label="Method used in the 'segment' step" help="">
123 <option value="Male" selected="True">Male</option>
124 <option value="Female">Female</option>
125 </param>
126 </xml>
127 <xml name="call_optional">
128 <param argument="--method" type="select" label="Select the sequencing method of the input files" help="">
129 <option value="threshold" selected="True">hybridization capture </option>
130 <option value="clonal">targeted amplicon sequencing </option>
131 <option value="none">whole genome sequencing </option>
132 </param>
133 <param argument="--center" type="select" label="Method used in the 'segment' step" help="">
134 <option value="mean">mean</option>
135 <option value="median" selected="True">median</option>
136 <option value="mode">mode</option>
137 <option value="biweight">biweight</option>
138 </param>
139 <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" />
140 <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" />
141 <param argument="--ploidy" optional="true" type="integer" label="Ploidy of the sample cells" min="1" max="2" value="2" help="" />
142 <param argument="--purity" optional="true" type="float" label="Estimated tumor cell fraction, a.k.a. purity or cellularity" min="0" max="1" value="" help="" />
143 <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" />
144 <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" />
145 </xml>
146 <xml name="additionally_SNP_process">
147 <param argument="--vcf" optional="true" type="data" format="vcf" label="VCF file" help="VCF file name containing variants for calculation of b-allele frequencies" />
148 <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="" />
149 <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" />
150 <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="" />
151 <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="" />
152 </xml>
153 <xml name="diagram_optional">
154 <param argument="--segment" optional="true" type="data" format="tabular" label="Segment" help="Segmentation calls cns, the output of the 'segment' command" />
155 <param argument="--threshold" optional="true" type="float" label="Threshold" min="0" value="0.5" help="Copy number change threshold to label genes" />
156 <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" />
157 <param argument="--male-reference" type="boolean" checked="false" truevalue="--male-reference" falsevalue="" label="MALE REFERENCE" help="Assume inputs were normalized to a male reference" />
158 <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="" />
159 <param argument="--chromosome" optional="true" type="text" label="Chromosome to display" value="" help="e.g. 'chr1' no chromosomal range allowed" />
160 </xml>
161 <xml name="diagram_plot">
162 <param argument="--title" optional="true" type="text" label="Plot title" value="" help="" />
163 <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="" />
164 </xml>
165 <xml name="heatmap_optional">
166 <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="" />
167 <param argument="--chromosome" optional="true" type="text" label="Chromosome range" value="" help="Chromosome or chromosomal range, e.g. 'chr1' or 'chr1:2333000-2444000'" />
168 <param argument="--desaturate" type="boolean" checked="false" truevalue="--desaturate" falsevalue="" label="Tweak color saturation to focus on significant changes" help="" />
169 <param argument="--male-reference" type="boolean" checked="false" truevalue="--male-reference" falsevalue="" label="MALE REFERENCE" help="Assume inputs were normalized to a male reference" />
170 <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="" />
171 <param argument="--vertical" type="boolean" checked="false" truevalue="--vertical" falsevalue="" label="Plot heatmap with samples as X-axis instead of Y-axis" help="" />
172 <param argument="--delimit-samples" type="boolean" checked="false" truevalue="--delimit-samples" falsevalue="" label="Add an horizontal delimitation line between each sample" help="" />
173 <param argument="--title" optional="true" type="text" label="Plot title" value="" help="" />
174 </xml>
175 <xml name="reference_optional">
176 <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="" />
177 <param argument="--min-cluster-size" optional="true" type="integer" label="Minimum cluster size to keep in reference profiles" min="1" value="4" help="" />
178 <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" />
179 </xml>
180 <xml name="construct_CNV_ref_with_natural_expected_number">
181 <param argument="--targets" optional="true" type="data" format="bed" label="Target intervals bed file" help="" />
182 <param argument="--antitargets" optional="true" type="data" format="bed" label="Antitarget intervals bed file" help="" />
183 </xml>
184 <xml name="disable_specific_automatic_bias_corrections">
185 <param argument="--no-gc" type="boolean" checked="false" truevalue="--no-gc" falsevalue="" label="Skip GC correction" help="" />
186 <param argument="--no-edge" type="boolean" checked="false" truevalue="--no-edge" falsevalue="" label="skip edge-effect correction" help="" />
187 <param argument="--no-rmask" type="boolean" checked="false" truevalue="--no-rmask" falsevalue="" label="skip repeat master correction" help="" />
188 </xml>
189 <xml name="scatter_optional">
190 <param argument="--segment" optional="true" type="data" format="tabular" label="Segment" help="Segmentation calls cns, the output of the 'segment' command" />
191 <param argument="--chromosome" optional="true" type="text" label="Chromosome range" value="" help="Chromosome or chromosomal range, e.g. 'chr1' or 'chr1:2333000-2444000'" />
192 <param argument="--gene" optional="true" type="text" label="Name of gene or genes comma-separated to display" value="" help="" />
193 <param argument="--range-list" optional="true" type="data" format="bed" label="Range list" help="File listing the chromosomal ranges to display, as BED"/>
194 <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" />
195 </xml>
196 <xml name="scatter_plot">
197 <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"/>
198 <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=""/>
199 <param argument="--segment-color" optional="true" type="text" label="Segment color" value="red" help=""/>
200 <param argument="--title" optional="true" type="text" label="Plot title" value="" help=""/>
201 <param argument="--trend" type="boolean" checked="false" truevalue="--trend" falsevalue="" label="Draw a smoothed local trendline on the scatter plot" help=""/>
202 <param argument="--y-max" optional="true" type="integer" label="y-axis upper limit" min="1" value="" help=""/>
203 <param argument="--y-min" optional="true" type="integer" label="y-axis lower limit" min="1" value="" help=""/>
204 <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"/>
205 </xml>
206 <xml name="segment_optional">
207 <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"/>
208 <param argument="--method" type="select" label="Segmentation method" help="">
209 <option value="cbs" selected="True">Circular Binary Segmentation CBS method,hybrid CBS</option>
210 <option value="flasso">Fused lasso, hybrid flasso</option>
211 <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>
212 <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>
213 <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>
214 <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>
215 <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>
216 </param>
217 <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"/>
218 <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"/>
219 <param argument="--drop-outliers" optional="true" type="integer" label="Drop outliers" min="1" value="10" help=""/>
220 <param argument="--smooth-cbs" type="boolean" checked="false" truevalue="--smooth-cbs" falsevalue="" label="Perform an additional smoothing before CBS segmentations" help=""/>
221 </xml>
222 <xml name="sample_sex_condition">
223 <conditional name="Sample_sex">
224 <param name="sex" type="select" label="Sample sex availabel" help="">
225 <option value="no" selected="True">Sample sex unknown</option>
226 <option value="yes">Select sample sex</option>
227 </param>
228 <when value="yes">
229 <expand macro="sample_sex" />
230 </when>
231 <when value="no">
232 </when>
233 </conditional>
234 </xml>
235 <xml name="genemetrics_segmetrics_statistics">
236 <param argument="--mean" type="boolean" checked="true" truevalue="--mean" falsevalue="" label="Mean log2-ratio" help="" />
237 <param argument="--median" type="boolean" checked="false" truevalue="--median" falsevalue="" label="Median" help="" />
238 <param argument="--mode" type="boolean" checked="false" truevalue="--mode" falsevalue="" label="mode" help="peak density of log2 ratios" />
239 <param argument="--ttest" type="boolean" checked="false" truevalue="--ttest" falsevalue="" label="One-sample t-test" help="bin log2 ratios versus 0.0" />
240 <param argument="--stdev" type="boolean" checked="false" truevalue="--stdev" falsevalue="" label="Standard deviation" help="" />
241 <param argument="--sem" type="boolean" checked="false" truevalue="--sem" falsevalue="" label="Standard error of the mean" help="" />
242 <param argument="--mad" type="boolean" checked="false" truevalue="--mad" falsevalue="" label="Median absolute deviation" help="" />
243 <param argument="--mse" type="boolean" checked="false" truevalue="--mse" falsevalue="" label="mean squared error" help="" />
244 <param argument="--iqr" type="boolean" checked="false" truevalue="--iqr" falsevalue="" label="Inter-quartile range" help="" />
245 <param argument="--bivar" type="boolean" checked="false" truevalue="--bivar" falsevalue="" label="Tukeys biweight midvariance" help="" />
246 <param argument="--ci" type="boolean" checked="false" truevalue="--ci" falsevalue="" label="confidence interval" help="" />
247 <param argument="--pi" type="boolean" checked="false" truevalue="--pi" falsevalue="" label="prediction interval" help="" />
248 <param argument="--alpha" type="boolean" checked="false" truevalue="--alpha" falsevalue="" label="alpha" help="" />
249 <param argument="--bootstrap" type="boolean" checked="false" truevalue="--bootstrap" falsevalue="" label="estimate confidence interval" help="number of bootstrp interations" />
250 </xml>
251 <xml name="citations">
252 <citations>
253 <citation type="doi">10.1371/journal.pcbi.1004873</citation>
254 </citations>
255 </xml>
256 </macros>