Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • quinlana
    Senior Member
    • Sep 2008
    • 119

    #1

    BEDTools v2.6: improved BAM support, new options.

    Hello all,

    I recently posted Version 2.6 of BEDTools. This release includes numerous changes (see below if you want to skip my rambling) and is the first to include ideas and source code directly contributed by other users. Thanks to those who submitted ideas, source code, corrections, etc. I am grateful.

    Of widest interest is the native inclusion of BAM support (using BAMTools) to coverageBed and genomeCoverageBed (no longer need to pipe to bamToBed). genomeCoverageBed now also creates BEDGRAPH output and coverageBed will create coverage histograms for _each_ feature in the "B" file. For example, one can compute coverage histograms for each targeted exon, as well as a summary of all targets directly from a BAM file of alignments.

    Code:
    $ coverageBed -abam reads.bam -b exons.bed -hist
    Below is a litany of the specific changes made in this release.



    Regards,
    Aaron

    ***Specific improvements / additions to tools***
    1. intersectBed
    * Added an option (-wo) that reports the number of overlapping bases for each intersection b/w A and B files.

    2. coverageBed
    * native BAM support
    * can now report a histogram (-hist) of coverage for each feature in B. Useful for exome sequencing projects, for example.
    * faster

    3. genomeCoverageBed
    * native BAM support
    * can now report coverage in BEDGRAPH format (-bg)

    4. bamToBed
    * support for "blocked" BED (aka BED12) format (use the -bed12 option). This facilitates the creation of BED entries for "split" alignments (e.g. RNAseq or SV)
    -- when using BED12, one can specify an R,G,B color for the output for subsequent uploads to UCSC, Gambit, IGV, Tablet, etc.

    5. fastaFromBed
    * added the ability to extract sequences from a FASTA file according to the strand in the BED file. That is, when "-" the extracted sequence is reverse complemented.

    6. ***NEW*** overlap
    * newly added tool for computing the overlap/distance between features on the same line.
    Code:
    	$ cat test.out
    	chr1	10	20	A	chr1	15	25	B
    	chr1	10	20	C	chr1	25	35	D
    
    	$ cat test.out | overlaps -i stdin -cols 2,3,6,7
    	chr1	10	20	A	chr1	15	25	B	5
    	chr1	10	20	C	chr1	25	35	D	-5
    Last edited by quinlana; 03-23-2010, 07:13 PM. Reason: Incorrect statement.
  • bioinfosm
    Senior Member
    • Jan 2008
    • 483

    #2
    Thanks Aaron. I used the 2.5.3 and it is a great resource!

    Sumit
    --
    bioinfosm

    Comment

    • quinlana
      Senior Member
      • Sep 2008
      • 119

      #3
      Hi,
      Version 2.6.1 has just been posted; it fixes an idiotic command line parsing bug in coverageBed. Thanks to mgogol for pointing this out.

      Aaron
      Last edited by quinlana; 03-30-2010, 06:01 PM. Reason: typo. again.

      Comment

      • NGS2009
        Junior Member
        • Dec 2009
        • 4

        #4
        Hi Aaron,

        How to make a coverage plot using coverageBed output hist.csv file in R or Excel?

        Thanks!!

        Comment

        Latest Articles

        Collapse

        • kinpict.com
          Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
          by kinpict.com
          The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
          Today, 06:37 PM
        • 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-12-2026, 07:59 AM
        0 responses
        28 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 11-05-2026, 09:25 AM
        0 responses
        35 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 11-03-2026, 11:54 AM
        2 responses
        56 views
        0 reactions
        Last Post kinpict.com  
        Started by SEQadmin2, 10-28-2026, 09:57 AM
        0 responses
        175 views
        0 reactions
        Last Post SEQadmin2  
        Working...