annotate Contra/baseline.xml @ 3:94362f37962e

Uploaded
author fcaramia
date Thu, 13 Sep 2012 02:43:53 -0400
parents 7564f3b1e675
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
1 <tool id="baseline_tool" name="Baseline" version="1.0.0">
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
2 <description>: Control files for Contra</description>
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
3 <requirements>
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
4 <requirement type="package" version="2.11.2">bedtools</requirement>
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
5 </requirements>
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
6 <command interpreter="perl">
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
7
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
8 baseline_wrapper.pl
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
9
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
10 ##Required files
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
11 "PLAYEROPTION::-t=$target_file"
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
12
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
13 #for $group in $file_group
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
14 "BAMLISTENTRY::${group.bam}"
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
15 #end for
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
16
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
17 "PLAYEROPTION::--name=$sampleName"
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
18 "PLAYEROPTION::--trim=$trim"
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
19
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
20 ##File to generate the bam list
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
21 "BASELINEOUTPUT::$baseline_output"
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
22 </command>
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
23 <inputs>
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
24 <param name="target_file" type="data" format="bed" help="" optional="false" />
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
25 <repeat name="file_group" title="Bam file">
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
26 <param format="bam" name="bam" type="data" label="BAM File" help=""/>
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
27 </repeat>
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
28 <param name="sampleName" value="baseline" type="text" optional="true" />
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
29 <param name="trim" type="float" value="0.2" optional="true" />
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
30
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
31
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
32 </inputs>
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
33 <outputs>
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
34 <data name="baseline_output" title="Baseline Output" format="tabular" type="data" label="Baseline_Control.txt" />
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
35 </outputs>
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
36 <help>
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
37 |
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
38
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
39 **Reference**
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
40 http://contra-cnv.sourceforge.net/
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
41
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
42 -----
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
43
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
44 **What it does**
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
45
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
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.
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
47
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
48 -----
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
49
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
50 **Parameters**
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
51
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
52 ::
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
53
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
54 -t, --target Target region definition file [REQUIRED] [BED format]
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
55
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
56 -f, --files Files to be converted to baselines [REQUIRED] [BAM]
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
57
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
58 -o, --output Output folder [REQUIRED]
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
59
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
60 -c, --trim Portion of outliers to be removed before calculating
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
61 average [Default: 0.2]
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
62
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
63 -n, --name Output baseline file name [Default: baseline]
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
64
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
65
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
66 </help>
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
67 </tool>
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
68
7564f3b1e675 Uploaded
fcaramia
parents:
diff changeset
69