Mercurial > repos > artbio > wisecondorx
comparison wisecondor_predict.xml @ 0:bf0ebc9921f2 draft default tip
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
author | artbio |
---|---|
date | Sun, 15 Dec 2024 16:37:13 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:bf0ebc9921f2 |
---|---|
1 <tool id="wisecondorx_predict" name="WisecondorX predict" version="@WRAPPER_VERSION@" profile="@PROFILE@"> | |
2 <description> | |
3 CNVs | |
4 </description> | |
5 <macros> | |
6 <import>macro.xml</import> | |
7 </macros> | |
8 <expand macro="requirements"/> | |
9 <stdio> | |
10 <exit_code range="1:" level="fatal" description="Error occured" /> | |
11 </stdio> | |
12 <command detect_errors="exit_code"><![CDATA[ | |
13 @pipefail@ | |
14 ln -s $npz_input sample.npz && | |
15 ln -s $reference reference.npz && | |
16 WisecondorX predict sample.npz reference.npz sample --plot --bed | |
17 ]]></command> | |
18 <inputs> | |
19 <param name="npz_input" type="data" format="npz" label="npz file from sample to analyse"/> | |
20 <param name="reference" type="data" format="npz" label="npz reference built with WisecondorX build"/> | |
21 </inputs> | |
22 <outputs> | |
23 <data name="aberrations" format="bed" label="sample abberations" from_work_dir="sample_aberrations.bed"/> | |
24 <data name="bins" format="bed" label="sample bins" from_work_dir="sample_bins.bed"/> | |
25 <data name="segments" format="bed" label="sample segments" from_work_dir="sample_segments.bed"/> | |
26 <data name="statistics" format="txt" label="statistics" from_work_dir="sample_statistics.txt"/> | |
27 <collection name="plots" type="list" format="png" label="CNV plots"> | |
28 <discover_datasets pattern="__name_and_ext__" directory="sample.plots" /> | |
29 </collection> | |
30 </outputs> | |
31 <tests> | |
32 <test expect_num_outputs="5"> | |
33 <param name="npz_input" value="input_sample_predict.npz" ftype="npz" /> | |
34 <param name="reference" value="input_reference_predict.10000kb.npz" /> | |
35 <output name="aberrations" ftype="bed" file="predict_abberations.bed" /> | |
36 <output name="bins" ftype="bed" file="predict_bins.bed" compare="sim_size" delta="1000"/> | |
37 <output name="segments" ftype="bed" file="predict_segments.bed"/> | |
38 <output name="statistics" ftype="txt" file="predict_statistics.txt" compare="sim_size" delta="1000"/> | |
39 <output_collection name="plots" type="list"> | |
40 <element name="chr1" file="chr1.png" compare="sim_size" delta="10000"/> | |
41 <element name="chr10" file="chr10.png" compare="sim_size" delta="10000"/> | |
42 <element name="chr11" file="chr11.png" compare="sim_size" delta="10000"/> | |
43 <element name="chr12" file="chr12.png" compare="sim_size" delta="10000"/> | |
44 <element name="chr13" file="chr13.png" compare="sim_size" delta="10000"/> | |
45 <element name="chr14" file="chr14.png" compare="sim_size" delta="10000"/> | |
46 <element name="chr15" file="chr15.png" compare="sim_size" delta="10000"/> | |
47 <element name="chr16" file="chr16.png" compare="sim_size" delta="10000"/> | |
48 <element name="chr17" file="chr17.png" compare="sim_size" delta="10000"/> | |
49 <element name="chr18" file="chr18.png" compare="sim_size" delta="10000"/> | |
50 <element name="chr19" file="chr19.png" compare="sim_size" delta="10000"/> | |
51 <element name="chr2" file="chr2.png" compare="sim_size" delta="10000"/> | |
52 <element name="chr20" file="chr20.png" compare="sim_size" delta="10000"/> | |
53 <element name="chr21" file="chr21.png" compare="sim_size" delta="10000"/> | |
54 <element name="chr22" file="chr22.png" compare="sim_size" delta="10000"/> | |
55 <element name="chr3" file="chr3.png" compare="sim_size" delta="10000"/> | |
56 <element name="chr4" file="chr4.png" compare="sim_size" delta="10000"/> | |
57 <element name="chr5" file="chr5.png" compare="sim_size" delta="10000"/> | |
58 <element name="chr6" file="chr6.png" compare="sim_size" delta="10000"/> | |
59 <element name="chr7" file="chr7.png" compare="sim_size" delta="10000"/> | |
60 <element name="chr8" file="chr8.png" compare="sim_size" delta="10000"/> | |
61 <element name="chr9" file="chr9.png" compare="sim_size" delta="10000"/> | |
62 <element name="chrX" file="chrX.png" compare="sim_size" delta="10000"/> | |
63 <element name="genome_wide" file="genome_wide.png" compare="sim_size" delta="10000"/> | |
64 </output_collection> | |
65 </test> | |
66 </tests> | |
67 <help> | |
68 @help@ | |
69 <![CDATA[ | |
70 .. class:: infomark | |
71 | |
72 **WisecondorX predict test_input.npz reference_input.npz output_id [--optional arguments]** | |
73 | |
74 Option List:: | |
75 | |
76 --minrefbins Minimum amount of sensible reference bins per target bin; | |
77 should generally not be tweaked (default: x=150) | |
78 --maskrepeats Bins with distances > mean + sd * 3 in the reference will be | |
79 masked. This parameter represents the number of masking cycles | |
80 and defines the stringency of the blacklist (default: x=5) | |
81 **Should be a multiple of the 5e3**. | |
82 Not exposed in this Galaxy wrapper. | |
83 --zscore Z-score cutoff to call segments as aberrations (default: x=5) | |
84 --alpha P-value cutoff for calling circular binary segmentation | |
85 breakpoints (default: x=1e-4). | |
86 Not exposed in this Galaxy wrapper. | |
87 --beta When beta is given, --zscore is ignored. Beta sets a ratio | |
88 cutoff for aberration calling. It's a number between 0 (liberal) | |
89 and 1 (conservative) and, when used, is optimally close to the | |
90 purity (e.g. fetal/tumor fraction) | |
91 Not exposed in this Galaxy wrapper. | |
92 --blacklist Blacklist for masking additional regions; requires headerless | |
93 .bed file. This is particularly useful when the reference set | |
94 is too small to recognize some obvious loci (such as centromeres). | |
95 Not exposed in this Galaxy wrapper. | |
96 --gender Force WisecondorX to analyze this case as male (M) or female (F). | |
97 Useful when e.g. dealing with a loss of chromosome Y, which | |
98 causes erroneous gender predictions (choices: x=F or x=M). | |
99 Not exposed in this Galaxy wrapper. | |
100 --bed Outputs tab-delimited .bed files. | |
101 --plot Outputs custom .png plots, directly interpretable. | |
102 --ylim [a,b] Force WisecondorX to use y-axis interval [a,b] during plotting, e.g. [-2,2]. | |
103 Not exposed in this Galaxy wrapper. | |
104 --cairo Some operating systems require the cairo bitmap type to write plots. | |
105 Not exposed in this Galaxy wrapper. | |
106 --seed Random seed for segmentation algorithm (default:None). | |
107 Not exposed in this Galaxy wrapper. | |
108 ]]></help> | |
109 <citations> | |
110 <citation type="doi">10.1093/nar/gky1263</citation> | |
111 </citations> | |
112 </tool> |