Skip to content

readqWig error  #5

@25343

Description

@25343

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions