annotate wisecondor_reference_builder.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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
1 <tool id="wisecondorx_reference_builder" name="WisecondorX build" version="@WRAPPER_VERSION@" profile="@PROFILE@">
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
2 <description>
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
3 reference
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
4 </description>
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
5 <macros>
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
6 <import>macro.xml</import>
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
7 </macros>
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
8 <expand macro="requirements"/>
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
9 <stdio>
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
10 <exit_code range="1:" level="fatal" description="Error occured" />
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
11 </stdio>
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
12 <command detect_errors="exit_code"><![CDATA[
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
13 @pipefail@
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
14 #for $num, $file in enumerate($npz_inputs):
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
15 ln -s $file "${num}.npz" &&
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
16 #end for
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
17 WisecondorX newref *.npz reference.npz
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
18 --binsize ${bin}
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
19 --cpus \${GALAXY_SLOTS:-4} &&
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
20 mv reference.npz $npz
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
21 ]]></command>
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
22 <inputs>
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
23 <param name="npz_inputs" type="data" label="npz inputs" multiple="True" format="npz"
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
24 help="Build reference from npz inputs from normal sample (at least 10 samples required)"/>
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
25 <param name="bin" size="9" type="integer" value="100000" label="Bin size in nucleotides"
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
26 help="Bin default value is 100 kb (100000)" />
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
27 </inputs>
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
28 <outputs>
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
29 <data name="npz" format="npz" label="reference_${bin}nt" />
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
30 </outputs>
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
31 <tests>
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
32 <test expect_num_outputs="1">
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
33 <param name="npz_inputs"
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
34 value="0.ref.npz,1.ref.npz,2.ref.npz,3.ref.npz,4.ref.npz,5.ref.npz,6.ref.npz,7.ref.npz,8.ref.npz,9.ref.npz"/>
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
35 <param name="bin" value="10000" />
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
36 <output name="npz" ftype="npz" file="output_reference.npz" compare="sim_size" delta="10000"/>
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
37 </test>
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
38 </tests>
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
39 <help>
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
40 @help@
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
41 <![CDATA[
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
42 .. class:: infomark
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
43
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
44 **WisecondorX newref reference_input_dir/*.npz reference_output.npz [--optional arguments]**
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
45
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
46 Option List::
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
47
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
48 --nipt Always include this flag for the generation of a NIPT reference
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
49 --binsize Size per bin in bp, defines the resolution of the output (default: x=1e5)
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
50 **Should be a multiple of the 5e3**
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
51 --refsize Amount of reference locations per target;
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
52 should generally not be tweaked (default: x=300)
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
53 --yfrac Y read fraction cutoff, in order to manually define gender.
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
54 Setting this to 1 will treat all samples as female.
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
55 This parameter is not currently exposed in the Galaxy wrapper.
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
56 --plotyfrac plots Y read fraction histogram and Gaussian mixture fit to file x,
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
57 can help when setting --yfrac manually; software quits after plotting
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
58 The --normdup parameter is currently not exposed in this Galaxy
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
59 wrapper. Default is to remove duplicates.
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
60 --cpus Number of threads requested (This is defined by the Galaxy administrator)
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
61
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
62 ]]></help>
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
63 <citations>
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
64 <citation type="doi">10.1093/nar/gky1263</citation>
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
65 </citations>
bf0ebc9921f2 planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/wisecondorx commit b391b0f3348bd86a5c276dc4d3ff9dc98890c115
artbio
parents:
diff changeset
66 </tool>