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)
- 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
- ERROR: This has possibly been a NUCmer run failure, please investigate ERROR: NoneType: None HOT 3
- Type strain vs X of genomes HOT 1
- ValueError in pyani plot using pyani 0.3.0-alpha
- Pyani not installing through conda HOT 5
- Inquiry on Analysis Duration with ANIb and ANIm for Streptomyces Genomes HOT 4
- Fix alignment coverage >1.0 and aniM symmetrical behaviour HOT 8
- Add separate columns for subject and query alignment lengths in `--run_results` HOT 23
- numpy: No module named 'version' HOT 4
- add `pyani dnadiff` subcommand HOT 5
- Running --graphics after analysis HOT 1
- ZeroDivisionError: float division by zero HOT 3
- Installation issues HOT 3
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.