Comments (3)
@michaelwoodworth Thanks for your query. We have updated the code with the help of @alienzj that makes installation much easier for everybody including non-computer scientists.
With referencing to your cluster environment, one solution would be to install graphbin as user with pip3 install . --user
. This is possible with our new release. However, if you still cannot install I have 2 workarounds that we use in our cluster NCI Australia.
- Using conda environments.
This way you can install conda to a location on the cluster that you have permission and initialize in bash_rc. Go to Anaconda Website and download the installer. Then run sh ANACONDA_INSTALLER.sh
. Afterwards, you can use conda command from your login node and install dependencies and run GraphBin code without having to run pip install. Make sure you install all dependencies to your conda environment before you run graphbin.
- Using Linux modules and a python path in your project space in the cluster.
However, using conda might not help you in a cluster due to inode limitations. So you can follow the following steps. Assuming you have Linux modules in your cluster. Please run module avail python
to ensure you have a python 3+ version in the cluster to load.
module load python/3.7
pip install -v --no-binary :all: --prefix=/short/your/directory/name .
Most likely when you import the python module pip3 will be aliased to pip in the cluster. This command will install graphbin in path /short/your/directory/name
. Then in your job script please add the following.
module load python/3.7
export PYTHONPATH=$PYTHONPATH:/short/your/directory/name/lib/python3.7/site-packages
export PATH=$PATH:/short/your/directory/name/bin
Then you'll have access to graphbin program. This could be the most desired option considering the nature of file systems in clusters and inode limitation.
Please let us know if there are more issues popping. We are happy to help always.
I hope this helps you with your research work! Cheers. 👍
from graphbin.
mamba install -c conda-forge python-igraph
from graphbin.
Closing this issue after improving the code.
from graphbin.
Related Issues (20)
- Can GraphBin be used with a co-binning approach? HOT 2
- SPAdes-MaxBin2 bins with renamed contigs HOT 2
- About the weights between two contigs HOT 2
- qusetion of score HOT 1
- project refactor to improve portability
- Fix script attributes and update contributors
- Setup test suit
- useful helper function for testing cli apps
- using pytest fixtures for cleaning up test output directories
- Change software license
- Speedup final file write process
- TST: Setup nox testing
- update docs
- BUG: Validate args.paths check for Flye input
- How to run fastg2gfa? HOT 1
- Starting from a failed point
- ENH: Convert to use `click`
- link disappeared HOT 3
- Please depend on 'igraph' instead of 'python-igraph' on PyPI HOT 2
- Running flye assemblies and getting error wanting contigs.paths file for spades
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 graphbin.