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

Enhancement: Promoters Calculated Don't Overlap with Other Genes #43

Open
DarioS opened this issue Jul 29, 2020 · 3 comments
Open

Enhancement: Promoters Calculated Don't Overlap with Other Genes #43

DarioS opened this issue Jul 29, 2020 · 3 comments

Comments

@DarioS
Copy link

DarioS commented Jul 29, 2020

I am trying to reproduce a published study by reimplementing the algorithm. The algorithm takes 200000 bases, the average length of a Topologically Associated Domain (TAD), upstream of the TSS and downstream of the TES. GenomicRanges has a function named promoters. It would be nice to have a setting such as nonOverlapping = TRUE that would extend the promoter region upstream until it reaches another gene's exon in the GRangesList object or 200000 bases, whichever is lesser.

@m-swirski
Copy link

Hi, it should easily be done by a combination of precede, distance, and promoters functions, as promoters accept full vector of values. If you want I can show you how to get it done. BTW. for processing of granges list I would recommend using ORFik package:
https://github.com/Roleren/ORFik

Genomic Ranges promoters function doesn't retain exon structure.

@DarioS
Copy link
Author

DarioS commented Aug 22, 2020

Thanks. I got it done using promoters and setdiff.

@lshep
Copy link
Contributor

lshep commented Aug 28, 2020

We love pull requests if you have a suggestion.

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

3 participants