annotate methylation_analysis/methylation_by_region_converter.xml @ 5:23fed0cf09f4 draft

Uploaded
author fcaramia
date Mon, 03 Dec 2012 18:27:11 -0500
parents 282edadee017
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
282edadee017 Uploaded
fcaramia
parents:
diff changeset
1 <tool id="methyation_by_region_tool" name="Methylation by Region Converter" version="0.1.1">
282edadee017 Uploaded
fcaramia
parents:
diff changeset
2 <description>: create a bedgrapgh with methylation percentages aggregated by region</description>
282edadee017 Uploaded
fcaramia
parents:
diff changeset
3 <requirements>
282edadee017 Uploaded
fcaramia
parents:
diff changeset
4 <requirement type="package" version="0.1.16">samtools</requirement>
282edadee017 Uploaded
fcaramia
parents:
diff changeset
5 <requirement type="package" version="0.12.7">bowtie2</requirement>
282edadee017 Uploaded
fcaramia
parents:
diff changeset
6 </requirements>
282edadee017 Uploaded
fcaramia
parents:
diff changeset
7 <command interpreter="perl">
282edadee017 Uploaded
fcaramia
parents:
diff changeset
8
282edadee017 Uploaded
fcaramia
parents:
diff changeset
9 methylation_by_region_converter.pl
282edadee017 Uploaded
fcaramia
parents:
diff changeset
10
282edadee017 Uploaded
fcaramia
parents:
diff changeset
11 -o $output
282edadee017 Uploaded
fcaramia
parents:
diff changeset
12 -l $summary
282edadee017 Uploaded
fcaramia
parents:
diff changeset
13 ## Handle reference file.
282edadee017 Uploaded
fcaramia
parents:
diff changeset
14 #if $refBedSource.bedSource == "history":
282edadee017 Uploaded
fcaramia
parents:
diff changeset
15 $refBedSource.ownFile
282edadee017 Uploaded
fcaramia
parents:
diff changeset
16 #else:
282edadee017 Uploaded
fcaramia
parents:
diff changeset
17 "${refBedSource.index.fields.path}"
282edadee017 Uploaded
fcaramia
parents:
diff changeset
18 #end if
282edadee017 Uploaded
fcaramia
parents:
diff changeset
19 $bedgraph
282edadee017 Uploaded
fcaramia
parents:
diff changeset
20
282edadee017 Uploaded
fcaramia
parents:
diff changeset
21 </command>
282edadee017 Uploaded
fcaramia
parents:
diff changeset
22 <inputs>
282edadee017 Uploaded
fcaramia
parents:
diff changeset
23 <conditional name="refBedSource">
282edadee017 Uploaded
fcaramia
parents:
diff changeset
24 <param name="bedSource" type="select" label="Will you select a bed file from your history or use a built-in one?" help="Built-ins were created using default options">
282edadee017 Uploaded
fcaramia
parents:
diff changeset
25 <option value="indexed">Use a built-in index</option>
282edadee017 Uploaded
fcaramia
parents:
diff changeset
26 <option value="history">Use one from the history</option>
282edadee017 Uploaded
fcaramia
parents:
diff changeset
27 </param>
282edadee017 Uploaded
fcaramia
parents:
diff changeset
28 <when value="indexed">
282edadee017 Uploaded
fcaramia
parents:
diff changeset
29 <param name="index" type="select" label="Select a bed file" help="If bed file is not listed, contact the Galaxy team">
282edadee017 Uploaded
fcaramia
parents:
diff changeset
30 <options from_data_table="bismark_bed_files">
282edadee017 Uploaded
fcaramia
parents:
diff changeset
31 <filter type="sort_by" column="1"/>
282edadee017 Uploaded
fcaramia
parents:
diff changeset
32 <validator type="no_options" message="No files are available for the selected input dataset"/>
282edadee017 Uploaded
fcaramia
parents:
diff changeset
33 </options>
282edadee017 Uploaded
fcaramia
parents:
diff changeset
34 </param>
282edadee017 Uploaded
fcaramia
parents:
diff changeset
35 </when>
282edadee017 Uploaded
fcaramia
parents:
diff changeset
36 <when value="history">
282edadee017 Uploaded
fcaramia
parents:
diff changeset
37 <param name="ownFile" type="data" format="bed" metadata_name="dbkey" label="Select the bed file" />
282edadee017 Uploaded
fcaramia
parents:
diff changeset
38 </when> <!-- history -->
282edadee017 Uploaded
fcaramia
parents:
diff changeset
39 </conditional> <!-- refGenomeSource -->
282edadee017 Uploaded
fcaramia
parents:
diff changeset
40 <param name="bedgraph" type="data" format="bedgraph" label="BedGraph file" />
282edadee017 Uploaded
fcaramia
parents:
diff changeset
41 <param name="sample" type="text" label="Sample Name" />
282edadee017 Uploaded
fcaramia
parents:
diff changeset
42
282edadee017 Uploaded
fcaramia
parents:
diff changeset
43 </inputs>
282edadee017 Uploaded
fcaramia
parents:
diff changeset
44 <outputs>
282edadee017 Uploaded
fcaramia
parents:
diff changeset
45 <data name="output" format="tabular" label="${tool.name} on ${on_string}" />
282edadee017 Uploaded
fcaramia
parents:
diff changeset
46 <data name="summary" format="txt" label="${tool.name} summary" />
282edadee017 Uploaded
fcaramia
parents:
diff changeset
47 </outputs>
282edadee017 Uploaded
fcaramia
parents:
diff changeset
48 <help>
282edadee017 Uploaded
fcaramia
parents:
diff changeset
49 |
282edadee017 Uploaded
fcaramia
parents:
diff changeset
50
282edadee017 Uploaded
fcaramia
parents:
diff changeset
51
282edadee017 Uploaded
fcaramia
parents:
diff changeset
52 **What it does**
282edadee017 Uploaded
fcaramia
parents:
diff changeset
53
282edadee017 Uploaded
fcaramia
parents:
diff changeset
54
282edadee017 Uploaded
fcaramia
parents:
diff changeset
55 Script to take a bed file of target regions and a series of bedgraphs from bismark and create a bedgrapgh with methylation percentages aggregated by region
282edadee017 Uploaded
fcaramia
parents:
diff changeset
56
282edadee017 Uploaded
fcaramia
parents:
diff changeset
57
282edadee017 Uploaded
fcaramia
parents:
diff changeset
58 -----
282edadee017 Uploaded
fcaramia
parents:
diff changeset
59
282edadee017 Uploaded
fcaramia
parents:
diff changeset
60
282edadee017 Uploaded
fcaramia
parents:
diff changeset
61 ::
282edadee017 Uploaded
fcaramia
parents:
diff changeset
62
282edadee017 Uploaded
fcaramia
parents:
diff changeset
63 Usage: methylation_by_region_converter.pl [OPTIONS] bed_file bedGraph
282edadee017 Uploaded
fcaramia
parents:
diff changeset
64
282edadee017 Uploaded
fcaramia
parents:
diff changeset
65
282edadee017 Uploaded
fcaramia
parents:
diff changeset
66 </help>
282edadee017 Uploaded
fcaramia
parents:
diff changeset
67 </tool>
282edadee017 Uploaded
fcaramia
parents:
diff changeset
68
282edadee017 Uploaded
fcaramia
parents:
diff changeset
69