Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • LauraSmith
    Junior Member
    • Dec 2011
    • 4

    #1

    Is there a BED file format validator? Does a BED file have to be sorted position?

    Hi Everyone,

    I have 2 questions and would very much appreciate anyone's input:

    1. Is there a BED file format validator? A tool or a java package perhaps available online to download?


    2. Does a BED file have to be sorted by chromosome and position starting from the first line? I checked the UCSC Genomic browser website for BED file format specification and there doesn't seem to be a requirement for this, but wanted to double check here.

    Thank you,
    Laura
  • mgogol
    Senior Member
    • Mar 2008
    • 197

    #2
    1) Not that I know of. Try to upload it to UCSC?

    2) No. Unless you're trying to do something with it that expects it to be sorted. If you need to sort, something like sort -k1,1 -k2,2n file.bed should do.

    Comment

    • maasha
      Senior Member
      • Apr 2009
      • 153

      #3
      Using read_bed from Biopieces (www.biopieces.org) there is a -C switch that checks integrity:

      Comment

      • AlexReynolds
        Member
        • Feb 2013
        • 45

        #4
        If you want to validate coordinates, the BEDOPS bedops application can do this, using the --everything and --ec operators:

        $ bedops --ec --everything myData.bed 1> /dev/null
        ...


        If any problems with chromosome name or coordinates are found, the details will be printed to standard error; in this example, we direct standard output to /dev/null as we're only interested in finding and reporting errors.
        Last edited by AlexReynolds; 05-22-2013, 06:32 PM.

        Comment

        Latest Articles

        Collapse

        • SEQadmin2
          The Factors Reshaping Genome Assembly
          by SEQadmin2



          When the Human Genome Project declared the human genome finished in 2003, portions of the sequence were still missing, including many of its most repetitive and structurally complex regions.1 Still, for the next two decades, researchers analyzed their sequencing data against the single linear reference that came out of this effort. Released in 2013 as GRCh38, that reference has powered countless discoveries, but it has gaps and cannot capture the genetic diversity of the world’s...
          11-24-2026, 07:04 AM
        • SEQadmin2
          16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
          by SEQadmin2





          NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
          10-30-2026, 06:46 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 11-23-2026, 11:11 AM
        0 responses
        26 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 11-17-2026, 06:27 AM
        0 responses
        40 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 11-12-2026, 07:59 AM
        0 responses
        61 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 11-05-2026, 09:25 AM
        0 responses
        66 views
        0 reactions
        Last Post SEQadmin2  
        Working...