-
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
ValueError: not enough values to unpack (expected 3, got 2) #273
Comments
Hi @ashwinikumarkulkarni. What version do you have installed? |
Thank you @TomSmithCGAT for your reply! The surprising fact is, same version has worked for data from previous sequencing runs! Thanks! |
@TomSmithCGAT Did you get a chance to find a solution for the error? |
@ashwinikumarkulkarni - Apologies for the delayed reply. I can't reproduce the error and can't find any explanation going back over the relevant code. Would it be possible to share your input (preferably a subset of the data which still yields the same error) |
@TomSmithCGAT, I am getting the same error on an install of umi-tools (UMI-tools version: 0.5.4) on which I've successfully done stuff before. I am going to see if I can subset my data and reproduce the error and send to you. |
Thanks @rebeccagj - I'll look into this now |
It looks like the issue is that the XT tag can contain an empty string. Note this read has been assigned a gene (XS tag)
In Line 155: @IanSudbery - Three options below. My preference is 2. What are your thoughts?
|
I favour skipping them. Perhaps with a warning the first time. |
OK, I've implemented option 2 above, with a warning the first time. @rebeccagj & @ashwinikumarkulkarni - Could you try installing from the {TS}-DebugSkipCountUnassigned branch to confirm that this resolves the issue. @rebeccagj. using the above branch, the following command now works with your data subset. Note the inclusion of the
The end of my
Thanks again for providing the input data so I could reproduce the error. |
@rebeccagj & @ashwinikumarkulkarni - Did either of you have a chance to confirm the branch resolves the issue? |
@TomSmithCGAT I haven't yet, but ought to have some time to do so later this week. So sorry for the delay! |
No need to apologise! I've merged the branch into master now anyway so you can install from the master branch instead. Please re-open the issue if this problem hasn't been resolved |
Hello! I am getting an error while running COUNT command for single cell RNA-seq analysis.
Here is my command:
umi_tools count --per-gene --gene-tag=XT --per-cell --stdin=Input_STAR_Aligned_Assigned_Sorted.bam --stdout=Counts.tsv.gz --log=Counts.log --error=Counts.err --wide-format-cell-counts
Here is the error I get:
Traceback (most recent call last): File "/home2/akulk1/.local/bin/umi_tools", line 11, in <module> sys.exit(main()) File "/home2/akulk1/.local/lib/python3.6/site-packages/umi_tools/umi_tools.py", line 59, in main module.main(sys.argv) File "/home2/akulk1/.local/lib/python3.6/site-packages/umi_tools/count.py", line 155, in main gene, cell, gene_count = line.strip().split("\t") ValueError: not enough values to unpack (expected 3, got 2)
Thank you in advance for the help!
The text was updated successfully, but these errors were encountered: