Code Monkey home page Code Monkey logo

Comments (2)

etal avatar etal commented on August 13, 2024

Sure it does, at least if the input BED file also contains a "name" field in the 4th column.

$ more some-targets.bed 
chr1    30330   30540   MIR1302-10
chr1    35051   35290   FAM138A
chr1    35290   35529   FAM138A
chr1    35623   35833   FAM138A
chr1    69039   69294   OR4F5
chr1    69294   69549   OR4F5
chr1    69549   69804   OR4F5
chr1    69804   70059   OR4F5
chr1    367618  367873  OR4F16
chr1    367873  368128  OR4F16

$ samtools bedcov -Q 1 some-targets.bed some-reads.bam 
chr1    30330   30540   MIR1302-10  0
chr1    35051   35290   FAM138A 0
chr1    35290   35529   FAM138A 50
chr1    35623   35833   FAM138A 0
chr1    69039   69294   OR4F5   0
chr1    69294   69549   OR4F5   1228
chr1    69549   69804   OR4F5   748
chr1    69804   70059   OR4F5   0
chr1    367618  367873  OR4F16  0
chr1    367873  368128  OR4F16  0


$ samtools 

Program: samtools (Tools for alignments in the SAM format)
Version: 0.1.19-44428cd
...

from cnvkit.

johnmu avatar johnmu commented on August 13, 2024

Ah I see, yeah my BED file was missing the 4th column. Thanks!

from cnvkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.