Comments (4)
This is actually a bug in rpy2 itself (see conda-forge/rpy2-feedstock#28). Apparently, rpy2 2.9.x does not work with numpy 1.17.
Here are some version numbers that worked in a clean install environment:
scipy-0.19.1
pandas-0.25.2
python-3.6.9
matplotlib-3.1.1
numpy-1.15.4
pysam-0.15.3
from 2020plus.
I was unaware of this problem as continuous integration (CI) hasn't yet indicated this error. My CI testing suggests rpy2 version 2.9.4 should be fine. My guess is that api changes from rpy2 version 2 to version 3 broke the code.
from 2020plus.
Thanks for reply. I install rpy2 v2.9.4, however, there still was something wrong. I used 2020plus v1.2.3. The command line is "python 2020plus.py --out-dir=result_compare classify -f test.features.txt" . The error is as follows:
Running Random forest . . .
AN ERROR HAS OCCURRED: check the log file
Type: <class 'ValueError'>
Exception: Buffer for this type not yet supported.
Traceback:
File "2020plus.py", line 275, in
args.func() # run function corresponding to user's command
File "2020plus.py", line 37, in _classify
src.classify.python.classifier.main(opts) # run code
....
....
The python modules I used were :
numpy==1.17.2
pandas==0.25.2
scipy==1.3.1
scikit-learn==0.19.2
matplotlib==3.1.1
PyYAML==5.1.2
pysam==0.15.3
rpy2==2.9.4
tzlocal==2.0.0
probabilistic2020==1.2.3
snakemake==5.7.4
from 2020plus.
Many thanks! Finally it worked for me. I reinstalled scipy-0.19.1 and numpy-1.15.4.
from 2020plus.
Related Issues (20)
- Error in rule simMaf HOT 16
- Error in rule simFeatures HOT 5
- Error in job simMAf : Called processor error : HOT 7
- Can't open file 'features': [Errno 2] No such file or directory HOT 2
- error while executing 2020plus.py command " python 2020plus.py" HOT 1
- Is grch38 supported? HOT 1
- Error in rule SimSummary: /bin/bash: mut_annotate: command not found HOT 5
- No such file or directory in 'feature file' HOT 10
- Should I train a new model ? HOT 1
- CalledProcessorError in Line 342
- Not enough Mutated Oncogenes or TSGs Found in Your Data HOT 5
- Error in load("data/2020plus_10k.Rdata") : error reading from connection HOT 1
- Errors: libicuuc.so.54 not found HOT 1
- Exception: Error in randomForest.default(m, y, ...) : Bad sampsize specification HOT 11
- Docker image HOT 8
- Regarding input file HOT 2
- pandas.errors.EmptyDataError: No columns to parse from file HOT 5
- OSError: file `data//snvboxGenes.fa` not found HOT 5
- Keep getting error : Error in job simMaf while creating output file HOT 1
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 2020plus.