annotate Contra/baseline.xml @ 15:f4345d10e1ad

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