Skip to content

overlap judgment in bismark_methylation_extractor #779

@bio-Tao

Description

@bio-Tao

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:

Image Image

but LH00524:324:22W7YFLT4:4:2407:14745:7404 : incorrect calculation of overlap led to the loss of this read.
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions