annotate segmetrics.xml @ 0:d9cb65e1f756 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:39:32 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
1 <tool id="cnvkit_segmetrics" name="CNVkit Segmetrics" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.05">
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
2 <description>calculate summary statistics</description>
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
3 <macros>
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
4 <import>macros.xml</import>
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
5 </macros>
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
6 <expand macro="xrefs"/>
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
7 <expand macro="creators_and_zahra"/>
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
8 <expand macro="requirements"/>
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
9 <command detect_errors="exit_code"><![CDATA[
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
10 ln -s '$input_filename_file' ./sample.cnr &&
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
11 #if $segments
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
12 ln -s '$segments' ./sample.cns &&
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
13 #end if
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
14 cnvkit.py segmetrics
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
15 ./sample.cnr
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
16 --output gene_segmetrics.cns
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
17 #if $segments
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
18 --segments ./sample.cns
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
19 #end if
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
20 $advanced_settings.mean
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
21 $advanced_settings.median
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
22 $advanced_settings.mode
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
23 $advanced_settings.ttest
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
24 $advanced_settings.stdev
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
25 $advanced_settings.sem
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
26 $advanced_settings.mad
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
27 $advanced_settings.mse
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
28 $advanced_settings.iqr
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
29 $advanced_settings.bivar
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
30 $advanced_settings.ci
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
31 $advanced_settings.pi
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
32 $advanced_settings.alpha
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
33 $advanced_settings.bootstrap
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
34 ]]></command>
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
35 <inputs>
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
36 <param name="input_filename_file" type="data" format="tabular" label="Bin-Level log2 Ratios/Coverages cnn/cnr file" help="" />
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
37 <param argument="--segments" optional="true" type="data" format="tabular" label="CN segmentation calls cns file" help="" />
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
38 <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" />
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
39 <section name="advanced_settings" title="Statistical settings" expanded="false">
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
40 <expand macro="genemetrics_segmetrics_statistics" />
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
41 </section>
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
42 </inputs>
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
43 <outputs>
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
44 <data name="gene_segmetrics" format="tabular" label="${tool.name} on ${on_string}: bin-level log2 ratio" from_work_dir="gene_segmetrics.cns" />
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
45 </outputs>
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
46 <tests>
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
47 <test expect_num_outputs="1">
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
48 <param name="input_filename_file" ftype="tabular" value="sample.cnr" />
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
49 <param name="segments" ftype="tabular" value="sample.cns" />
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
50 <param name="drop_low_coverage" value="1" />
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
51 <param name="mean" value="1" />
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
52 <param name="median" value="1" />
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
53 <param name="mode" value="0" />
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
54 <output name="gene_segmetrics">
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
55 <assert_contents><has_text text="chromosome"/></assert_contents>
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
56 </output>
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
57 </test>
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
58 </tests>
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
59 <help><![CDATA[
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
60 Calculate summary statistics of the residual bin-level log2 ratio estimates from the segment means, similar to
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
61 the existing metrics command, but for each segment individually. Results are output in the same format as the
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
62 CNVkit segmentation file (.cns), with the stat names and calculated values printed in additional columns.
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
63 ]]></help>
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
64 <expand macro="citations" />
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
65 </tool>
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
66
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
67
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
68
d9cb65e1f756 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cnvkit commit e927b17a345b18c1b51dc1b112db5129278dcd22
iuc
parents:
diff changeset
69