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

strand-aware closest #129

Open
gfudenberg opened this issue Nov 7, 2022 · 1 comment
Open

strand-aware closest #129

gfudenberg opened this issue Nov 7, 2022 · 1 comment

Comments

@gfudenberg
Copy link
Member

gfudenberg commented Nov 7, 2022

Example task:

Select CTCF peaks that are upstream of genes (in a strand-aware fashion). These peaks don't necessarily need to be on the same strand as the gene (hence would not be resolved just by adding the on=[] to closest()).

Solving this task currently requires multiple calls to closest.

Potential solutions:

  • a convenience function that makes multiple calls to closest and merges the outputs.
  • passing a column which defines the upstream/downstream relative to the genome. Default is relative to the reference genome (i.e. non-stranded closest).

Questions:

@gfudenberg
Copy link
Member Author

is this issue closed @agalitsyna ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant