Comments (9)
I had the same issue and it was solved by changing the delimiter on my data; csv worked great
from cellphonedb.
Hi @Jiam1ng,
Did you fix it? Please, send us the input data if it didn't work.
Best
from cellphonedb.
from cellphonedb.
Hi @Jiam1ng,
Perfect! Thanks for using CellPhoneDB.
Best
from cellphonedb.
I had the same issue and it was solved by changing the delimiter on my data; csv worked great
I met this error and how to change the delimiter of my meta.csv? I rename meta.csv to meta.txt, then it worked.
from cellphonedb.
I have the same issue, I tried both .txt or .csv and it doesn't solve the problem.
Weirdly it works perfectly fine with other dataset that I processed exactly the same way.
Any idea...?
Here is the error:
[ ][CORE][09/04/21-15:33:30][INFO] Launching Method cpdb_statistical_analysis_launcher
[ ][APP][09/04/21-15:33:30][ERROR] Unexpected error
Traceback (most recent call last):
File "/Users/pernillerainer/cpdb/lib/python3.7/site-packages/cellphonedb/src/core/preprocessors/method_preprocessors.py", line 28, in meta_preprocessor
meta = pd.DataFrame(data={'cell_type': meta_raw.iloc[:, 1]})
File "/Users/pernillerainer/cpdb/lib/python3.7/site-packages/pandas/core/indexing.py", line 873, in getitem
return self._getitem_tuple(key)
File "/Users/pernillerainer/cpdb/lib/python3.7/site-packages/pandas/core/indexing.py", line 1443, in _getitem_tuple
self._has_valid_tuple(tup)
File "/Users/pernillerainer/cpdb/lib/python3.7/site-packages/pandas/core/indexing.py", line 702, in _has_valid_tuple
self._validate_key(k, i)
File "/Users/pernillerainer/cpdb/lib/python3.7/site-packages/pandas/core/indexing.py", line 1352, in _validate_key
self._validate_integer(key, axis)
File "/Users/pernillerainer/cpdb/lib/python3.7/site-packages/pandas/core/indexing.py", line 1437, in _validate_integer
raise IndexError("single positional indexer is out-of-bounds")
IndexError: single positional indexer is out-of-bounds
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/pernillerainer/cpdb/lib/python3.7/site-packages/cellphonedb/src/api_endpoints/terminal_api/method_terminal_api_endpoints/method_terminal_commands.py", line 144, in statistical_analysis
subsampler,
File "/Users/pernillerainer/cpdb/lib/python3.7/site-packages/cellphonedb/src/local_launchers/local_method_launcher.py", line 64, in cpdb_statistical_analysis_local_method_launcher
subsampler
File "/Users/pernillerainer/cpdb/lib/python3.7/site-packages/cellphonedb/src/core/methods/method_launcher.py", line 50, in cpdb_statistical_analysis_launcher
meta = method_preprocessors.meta_preprocessor(raw_meta)
File "/Users/pernillerainer/cpdb/lib/python3.7/site-packages/cellphonedb/src/core/preprocessors/method_preprocessors.py", line 35, in meta_preprocessor
raise ProcessMetaException
cellphonedb.src.core.exceptions.ProcessMetaException.ProcessMetaException: Error processing Meta data
Thanks!
Best
from cellphonedb.
Hi @PernilleYR could you please provide:
- the command you used to launch CellphoneDB
- your meta file or a sample of it
Thanks!
from cellphonedb.
Hi @prete,
Thanks for your answer!
Here is a sample of the metadata:
metadata_example.txt
And the command:
cellphonedb method statistical_analysis data/metadata_example.txt data/normdata_EP0.csv --output-path EP0/
I also tried to use a .csv but it also didn't work, even if I tried other datasets and it worked perfectly
Thank you so much for having a look, let me know if you need more info,
Best,
Pernille
from cellphonedb.
I also met this error and checked my files. I found there was a line which not split by a tab.
from cellphonedb.
Related Issues (20)
- Gene format missmatch. HOT 1
- Backwards Interactions HOT 1
- Should we sub-sample cells for cellphoneDB?
- threshold for setting means in mean.txt and significant_means.txt
- dot_plot cant show labels HOT 1
- read count.h5ad error HOT 2
- Error processing Meta data HOT 1
- Dot plot problem: Error in all_pval[match(selected_rows, intr_pairs), selected_columns] HOT 3
- error : ValueError: Columns must be same length as key HOT 6
- mismatch
- Running real time pathway analysis error
- How to order the heatmap plot?
- Can not got a file of "pvalues.txt"
- cell number and molecular interaction
- error in analysis using self database
- pvalue is 1 or 0 HOT 1
- Error when using plot function HOT 5
- Input error cellphonedb statistical analysis HOT 2
- difficulty in generating custom database with protein complex
- Unexpected error after [Clustering Statistical Analysis]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cellphonedb.