ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/gclib/gclib/GBam.cpp
(Generate patch)
# Line 266 | Line 266
266             else if (op == BAM_CREF_SKIP) { //N
267                 //intron starts
268                 //exon ends here
269 <               GSeg exon(exstart+1,l);
269 >               GSeg exon(exstart+1,c->pos+l);
270                 exons.Add(exon);
271                 l += cigar[i]>>4;
272                 exstart=c->pos+l;
273                 }
274          }
275 <   GSeg exon(exstart+1,l);
275 >   GSeg exon(exstart+1,c->pos+l);
276     exons.Add(exon);
277     end=c->pos+l;
278   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines