Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added interval functionality to LinkPeaks #561

Merged
merged 3 commits into from
Apr 15, 2021
Merged

added interval functionality to LinkPeaks #561

merged 3 commits into from
Apr 15, 2021

Conversation

kmwinkley
Copy link
Contributor

Hi Tim,

I've got another PR here for some added functionality to the LinkPeaks methods. We're in a situation where we'd like to look at potential very long-range enhancers (> 500kb and < 1mb) across the whole genome, but we've already called linked peaks using the default 500 kb distance. We'd like to avoid re-running the peak-gene linkage on all the peaks within 500 kb of the TSS and only search in our defined interval. This commit allows users to specify a minimum distance for the peak from the TSS along with the already included maximum distance from TSS. I think people will potentially find it useful for enhancer searches by allowing them to exclude promoter regions, or to search a defined interval for a specific gene, along with other use cases.

@timoast
Copy link
Collaborator

timoast commented Apr 15, 2021

Thanks for the PR! This is certainly a useful feature, especially to exclude testing gene promoters

@timoast timoast merged commit 553fd89 into stuart-lab:develop Apr 15, 2021
@kmwinkley kmwinkley deleted the develop branch April 28, 2021 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants