Hi Anton, Abdullah and Mikel,
I have just pushed changes to the Github repository that include a new option "-mate1" that, when used with the "-bedpe" option, always reports the first mate as the first block in the BEDPE record. Consider the example below as a demonstration.
$ samtools view -X HG00739.chr20.qrysrt.bam | cut -f 1-9 | less
SRR069529.2276 pPR2 22 37690886 37 35M66S = 37691221 369
SRR069529.2276 pPr1 22 37691221 37 66S35M = 37690886 -369
SRR069529.2371 pPR2 22 43639559 37 29M72S = 43639915 399
SRR069529.2371 pPr1 22 43639915 37 57S44M = 43639559 -399
SRR069529.2406 pPR2 22 35442032 60 35M66S = 35442359 367
SRR069529.2406 pPr1 22 35442359 60 60S41M = 35442032 -367
SRR069529.2994 pPR1 22 23321645 60 46M55S = 23321999 388
SRR069529.2994 pPr2 22 23321999 60 66S35M = 23321645 -388
# NOTE: without using -mate, the first block is always the "leftmost" in the genome
$ bedtools bamtobed -i testingData/HG00739.chr20.qrysrt.bam -bedpe | head -4
22 37690885 37690920 22 37691220 37691255 SRR069529.2276 37 + -
22 43639558 43639587 22 43639914 43639958 SRR069529.2371 37 + -
22 35442031 35442066 22 35442358 35442399 SRR069529.2406 60 + -
22 23321644 23321690 22 23321998 23322033 SRR069529.2994 60 + -
# NOTE: yet while using -mate, the first block is always the first to have been sequenced.
$ bedtools bamtobed -i testingData/HG00739.chr20.qrysrt.bam -bedpe -mate1 | head -4
22 37691220 37691255 22 37690885 37690920 SRR069529.2276 37 - +
22 43639914 43639958 22 43639558 43639587 SRR069529.2371 37 - +
22 35442358 35442399 22 35442031 35442066 SRR069529.2406 60 - +
22 23321644 23321690 22 23321998 23322033 SRR069529.2994 60 + -
Thanks for the reminded and for your patience.