Encode Project Bigwig File Convention
2
1
Entering edit mode
11.4 years ago
Eric Ho ▴ 10

(Maybe a stupid question.)

What is the file convention of bigWig file in ENCODE Project?
I could not find any clues from the ENCODE...

zero-based / one-based
and
half-open / fully-closed

Thanks!

bigwig • 3.2k views
ADD COMMENT
0
Entering edit mode

Please define "file convention". Are you talking about 0/1-based start coordinates?

ADD REPLY
0
Entering edit mode

Re Neilfws: Yes, you are right.

ADD REPLY
2
Entering edit mode
11.4 years ago

Because bigWig is binary, you perhaps do not need to worry about its internal indexing. However, when converted back to something human-readable, like bed (0-based, half-open) or wig (1-based, closed), you might rely on that format's particular indexing scheme.

This is not a stupid question, by the way. Indexing is important to get right in bioinformatics (and in general applications of computer science).

ADD COMMENT
0
Entering edit mode

Thanks for you help. Your answer also solve my another question on bed and wig format convention.

ADD REPLY
0
Entering edit mode
11.4 years ago
Eric Ho ▴ 10

I have looked the BigWig paper, the supplement data shows that the BigWig stores chromStart and chromEnd as followings (Supplemental Table 13):

  1. chromStart: Start position (starting with 0).
  2. chromEnd: End of item. Same as chromStart + itemSize in bases.

Therefore, it should be 0-based and half-open.

ADD COMMENT

Login before adding your answer.

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