R1 ------>
R2 <------
Corresponding genomic coordinates:
start_R1 < start_R2
Example:
R1 : 100 ------ 250
R2 : 180 <------ 330
In this case:
end_R1 >= start_R2
250 >= 180
overlap = 250-180 = 70
R1 ------>
R2 <------
Example coordinates:
R2 : 100 <------ 250
R1 : 150 ------> 300
In this case:
end_R1 >= start_R2
300 >= 100
This condition is technically true, but the calculated overlap length:
overlap = 300-100 = 200
As a result, the trimming of the R2 methylation string may be incorrect.
Example:
but LH00524:324:22W7YFLT4:4:2407:14745:7404 : incorrect calculation of overlap led to the loss of this read.

R1 ------>
R2 <------
Corresponding genomic coordinates:
start_R1 < start_R2
Example:
R1 : 100 ------ 250
R2 : 180 <------ 330
In this case:
end_R1 >= start_R2
250 >= 180
overlap = 250-180 = 70
R1 ------>
R2 <------
Example coordinates:
R2 : 100 <------ 250
R1 : 150 ------> 300
In this case:
end_R1 >= start_R2
300 >= 100
This condition is technically true, but the calculated overlap length:
overlap = 300-100 = 200
As a result, the trimming of the R2 methylation string may be incorrect.
Example:
but LH00524:324:22W7YFLT4:4:2407:14745:7404 : incorrect calculation of overlap led to the loss of this read.
