Comments (6)
The error may be associated either to BNPY installation or to the runtime creation of the temporary directory used by BNPY. Please answer and check the following debugging list to try to identify the issue:
- Is your version of
bnpy-dev
the most updated in the main branch of this repository https://bitbucket.org/michaelchughes/bnpy-dev/src/master/? - How did you install BNPY? Did you install any of the suggested alternatives described here: https://bitbucket.org/michaelchughes/bnpy-dev/wiki/Installation.md? Also, what is your version of the required numpy and scipy in the current python environment?
- Could you please try to remove ANY FOLDER from the current directory where you are executing the demo? Especially, please make sure to remove
_TMPDIR/
- Do you have permission to create and remove directories in you current running directory?
- Could you please report the value of the variable
${BNPY}
that you appropriately defined in the scriptdemo-WES.sh
?
Thank you
from hatchet.
Thanks for getting back!
It seems to be the most up-to-date
cd /home/sseth/apps/bnpy/github_bnpy-dev
origin https://[email protected]/michaelchughes/bnpy-dev (fetch)
git pull
Already up-to-date.
git branch
* master
I did not install the Fast C++ libraries for HMM inference
numpy 1.15.1 py27h1d66e8a_0
scipy 1.1.0 py27hfa4b5c9_1
I do have write permissions.
BNPY="/home/sseth/apps/bnpy/github_bnpy-dev"
I removed the TMPDIR, and reran, with the same error.
Thanks!
from hatchet.
According to the BNPY documentation (https://bitbucket.org/michaelchughes/bnpy-dev/wiki/Installation.md), BNPY requires numpy (version 1.8 or later)
. As such, we should first try to get the required version of Numpy. If you do not want or cannot change the packages of your current python environment, I recommend to use a virtual python environment, inside which you can install all the required packages with appropriate versions without affecting the default python enviroment. You will simply activate you virtual environment before running any component of HATCHet. There are two options:
virtualenv
, the simplest option (read more at https://virtualenv.pypa.io/en/latest/ or https://docs.python-guide.org/dev/virtualenvs/)Anaconda
, the cleanest option (read more at https://uoa-eresearch.github.io/eresearch-cookbook/recipe/2014/11/20/conda/)
Moreover, as this appears to be a BNPY-specific issue I would suggest the following two things to do:
- Run the few commands suggested at https://bitbucket.org/michaelchughes/bnpy-dev/wiki/Installation.md to make sure everything works
- Try to import
BNPY
in your python environment to make sure it works properly. You can perform this test by using the same python commands used bycluBB
component, i.e.
import os, sys
bnpydir = "/home/sseth/apps/bnpy/github_bnpy-dev/"
tmp = os.path.splitext(output)[0] + "_TMPDIR/"
if os.path.exists(tmp):
shutil.rmtree(tmp)
os.makedirs(tmp)
os.environ["BNPYOUTDIR"] = tmp
sys.path.append(bnpydir)
import bnpy
from hatchet.
thanks for the pointers. Indeed it was an issue with the version of libs. It works well on a new env, with updated libs.
Thanks!
from hatchet.
I was about to raise an issue with bnpy-dev on bitbucket, but realize they have moved to github. Would hatchet move to use the new bnpy version instead?
from hatchet.
Yes, HATCHet is going to support both the versions, both the old one in bitbucket (bnpy-dev
) and the new one (bnpy
) maintained on github.
We are testing to make sure that new version of BNPY is working as expected (we deeply tested the old one), and we will add this feature very soon.
For now I would recommend to keep using the bitbucket version, which is fully compatible.
As such, I close this issue for now but please feel free to re-open it in case of need.
from hatchet.
Related Issues (20)
- Add tests that do not use chr notation
- Redo demos for WES and WGS HOT 1
- Setting tau too low in cluster_bins produces ValueError HOT 1
- Fixed-width bins can produce error in locality clustering HOT 3
- Issue running count_alleles HOT 18
- Can we extract subclonal mutation?
- Issue encountered in demo for the entire HATCHet pipeline HOT 2
- Slowdown in count_reads
- run.py is assuming variables we don't ship by default
- Incomplete normal.1bed and tumor.1bed files in count-alleles HOT 2
- Error during phasing related to picard LiftoverVcf HOT 7
- Error using --chromosomes argument HOT 4
- Error running combined-counts with phased SNPs HOT 7
- Building docker image on m1 macs
- bulk.seg
- Error in installation
- the step "phase_snps" error HOT 3
- solver check FAILED after install Gurobi952 HOT 2
- not support "run"
- Clean up visualization with many clones and many samples
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 hatchet.