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
        Best Practices for Single-Cell Sequencing Analysis
        by seqadmin



        While isolating and preparing single cells for sequencing was historically the bottleneck, recent technological advancements have shifted the challenge to data analysis. This highlights the rapidly evolving nature of single-cell sequencing. The inherent complexity of single-cell analysis has intensified with the surge in data volume and the incorporation of diverse and more complex datasets. This article explores the challenges in analysis, examines common pitfalls, offers...
        06-06-2024, 07:15 AM
      • seqadmin
        Latest Developments in Precision Medicine
        by seqadmin



        Technological advances have led to drastic improvements in the field of precision medicine, enabling more personalized approaches to treatment. This article explores four leading groups that are overcoming many of the challenges of genomic profiling and precision medicine through their innovative platforms and technologies.

        Somatic Genomics
        “We have such a tremendous amount of genetic diversity that exists within each of us, and not just between us as individuals,”...
        05-24-2024, 01:16 PM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, 06-14-2024, 07:24 AM
      0 responses
      12 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 06-13-2024, 08:58 AM
      0 responses
      14 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 06-12-2024, 02:20 PM
      0 responses
      17 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 06-07-2024, 06:58 AM
      0 responses
      186 views
      0 likes
      Last Post seqadmin  
      Working...
      X