This file contains 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
@HD VN:1.0 | |
@SQ SN:1 LN:195471971 | |
39V34V1:69:D265MACXX:3:1213:20484:44810 133 1 11042802 0 35M15S = 11042802 0 CTCCCCCCTCCCCCCCCCCCCACCTCTTTGCCCTGGGGTCCCCCCTTTGT <'7BBB############################################ XC:i:35 |
This file contains 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
#include "htslib/sam.h" | |
#include "htslib/bgzf.h" | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <inttypes.h> | |
#include <string.h> | |
void process_alignment(bam1_t *b, bam_hdr_t *hdr, FILE *of, int length) { | |
int32_t pos = b->core.pos, apos = 0; | |
int i, j, op, op_len; |
NewerOlder