]> git.donarmstrong.com Git - samtools.git/blobdiff - bam.h
Unfinished modification. Please do not use this revision...
[samtools.git] / bam.h
diff --git a/bam.h b/bam.h
index ec983dfdd183042ef67a019e215a6dff6724c71f..b0fcd9c4c76354dde31a0e184720c74e42254634 100644 (file)
--- a/bam.h
+++ b/bam.h
@@ -632,13 +632,7 @@ extern "C" {
        */
        int32_t bam_cigar2qlen(const bam1_core_t *c, const uint32_t *cigar);
 
-       typedef struct {
-               int32_t qbeg, qend;
-               int32_t tbeg, tend;
-               int32_t cbeg, cend;
-       } bam_segreg_t;
-
-       int bam_segreg(int32_t pos, const bam1_core_t *c, const uint32_t *cigar, bam_segreg_t *reg);
+       int bam_tpos2qpos(const bam1_core_t *c, const uint32_t *cigar, int32_t tpos, int32_t *_tpos);
 
 #ifdef __cplusplus
 }