Mercurial > repos > fcaramia > methylation_analysis_bismark
comparison methylation_analysis/differential_methylation.xml @ 4:282edadee017 draft
Uploaded
author | fcaramia |
---|---|
date | Mon, 03 Dec 2012 18:26:25 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
3:d0fc260f6dc9 | 4:282edadee017 |
---|---|
1 <tool id="differential_methylation_tool" name="Differential Methylation" version="1.0.0"> | |
2 <description>methylation status of two samples by region</description> | |
3 <requirements> | |
4 <requirement type="package" version="0.1.16">samtools</requirement> | |
5 <requirement type="package" version="0.12.7">bowtie2</requirement> | |
6 <requirement type="package" >getopt</requirement> | |
7 <requirement type="package" >snow</requirement> | |
8 <requirement type="package" >abind</requirement> | |
9 <requirement type="package" >rtracklayer</requirement> | |
10 <requirement type="package" >biomaRt</requirement> | |
11 | |
12 </requirements> | |
13 <command > | |
14 | |
15 differential_methylation.R -s $seg1 -t $seg2 -r $genome.fields.dbkey -p 1 -f $fdr -a $annot -o $output 2>1 | |
16 | |
17 </command> | |
18 <inputs> | |
19 | |
20 <param name="seg1" type="data" format="tabular" label="Seg file 1" /> | |
21 <param name="seg2" type="data" format="tabular" label="Seg file 2" /> | |
22 | |
23 <param name="genome" type="select" label="Select a reference genome" help="If your genome of interest is not listed, contact the Galaxy team"> | |
24 <options from_data_table="bismark_indexes"> | |
25 <filter type="sort_by" column="2"/> | |
26 <validator type="no_options" message="No indexes are available for the selected input dataset"/> | |
27 </options> | |
28 </param> | |
29 <param name="annot" type="select" label="Annotation"> | |
30 <option value="both" selected="true">both</option> | |
31 <option value="gene">gene</option> | |
32 <option value="cpg">cpg</option> | |
33 </param> | |
34 <param name="fdr" type="select" label="fdr method"> | |
35 <option value="none" selected="true">none</option> | |
36 <option value="holm">holm</option> | |
37 <option value="hochberg">hochberg</option> | |
38 <option value="hommel">hommel</option> | |
39 <option value="bonferroni">bonferroni</option> | |
40 <option value="BH">BH</option> | |
41 <option value="BY">BY</option> | |
42 <option value="fdr">fdr</option> | |
43 </param> | |
44 | |
45 | |
46 | |
47 </inputs> | |
48 <outputs> | |
49 <data format="tabular" name="output" label="${tool.name} on ${on_string}"> | |
50 <actions> | |
51 <action type="metadata" name="dbkey"> | |
52 <option type="from_data_table" name="bismark_indexes" column="1" offset="0"> | |
53 <filter type="param_value" column="0" value="#" compare="startswith" keep="False"/> | |
54 <filter type="param_value" ref="genome" column="0"/> | |
55 </option> | |
56 </action> | |
57 </actions> | |
58 </data> | |
59 | |
60 </outputs> | |
61 <help> | |
62 | | |
63 | |
64 **What it does** | |
65 | |
66 Compares the methylation status of two samples by region. It calculates a p.value for differential methylation using a test of proportions, that is, it tests the null hypothesis that the 2 methylation proportions are equal. The script will also calculate the difference in methylation and annotate the regions with the closest ensembl gene and cpg island. This script takes as input two seg files created by the tool "methylation_by_region_converter" and returns a new seg file containing: | |
67 | |
68 :: | |
69 | |
70 Comparison the name of the comparison | |
71 Chrom the chromosome of the region | |
72 loc.start the start of the region | |
73 loc.end the end of the region | |
74 Sample1.Methylated the number of methylated reads in the region for sample 1 | |
75 Sample1.Total the total number of reads in the region for sample 1 | |
76 Sample1.Proportion the proportion of methylated reads for sample 1 | |
77 Sample2.Methylated the number of methylated reads in the region for sample 2 | |
78 Sample2.Total the total number of reads in the region for sample 2 | |
79 Sample2.Proportion the proportion of methylated reads for sample 2 | |
80 X_Squared the test statistic for the test of proportions | |
81 P.value the raw p-value | |
82 P.adjusted the fdr adjusted p-value | |
83 ensembl_gene_id the closest or overlapping Ensembl gene id | |
84 hgnc_symbol the HUGO Gene Nomenclature Committee id | |
85 refseq_mrna the refseq id | |
86 feature_start the start of the gene | |
87 feature_end the end of the gene | |
88 Distance_To_Feature the distance to the feature | |
89 Cpg the closest or overlapping CpG island | |
90 cpg_perCpg the number of CpGs in island | |
91 cpg_perGc the percentage of island that is CpG | |
92 cpg_start the start location of the CpG island | |
93 cpg_end the end location of the CpG island | |
94 Distance_To_cpg the distance to the CpG island | |
95 DiffProp the difference in the methylation proportions | |
96 | |
97 Usage: differential_methylation.R [[option][value]] | |
98 Options: | |
99 -h|--help view this help | |
100 -s|--segfile1 seg file 1 | |
101 -t|--segfile2 seg file 2 | |
102 -o|--output output file | |
103 -f|--fdr fdr method [holm|hochberg|hommel|bonferroni|BH|BY|fdr|none] | |
104 -r|--reference reference to use [hg19|GRCh37|mm9|NCBIM37|mm10|GRCm38|dm3|BDGP5] | |
105 -a|--annot annotation to add [both|gene|cpg] | |
106 -p|--processes number of cluster instances to open [1] | |
107 | |
108 | |
109 | |
110 </help> | |
111 </tool> | |
112 | |
113 |