Created
October 31, 2017 21:52
-
-
Save brentp/bb97f755387cc250f78015322baad22d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{.emit:""" | |
#define bam_get_qual(b) ((b)->data + ((b)->core.n_cigar<<2) + (b)->core.l_qname + (((b)->core.l_qseq + 1)>>1)) | |
""".} | |
proc bam_get_qual*(b: ptr bam1_t): ptr uint8 {.importc, nodecl.} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment