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

Add some basic stat options: count / sum #44

Closed
af8 opened this issue Jan 31, 2022 · 1 comment
Closed

Add some basic stat options: count / sum #44

af8 opened this issue Jan 31, 2022 · 1 comment

Comments

@af8
Copy link

af8 commented Jan 31, 2022

Hi,

sorry about the multiple issues :-)

I was thinking that it could be useful to have :

  • a count stat that could report the number of bases mapped in each region of the supplied bed file with -r
  • a sum stat (or other name) that reports the total number bases mapped in -r regions. So here the output would be a single number.

An application would be for instance to quickly compute on/off target % for a WES/target experiment.

I do agree that I can post-process the output of d4tools view with R/awk/bedtools but I was thinking that it could be great to have that in the core stat options.

This looks minor though.

Anthony

@arq5x
Copy link
Collaborator

arq5x commented Jul 13, 2022

@38 has added this to the latest release.

@arq5x arq5x closed this as completed Jul 13, 2022
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

No branches or pull requests

2 participants