[Bioperl-l] how to convert a txt file to a bed file?

Sean Davis sdavis2 at mail.nih.gov
Tue Mar 2 16:33:38 UTC 2010


On Tue, Mar 2, 2010 at 1:08 AM, Zhenyu Shen <szy0931 at gmail.com> wrote:
> I want to convert a txt file to a bed file and then load the bed file
> to USCS genome browser. But how to convert the txt file to a bed file
> with perl?

Hi, Zhenyu.  A bed file IS a text file, with the format described here:

http://genome.ucsc.edu/goldenPath/help/customTrack.html#BED

You just need to make your text file conform to that format and you
are set to go.

Sean



More information about the Bioperl-l mailing list