You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been recently trying to use scaden to recognize cell fractions.
With the newly released Scaden v1.1.2, I tried to run the 'scaden simulate' command but resulted in the same error showing
File "/home/mhagiwara/Programs/anaconda3/envs/scaden/lib/python3.9/site-packages/scaden/simulation/bulk_simulator.py", line 305, in create_subsample
cells_fraction = np.random.randint(0, cells_sub.shape[0], samp_fracs[i])
File "mtrand.pyx", line 747, in numpy.random.mtrand.RandomState.randint
File "_bounded_integers.pyx", line 1254, in numpy.random._bounded_integers._rand_int64
ValueError: low >= high
My command for 'scaden simuate' is:
scaden simulate -n 100 --data ./scanpy --pattern "_counts.txt"
The count data file '_counts.txt' has been generated following the normalization steps of your example in jupyter script, containing 19770 genes (column) and 83085 cells (row). Formatted as follows.
count
celltype
I checked row number & column number in both data.
I suppose something is wrong with the format, but have tried several times and couldn't figure out the reason.
May I have your suggestion on this issue? Thanks a lot!
Masaki
The text was updated successfully, but these errors were encountered:
Hi,
Thanks for your great work on scaden.
I've been recently trying to use scaden to recognize cell fractions.
With the newly released Scaden v1.1.2, I tried to run the 'scaden simulate' command but resulted in the same error showing
File "/home/mhagiwara/Programs/anaconda3/envs/scaden/lib/python3.9/site-packages/scaden/simulation/bulk_simulator.py", line 305, in create_subsample
cells_fraction = np.random.randint(0, cells_sub.shape[0], samp_fracs[i])
File "mtrand.pyx", line 747, in numpy.random.mtrand.RandomState.randint
File "_bounded_integers.pyx", line 1254, in numpy.random._bounded_integers._rand_int64
ValueError: low >= high
My command for 'scaden simuate' is:
scaden simulate -n 100 --data ./scanpy --pattern "_counts.txt"
The count data file '_counts.txt' has been generated following the normalization steps of your example in jupyter script, containing 19770 genes (column) and 83085 cells (row). Formatted as follows.
count
celltype
I checked row number & column number in both data.
I suppose something is wrong with the format, but have tried several times and couldn't figure out the reason.
May I have your suggestion on this issue? Thanks a lot!
Masaki
The text was updated successfully, but these errors were encountered: