GithubHelp home page GithubHelp logo

capmq's People

Contributors

jenniferliddle avatar jrandall avatar mcshane avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

dkj wtsi-hgi

capmq's Issues

-C option accepts negative values but represents them as unsigned

The range of values provided for capQ are not checked and can result in setting MAPQ to zero:

$ ./capmq -C -256 test1.sam
@HD     VN:1.4
@PG     ID:capmq        PN:capmq        VN:0.3-2-g1be2b12-dirty CL:./capmq -C -256 test1.sam    DS:cap map quality values
@SQ     SN:alpha        LN:100
@RG     ID:a    LB:1    SM:s1
@RG     ID:b    LB:1    SM:s1
r1      99      alpha   1       0       35M     =       66      100     TGGGGTGTCATAGTAATCCGGTTGGGAGTCCGAGG     *       RG:Z:a  NM:i:0  om:i:45
r1      147     alpha   66      0       35M     =       1       -100    TATCCAGAACTTTGCAGCCATATCTCCAAGACATG     *       RG:Z:a  NM:i:0  om:i:46
r1      99      alpha   1       0       35M     =       66      100     TGGGGTGTCATAGTAATCCGGTTGGGAGTCCGAGG     *       RG:Z:b  NM:i:0  om:i:47
r1      147     alpha   66      0       35M     =       1       -100    TATCCAGAACTTTGCAGCCATATCTCCAAGACATG     *       RG:Z:b  NM:i:0  om:i:48
r1      99      alpha   1       0       35M     =       66      100     TGTCATAGTAATCCGGTTGGGAGTCCGAGGTGGGG     *       RG:Z:b  NM:i:0  om:i:4
r1      147     alpha   66      0       35M     =       1       -100    AGAACTTTGCAGCCATATCTCCAAGACATGTATCC     *       RG:Z:b  NM:i:0  om:i:4

verbose not implemented

the usage lists a -v for verbose output, but it doesn't work:

$ capmq -v
Unknown option: 'v'
...

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.