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

Counting all tag combinations and reads without tags #14

Open
andreafratton opened this issue May 3, 2024 · 1 comment
Open

Counting all tag combinations and reads without tags #14

andreafratton opened this issue May 3, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@andreafratton
Copy link

Hi, very useful tool!
I would like to count the number of occurrences of all tag combinations despite using --keep-grp to select only certain combinations. Moreover, I wonder whether there is a possibility to add the count of all reads where no tag was identified to the mapping.txt file.

@Yenaled
Copy link
Collaborator

Yenaled commented May 3, 2024

There is no feature to count all tag combinations while using --keep-grp. The only way to do so currently is to rerun the program without --keep-grp to generate a new file. Then, to count reads where no tag was identified, you can take the total number of reads processed and subtract by the sum of the numbers in that new file.

This is one of the cases where the program needs to be run twice to get your desired result (but your second run of the program doesn't need to write any output at least).

It is difficult to write a program that can encompass every single use case with just one run of the program, but I'll leave this issue open as these are things that could be added in a future release.

@Yenaled Yenaled added the enhancement New feature or request label May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants