Help for this page
$alignment = $bam->read1() Read one alignment from the BAM file and return it as a Bio::DB::Bam:: +Alignment object.
while (my $align = $bam->read1) { my $seqid = $align->seq_id; ... my $strand = $align->strand; my $ref_dna= $align->dna; }