Is there a way to determine if coordinates in a wiggle (.wig) file should be 
1-based or 0-based?

The UCSC specification says that wiggle files are one-based, as for custom 
tracks. However, UCSC's hgWiggle tool writes 0-based files.

Is it reasonable to guess the source from the file headers?

For example:

-- 1-based custom track in wiggle format has a "track" header line.
-- 0-based hgWiggle output has a comment: 
   # This data has been compressed with a minor loss in resolution.

Are the other real-world cases that wiggle file users might encounter that 
would change the source's coordinate type?

Thanks,
Alex
_______________________________________________
Genome maillist  -  [email protected]
https://lists.soe.ucsc.edu/mailman/listinfo/genome

Reply via email to