Wig file obtained from MACS14 is longer than chromosome size?
2
1
Entering edit mode
10.1 years ago
secretloong ▴ 10

The wig file:

variableStep chrom=chr15 span=1
...
12968274        1

But my chromosome size is chr15 12968165. Wig file is longer than chromosome?

The parameters:

./MACS14 -t ...bed -c ...bed -s 49 -g 1.1e+9 -p 1e-5 --nomodel -w -S --space 1 -m 10,30

Could someone give me a hand?

MACS14 ChIP-Seq • 3.2k views
ADD COMMENT
4
Entering edit mode
10.1 years ago
dfornika ★ 1.1k

I've run into the same problem. I can't explain why MACS produces wig files like this, but I have a quick fix. I used bedClip to trim off the ends of the wig files.

There is a nice brief blog post written by Sukhdeep Singh on how to use bedClip here.

ADD COMMENT
1
Entering edit mode
10.1 years ago
Ming Tommy Tang ★ 4.5k

Yes, MACS extend the reads to 300bp, so it will exceed the limits of the chromosome. bedgraph files generated from it also has the same problem. If you upload to UCSC, it will complain errors. As suggested, use bedClip first

ADD COMMENT

Login before adding your answer.

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