]> git.donarmstrong.com Git - samtools.git/blobdiff - bam_aux.c
* samtools-0.1.5-30 (r447)
[samtools.git] / bam_aux.c
index 894ae628c11958dc0ed0ca49ca95d170e54ab9c7..d0d733fc467bfa9af7d2f032b83ffb47840ef18a 100644 (file)
--- a/bam_aux.c
+++ b/bam_aux.c
@@ -28,7 +28,7 @@ uint8_t *bam_aux_get_core(bam1_t *b, const char tag[2])
 #define __skip_tag(s) do { \
                int type = toupper(*(s));                                                                               \
                ++(s);                                                                                                                  \
-               if (type == 'C') ++(s);                                                                                 \
+               if (type == 'C' || type == 'A') ++(s);                                                  \
                else if (type == 'S') (s) += 2;                                                                 \
                else if (type == 'I' || type == 'F') (s) += 4;                                  \
                else if (type == 'D') (s) += 8;                                                                 \