plyranges icon indicating copy to clipboard operation
plyranges copied to clipboard

Target GPos when computing coverage

Open lawremi opened this issue 5 years ago • 1 comments

It's common to want base-level (not run level) coverage from a GRanges object. It could be stored in a GPos, which behaves just like a GRanges, except there is a feature per base. Maybe the function could be named compute_baselevel_coverage()?

lawremi avatar Jul 05 '19 16:07 lawremi

Sorry for taking so long to respond to this - I was keen to use GPos for some other analyses I was doing but found that large genomes were problematic so you couldn't have long-form tables that plyranges expects. I guess your proposed function could throw an error in this case?

sa-lee avatar Aug 27 '19 04:08 sa-lee