analysing bismark.cov.gz files
0
0
Entering edit mode
17 months ago
adR ▴ 120

Hi all,

I have 100 whole bisulfate sequenced samples and generated 100 bismark.cov.gz files following the Bismark pipeline. I want to do differential methylation analysis as these samples have four groups.

When I open each bismark.cov.gz file, I see six columns and don't know which column to use to combine all the files to generate a single data frame. I use the R programming language for the analysis, and I would like to get some feedback or a pipeline or packages designed for this type of analysis.

Best, ADR

R methylation bismark • 1.3k views
ADD COMMENT
0
Entering edit mode
ADD REPLY
0
Entering edit mode

Thank for your suggestion but reading 100 files as you could see below turns error.

file.list = c("/user/ad/A.bismark.cov.gz", "user/ad/B.bismark.cov.gz", "user/ad/C.bismark.cov.gz", "user/ad/D.bismark.cov.gz", "user/ad/E.bismark.cov.gz", "user/ad/F.bismark.cov.gz")

bismarkBSseq <- read.bismark(file.list, rmZeroCov = TRUE, strandCollapse = FALSE, verbose = TRUE)

here is the errors:

[read.bismark] Parsing files and constructing valid loci ... Error in h(simpleError(msg, call)) : error in evaluating the argument 'x' in selecting a method for function 'unique': long vectors not supported yet: /Volumes/Builds/R4/R-4.2.3/src/main/memory.c:3885

do you have any idea what would be the cause?

Thank you!

ADD REPLY

Login before adding your answer.

Traffic: 1830 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6