Extract start and end positions from a PairwiseAlignment

OK. I wrote the following one-line functions to solve my own problem. Hopefully helpful for others as well:

function GetPairwiseAlignmentSeqStart(aln::PairwiseAlignment)
return aln.a.aln.anchors[1].seqpos + 1
end

function GetPairwiseAlignmentRefStart(aln::PairwiseAlignment)
return aln.a.aln.anchors[1].refpos + 1
end

function GetPairwiseAlignmentSeqEnd(aln::PairwiseAlignment)
return aln.a.aln.anchors[end].seqpos
end

function GetPairwiseAlignmentRefEnd(aln::PairwiseAlignment)
return aln.a.aln.anchors[end].refpos
end