Hi,
I am very interested in analyzing my one sample chip-seq data using
this method. I use the "
process_readfiles.pl" to generate the bin
level data from sam input and do the analysis in chromosomewise. It
works fine for chr7 and not for chr1 (I just tried these two chr
now).
(1) OneSampleBinData_chr1 <- readBins(type = c("chip","M","GC","N"),
fileName = c("./chipseq_data_bin/S1/
chr1_S1_Mapped.sam_fragL250_bin50.txt","./hg18/
chr1_map_fragL200_bin200.txt","./hg18/chr1_GC_fragL200_bin200.txt","./
hg18/chr1_N_fragL200_bin200.txt"))
Warning messages:
1: In Y > 0 & M == 0 :
longer object length is not a multiple of shorter object length
2: In Y > 0 & M == 0 :
longer object length is not a multiple of shorter object length
(2) OneSampleFit_chr1 <- mosaicsFit(OneSampleBinData_chr1,
analysisType = "OS") ## neither error nor warning for this step
(3) OneSamplePeak_chr1 <- mosaicsPeak(OneSampleFit_chr1,
signalModel="1S", FDR = 0.05, maxgap = 250, minsize = 50, thres = 10)
Info: use one-signal-component model.
Info: calculating posterior probabilities...
Error in 0:Ymax : NA/NaN argument
Thanks for your help,
tim