Git Product home page Git Product logo

Comments (2)

arq5x avatar arq5x commented on July 17, 2024

The FLAG column in the examples you show is 255, which means that the read and its mate are unmapped (plug in 255 here: https://broadinstitute.github.io/picard/explain-flags.html). If all alignments are "unmapped" (I don't know why), then there is no coverage, technically. genomecov requires the reads to be mapped.

from bedtools2.

gcabebe avatar gcabebe commented on July 17, 2024

Someone on StackExchanged answered my question here:

It was because I included the argument -pc, which is only for paired-end reads. The second column on the bam file I showed here is all 0, which indicates single-end reads. So I removed that argument and was able to get the tables I needed, which look like this:

chromosome      1       169
chromosome      2       169
chromosome      3       171
chromosome      4       171
chromosome      5       173
chromosome      6       178
chromosome      7       178
chromosome      8       180
chromosome      9       212
chromosome      10      212

from bedtools2.

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.