deWitLab / peakC

Peak calling for 4C data
12 stars 7 forks source link

readqWig error #5

Open 25343 opened 1 month ago

25343 commented 1 month ago

Hi, I am trying to Run:

data <- readqWig("edited.gz", vp.pos=144450324, window=700e3)

but I am getting the following error:

Error in scan(file, skip = 2, quiet = T) : scan() expected 'a real', got 'variableStep'

the first line has to be removed zcat edited.gz | head -5 track type=wiggle_0 name=F_4C_rep2_P3_R1 visibility=full autoScale=off viewLimits=0.0:2500.0 maxHeightPixels=50:50:8 color=0,0,200
priority=10 variableStep chrom=chr1 span=1 3003213 0 3003262 0 3003267 0

but run the code have the same error:

Error in scan(file, skip = 2, quiet = T) : scan() expected 'a real', got 'variableStep'

25343 commented 1 month ago

what could be possibly wrong? Thanks much