Comments (3)
Not yet, @ddomman - but it should be a fairly straightforward change. I'll make it in the v0.2
branch, when I do.
FWIW, I think using all the threads available to you is generally a good thing ;)
from pyani.
That should be the appropriate option enabled in the v0.2
branch with commit 5d50a. If this doesn't do the trick, I'll reopen the issue.
To use the new option, add the --workers n
argument to the command-line. This will default to the maximum available number of threads if not specified, and cannot use more than the available number of cores if the specified value is too high. For example:
./average_nucleotide_identity.py -v -f \
-i tests/test_ani_data/ \
-o tests/test_ANIm_output/ \
-g --gformat png,pdf,eps \
--classes tests/test_ani_data/classes.tab --labels tests/test_ani_data/labels.tab \
--workers 1
should use a single core.
from pyani.
Although I specify --workers
, mummer/nucmer is still running on the maximum number of cores. How can I limit the number of cores for nucmer?
from pyani.
Related Issues (20)
- `fastANI` is not listed in the output of `listdeps`
- `pyani download` is blocked if downloaded file cannot be uncompressed. HOT 6
- Which coordinate in the percentage heat map drawn by pyaini is used as a reference HOT 5
- `pyani createdb` fails is databse is not present HOT 1
- Rationalise documentation HOT 2
- ERROR: This has possibly been a NUCmer run failure, please investigate > ERROR: NoneType: None HOT 4
- How do I provide a labels.txt or classes.txt file? HOT 3
- Update v2 distribution on PyPI (and bioconda) HOT 8
- Bug in CircleCI tests for python 3.6: caching issue HOT 4
- Updating `Contributors.md` HOT 3
- `test_cli_parsing()` tests fail when `pytest` is run with no flags HOT 1
- Problem with EASY-INSTALL-ENTRY-SCRIPT for miniconda HOT 1
- Untested code in `fastani.py` HOT 1
- pyani: command not found HOT 1
- Use of `unittest.TestCase` assertion methods provides more informative error messages than `assert` HOT 1
- pyani command not found HOT 1
- `pyani` command not found HOT 1
- Cannot run anim in pyani 0.3.0-alpha using provided data, on macosx 12.6, nucmer fails. HOT 4
- Error "Cannot update because the update target is missing these hooks" when trying to use autoupdate on my repo HOT 1
- sending some love for this script: " genbank_get_genomes_by_taxon.py" 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 pyani.