Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • skander.hatira/biseps
  • irhs-bioinfo/biseps
2 results
Show changes
Commits on Source (1)
id control treatment
WT_vs_Meth13 .test/data/chr3test_a_thaliana_met13.CX_report,.test/data/chr3test_a_thaliana_met13.CX_report .test/data/chr3test_a_thaliana_wt.CX_report,.test/data/chr3test_a_thaliana_wt.CX_report
Delicia_vs_Annaglo /home/shatira/Delicia.deduplicated.bismark.cov.gz /home/shatira/Annaglo.TechRep_1.BioRep_2018-1.deduplicated.bismark.cov.gz
......@@ -5,7 +5,7 @@ rule methylation_extraction_bismark:
outdir+"results/{sample}-TechRep_{techrep}-BioRep_{biorep}/methylation_extraction_bismark/{sample}-TechRep_{techrep}-BioRep_{biorep}.deduplicated.CX_report.txt",
outdir+"results/{sample}-TechRep_{techrep}-BioRep_{biorep}/methylation_extraction_bismark/{sample}-TechRep_{techrep}-BioRep_{biorep}.deduplicated.bedGraph.gz",
report(expand(outdir+"results/{{sample}}-TechRep_{{techrep}}-BioRep_{{biorep}}/methylation_extraction_bismark/{{sample}}-TechRep_{{techrep}}-BioRep_{{biorep}}.deduplicated.M-bias_{R}.png", R=["R1","R2"]),category="M-Bias"),
temp(outdir+"results/{sample}-TechRep_{techrep}-BioRep_{biorep}/methylation_extraction_bismark/{sample}-TechRep_{techrep}-BioRep_{biorep}.deduplicated.bismark.cov.gz"),
outdir+"results/{sample}-TechRep_{techrep}-BioRep_{biorep}/methylation_extraction_bismark/{sample}-TechRep_{techrep}-BioRep_{biorep}.deduplicated.bismark.cov.gz",
outdir+'results/{sample}-TechRep_{techrep}-BioRep_{biorep}/methylation_extraction_bismark/{sample}-TechRep_{techrep}-BioRep_{biorep}.deduplicated_splitting_report.txt',
outdir+"results/{sample}-TechRep_{techrep}-BioRep_{biorep}/methylation_extraction_bismark/{sample}-TechRep_{techrep}-BioRep_{biorep}.deduplicated.M-bias.txt",
temp(expand(outdir+"results/{{sample}}-TechRep_{{techrep}}-BioRep_{{biorep}}/methylation_extraction_bismark/{context}_context_{{sample}}-TechRep_{{techrep}}-BioRep_{{biorep}}.deduplicated.txt",context = ['CHH','CHG','CpG']))
......
library(methylKit)
library("tools")
### getting files ###
......@@ -32,7 +33,7 @@ readingReports=methRead(files,
treatment=c(rep(0,length(control)),rep(1,length(treatment))),
context=context,
mincov = minCov,
pipeline="bismarkCytosineReport",
pipeline=ifelse(file_ext(files[1]) == "gz","bismarkCoverage", "bismarkCytosineReport"),
dbtype = "tabix",
dbdir = snakemake@output[["methylDB"]]
)
......