Error with bigWigAverageOverBed
2
0
Entering edit mode
26 days ago
María José ▴ 10

Hi,

I'm trying to calculate average coverage from narrowPeak files, using bigWigAverageOverBed command. However, I get the following error:

bigWigAverageOverBed coverage_u1.bw u1.narrowPeak average_u1.txt 

invalid unsigned integer: "type=narrowPeak"

I'm following a guideline from someone who has done this process before. However, I haven’t been able to find any resources addressing this specific error.

Any insight or resources would be greatly appreciated

usc human libraries illumina bigWigAverageOverBed • 464 views
ADD COMMENT
2
Entering edit mode
26 days ago
ATpoint 88k

It chokes because there is a header line in the narrowPeak file that needs to be removed. The tool expects a BED file which is at minimum chr-start-end without any headers. Transform your narrowPeak file in that way. At simplest it is just skipping the first line sed "1d" < your.narrowPeak > your.bed-

ADD COMMENT
0
Entering edit mode
26 days ago

check the formats of your u1.narrowPeak and average_u1.txt they're most proably NOT bed file.

show us the output of

head u1.narrowPeak average_u1.txt | tr "\t" "%"
ADD COMMENT

Login before adding your answer.

Traffic: 2526 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