Comments (5)
We have hit the exact same issue now and can't easily run CheckM2 for this reason.
Our current workaround is that each individual user in our cluster downloads and installs CheckM2 independently, but that's not a great solution.
from checkm2.
I apparently missed that the path can be set by setting the environmental variable CHECKM2DB using:
export CHECKM2DB="path/to/database"
from checkm2.
Thanks, I've added a description of CHECKM2DB variable. Release 1.0.1 now also has a --database_path
option for checkm2 predict
.
from checkm2.
Ehy @chklovski and @dparks1134 ,
This looks like it is the same issue from Checkm1 (see Ecogenomics/CheckM#326) which has a simple fix: allow to save the configuration file somewhere else.
I believe something like this should do the trick (with an extra CLI flag to get the config path):
CheckM2/checkm2/defaultValues.py
Lines 5 to 9 in e563159
class DefaultValues():
"""Default values for filenames and common constants."""
def __init__(self, default_dir=None):
if default_dir:
self.default_dir = default_dir
else:
self.default_dir = os.path.dirname(__file__)
DATA_PATH = os.path.join(self.default_dir , 'data')
MODEL_PATH = os.path.join(self.default_dir , 'models')
VERSION_PATH = os.path.join(self.default_dir , 'version')
from checkm2.
I apparently missed that the path can be set by setting the environmental variable CHECKM2DB using:
export CHECKM2DB="path/to/database"
It would be very helpful to add this info to https://github.com/chklovski/CheckM2#database
Better yet: adding --database-path
to checkm2 predict
would be awesome
from checkm2.
Related Issues (20)
- Cannot install ChekM2 HOT 1
- Question about Checkm2 Annotation HOT 1
- Checkm2 flags certain species and genera as contaminated on a consistent basis.
- the version checkm2 v1.0.2 was not available on conda HOT 1
- Error in DIAMOND execution HOT 2
- [Feature Request] Use #!/usr/bin/env python instead of hardcoding python path
- AttributeError: 'Predictor' object has no attribute '__set_up_prodigal_thread' HOT 2
- Random errors on clusters HOT 3
- Database update? HOT 2
- TypeError: metaclass conflict HOT 7
- coding density
- Can Checkm2 be fine-tuned for euMAGs? HOT 1
- Got different results of the same genome from the different runs of checkm2 HOT 3
- testrun error: AttributeError: module '__main__' has no attribute '__spec__'
- Testrun ERROR: No DIAMOND annotation was generated. HOT 2
- test run yields different results HOT 1
- Database download failed HOT 3
- Naming Output TSV File
- TypeError: split() error
- AF_UNIX path too long HOT 2
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 checkm2.