Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • PSL to BED?

    How can I convert output from Jim Kent's BLAT, which is in PSL format, into BED format?

  • #2
    I have posted a new psl2bed conversion script to an unstable development branch of our BEDOPS suite, which you can download as follows:

    $ svn checkout http://bedops.googlecode.com/svn/branches/v2p1p0 bedops_v2p1p0
    $ cd bedops_v2p1p0
    $ make
    $ make install
    $ cd bin
    $ ./psl2bed --help


    This script will convert headerless (default) and headered PSL files by moving columns around into BED output that follows UCSC BED format conventions, up to the first six columns. Remaining fields are mapped to columns 7 through 21.

    Run psl2bed --help for a more complete description.

    As an example, here is how to make a sorted BED file called sorted-foo.bed, converted from a headered PSL file called foo.psl:

    $ psl2bed --headered < foo.psl > sorted-foo.bed

    This relies on installing BEDOPS binaries, including psl2bed and sort-bed in a location accessible through your PATH environment variable.

    Note that this is a development branch, so there are no guarantees that versions of BEDOPS apps made from this branch are stable. These and other improvements will end up in the final v2.1 release of BEDOPS, hopefully in a month or two.
    Last edited by AlexReynolds; 03-09-2013, 03:06 AM.

    Comment


    • #3
      We have put out a "final" release of BEDOPS v2.1 here, which includes the psl2bed script.

      Comment

      Latest Articles

      Collapse

      • seqadmin
        Strategies for Sequencing Challenging Samples
        by seqadmin


        Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
        03-22-2024, 06:39 AM
      • seqadmin
        Techniques and Challenges in Conservation Genomics
        by seqadmin



        The field of conservation genomics centers on applying genomics technologies in support of conservation efforts and the preservation of biodiversity. This article features interviews with two researchers who showcase their innovative work and highlight the current state and future of conservation genomics.

        Avian Conservation
        Matthew DeSaix, a recent doctoral graduate from Kristen Ruegg’s lab at The University of Colorado, shared that most of his research...
        03-08-2024, 10:41 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, Yesterday, 06:37 PM
      0 responses
      12 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, Yesterday, 06:07 PM
      0 responses
      10 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 03-22-2024, 10:03 AM
      0 responses
      51 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 03-21-2024, 07:32 AM
      0 responses
      68 views
      0 likes
      Last Post seqadmin  
      Working...
      X