-
Notifications
You must be signed in to change notification settings - Fork 7
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
Other: ValueError: max() arg is an empty sequence #7
Comments
The output means that SEVtras is hard to identify sEVs in your data. But if you really want to characterize potential sEVs, you can try to set the alpha lower, e.g. 0.08. |
I modified the parameters as follows: KeyError Traceback (most recent call last) ~/anaconda3/envs/secret_ev/lib/python3.7/site-packages/pandas/_libs/index.pyx in pandas._libs.index.IndexEngine.get_loc() ~/anaconda3/envs/secret_ev/lib/python3.7/site-packages/pandas/_libs/index.pyx in pandas._libs.index.IndexEngine.get_loc() pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item() pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item() KeyError: 'score' The above exception was the direct cause of the following exception: KeyError Traceback (most recent call last) ~/anaconda3/envs/secret_ev/lib/python3.7/site-packages/SEVtras/main.py in sEV_recognizer(sample_file, out_path, input_path, species, predefine_threads, get_only, score_t, search_UMI, alpha, dir_origin) ~/anaconda3/envs/secret_ev/lib/python3.7/site-packages/pandas/core/frame.py in getitem(self, key) ~/anaconda3/envs/secret_ev/lib/python3.7/site-packages/pandas/core/indexes/base.py in get_loc(self, key, method, tolerance) KeyError: 'score'` |
I think I have the file |
If so, the return |
Thank you for your willingness to help test the data, I've sent you the data number via email. |
Could you please check the input droplet-gene matrix for SEVtras should be the raw data? Herein, the matrix should come from the |
Hi, I'm having the same problem: max() arg is an empty sequence.
SEVtras.sEV_recognizer(sample_file='./sample_file', out_path='./outputs', species='Homo',alpha=0.09, score_t='10')
I've tried to reduce the thresholds, like: alpha=0.09, score_t='10' (I've also tried score_t='1'), but I still get the same error. Additionally I downloaded a portion of the mouse single cell sequencing data from the GEO data and after cellranger processing (default parameters), I get the following: no genes enriched... and sEV is hard to detect.... and KeyError: 'score'. There is also some warning:
/home/fbio/anaconda3/envs/secret_ev/lib/python3.7/site-packages/SEVtras/sc_pp.py:811: ImplicitModificationWarning: Trying to modify attribute .obs of view, initializing view as actual. adata.obs["n_genes"] = number /home/fbio/anaconda3/envs/secret_ev/lib/python3.7/site-packages/scipy/stats/stats.py:4484: SpearmanRConstantInputWarning: An input array is constant; the correlation coefficient is not defined.
The text was updated successfully, but these errors were encountered: