Skip to content
This repository was archived by the owner on Aug 22, 2025. It is now read-only.
This repository was archived by the owner on Aug 22, 2025. It is now read-only.

Check chromosome bounds #84

@adthrasher

Description

@adthrasher

pipeline/utils.py

Lines 1041 to 1046 in 8108e90

def makeSearchLocus(locus,upSearch,downSearch):
if locus.sense() == '-':
searchLocus = Locus(locus.chr(),locus.start()-downSearch,locus.end()+upSearch,locus.sense(),locus.ID())
else:
searchLocus = Locus(locus.chr(),locus.start()-upSearch,locus.end()+downSearch,locus.sense(),locus.ID())
return searchLocus

This function should check the chromosome bounds when trying to extend the search locus. Otherwise you get downstream issues such as #83.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions