-
Notifications
You must be signed in to change notification settings - Fork 192
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
group with --per-contig
unnecessarily requires gene tags
#568
Comments
I agree. @TomSmithCGAT ? |
Completely agree. From the commits, it looks this code section was not updated when the Thanks very much @mfansler. Do you want to issue a PR so your contribution is properly attributed? |
@TomSmithCGAT sounds good. Yes, happy to put a PR together. |
fixed with #577 |
@akmorrow13 thanks! Lost track of this one 😬 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
--per-contig
flag requires the--per-gene
flag, and if outputting a TSV, ends up in this branch of the code:UMI-tools/umi_tools/group.py
Lines 287 to 291 in a5b3489
This results in an error if there are no gene tags. I believe this is unnecessary because the
--per-contig
flag already entails thatgene
should be equated to thecontig
. Namely, we could instead handle the case like:The text was updated successfully, but these errors were encountered: