Good Afternoon Orion:

For bed format files, the following sort will put them
in proper order:
$ sort -k1,1 -k2,2n file.bed

What type of track or output were you expecting to find
them in this order ?

Only in the case of wiggle track or bedGraph data formats
does the custom track file need to be in order by chromStart.
For ordinary bed format custom tracks, the order is
not important.

--Hiram

Orion Buske wrote:
> Hello,
> 
> I was wondering if the chromStart values within a chromosome are expected to
> be in nondecreasing order? I know that you require this for Custom Track to
> the Genome Browser. Do you consider this to be part of the specification? It
> doesn't seem to be a documented invariant, but it would be extremely useful
> to be able to rely on this.
> 
> Thank you for your feedback,
> Orion
> 
> --
> Orion Buske
> Department of Genome Sciences
> University of Washington
> 
> 
> _______________________________________________
> Genome maillist  -  [email protected]
> https://lists.soe.ucsc.edu/mailman/listinfo/genome
> 

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

Reply via email to