Closed ScienceComputing closed 1 year ago
You are using an old version of kb-python (0.27.3 is the current version). I recommend upgrading.
Nonetheless, aside from that, there are a few things that might be useful to help me figure out what's going on:
First, try looking at the json files in your ../result/h5ad/ directory and let me know what you find (e.g. how many reads are getting mapped, how many barcodes are retained, etc.).
Second, make sure your t2g.txt file is correct (i.e. was the same one generated from kb ref when you made the mouse_index.idx file).
Third, you can manually inspect the BUS file which stores the mapped reads information by calling bustools text on it, e.g.
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/kb_python/bins/darwin/bustools/bustools text -p ../result/h5ad/output.unfiltered.bus
And you can see if the records in that file look ok.
You are using an old version of kb-python (0.27.3 is the current version). I recommend upgrading.
Nonetheless, aside from that, there are a few things that might be useful to help me figure out what's going on:
First, try looking at the json files in your ../result/h5ad/ directory and let me know what you find (e.g. how many reads are getting mapped, how many barcodes are retained, etc.).
Second, make sure your t2g.txt file is correct (i.e. was the same one generated from kb ref when you made the mouse_index.idx file).
Third, you can manually inspect the BUS file which stores the mapped reads information by calling bustools text on it, e.g.
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/kb_python/bins/darwin/bustools/bustools text -p ../result/h5ad/output.unfiltered.bus
And you can see if the records in that file look ok.
Greatly appreciate your expertise! I accidentally wiped out the old json files, but after re-downloading the t2g file and rerunning the kb count command, everything goes right with an expected cells_x_genes.mtx. Many thanks for your help.
Describe the issue Greetings! After running the kb count code (see below) in my Jupyter notebook using the python 3.11.1 and kb 0.24.1, the RNA count matrix is unable to be generated. Does someone know how to address this issue? Thanks so much in advance!
What is the exact command that was run?
Command output (with
--verbose
flag)