X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bam.h;h=b0fcd9c4c76354dde31a0e184720c74e42254634;hb=020baf39a16a31e33a736d347714e2551f6273df;hp=ec983dfdd183042ef67a019e215a6dff6724c71f;hpb=9dd911dc95f6439418ff8939fe182285da44620d;p=samtools.git diff --git a/bam.h b/bam.h index ec983df..b0fcd9c 100644 --- 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 }