swalign icon indicating copy to clipboard operation
swalign copied to clipboard

q_pos and r_pos indexing

Open paulaberry opened this issue 3 years ago • 2 comments

The outputs from alignment.dump() indicate a 1-indexed position number for the start and end of the matching region of the query and reference sequence. However, the output from alignment.r_pos and alignment.q_pos are 0-indexed. The output from alignment.r_end and alignment.q_end are the same as in the output from alignment.dum() and so appear to be 1-indexed. Is this expected behavior and output?

paulaberry avatar Mar 10 '21 20:03 paulaberry