Mercurial > repos > fcaramia > contra
comparison Contra/baseline.xml @ 9:073c2382b3af
Uploaded
author | fcaramia |
---|---|
date | Sun, 02 Dec 2012 19:48:47 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
8:1a5cbabc4cd3 | 9:073c2382b3af |
---|---|
1 <tool id="baseline_tool" name="Baseline" version="1.0.0"> | |
2 <description>: Control files for Contra</description> | |
3 <requirements> | |
4 <requirement type="package" version="2.17.0">bedtools</requirement> | |
5 </requirements> | |
6 <command interpreter="perl"> | |
7 | |
8 baseline_wrapper.pl | |
9 | |
10 ##Required files | |
11 "PLAYEROPTION::-t=$target_file" | |
12 | |
13 #for $group in $file_group | |
14 "BAMLISTENTRY::${group.bam}" | |
15 #end for | |
16 | |
17 "PLAYEROPTION::--name=$sampleName" | |
18 "PLAYEROPTION::--trim=$trim" | |
19 | |
20 ##File to generate the bam list | |
21 "BASELINEOUTPUT::$baseline_output" | |
22 </command> | |
23 <inputs> | |
24 <param name="target_file" type="data" format="bed" help="" optional="false" /> | |
25 <repeat name="file_group" title="Bam file"> | |
26 <param format="bam" name="bam" type="data" label="BAM File" help=""/> | |
27 </repeat> | |
28 <param name="sampleName" value="baseline" type="text" optional="true" /> | |
29 <param name="trim" type="float" value="0.2" optional="true" /> | |
30 | |
31 | |
32 </inputs> | |
33 <outputs> | |
34 <data name="baseline_output" title="Baseline Output" format="tabular" type="data" label="Baseline_Control.txt" /> | |
35 </outputs> | |
36 <help> | |
37 | | |
38 | |
39 **Reference** | |
40 http://contra-cnv.sourceforge.net/ | |
41 | |
42 ----- | |
43 | |
44 **What it does** | |
45 | |
46 Creating a baseline control from multiple samples is can be useful when a matched control is not available. In the CONTRA download page, we have provided several baseline files for some of the platforms that we have tried. Alternatively, the “baseline.py” script that comes with CONTRA can be used to generate a custom baseline file. | |
47 | |
48 ----- | |
49 | |
50 **Parameters** | |
51 | |
52 :: | |
53 | |
54 -t, --target Target region definition file [REQUIRED] [BED format] | |
55 | |
56 -f, --files Files to be converted to baselines [REQUIRED] [BAM] | |
57 | |
58 -o, --output Output folder [REQUIRED] | |
59 | |
60 -c, --trim Portion of outliers to be removed before calculating | |
61 average [Default: 0.2] | |
62 | |
63 -n, --name Output baseline file name [Default: baseline] | |
64 | |
65 | |
66 </help> | |
67 </tool> | |
68 | |
69 |