Questions tagged [pyranges]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
3answers
93 views

Subset GTF file for specific genes

I have a GTF file (in 'test.gtf' file): ...
3
votes
2answers
105 views

Create new range based from existing range (python)

I have a pyranges object that I am looking to iterate over. For each range, I would like to "resize" it to its centre (so start+end/2) and save that into ...
2
votes
2answers
342 views

Efficiently iterate over bed and subset pyranges objects

I am using pyranges and I have two datasets that I want to compare in several genome-wide intervals based on a bed file. For every interval in the bed file, I want to get all overlapping positions ...
0
votes
1answer
51 views

Summing two columns where they share interval overlap

I have two bed files where each column has a numeric score. I want to sum these numbers where there is overlap between the two bed files. How do I do that? Also, I am only interested in the score in ...