Comments (5)
Great, I've started a run with a manual parameter set - would be worth checking a start_s parameter has been provided there, some idiot might only provide coordinates of means and get confused by the error messages...
from poppunk.
I suspect this a limitation of the HDBSCAN code when there are a large number of samples and using multiprocessing, based on reading this:
https://stackoverflow.com/questions/47776486/python-struct-error-i-format-requires-2147483648-number-2147483647
Was this with the default 10^5 subsamples? Perhaps DBSCAN can also give a good fit with fewer samples than this?
It might be the case that the core_dist_n_jobs
doesn't give much of a speedup (not sure how much of the algorithm is spent on this step), in which case we should just remove it.
from poppunk.
Yes, this was run with the default number of samples. The issue you point out seems pretty fundamental - we could keep the caching for single threaded applications, and turn it off for multi-threading - might be worth profiling whether there is any benefit for using multiple threads in the latter case.
from poppunk.
Using the E. coli dataset (1509 strains, fitting 10^5 points) took 6min 29s, on either 1 or 4 threads. I would suggest just removing the multithreading based on this.
Or was this an issue specifically when the cache is used, and multiple iterations of HDBSCAN are run?
from poppunk.
Also this made me spot an issue with ref clustering not printing that I just fixed in 3c62546
which is worth pulling
from poppunk.
Related Issues (20)
- Retreive source sequences from a database HOT 1
- --write-references option when running PopPUNK assign HOT 2
- visualize only query? HOT 1
- [database] A double-checked database of Neisseria meningitidis HOT 8
- Incorrect merge reporting from novel queries step HOT 1
- databases: reference only vs all genomes HOT 1
- IndexError: list index out of range (running current `master` branch) when running `poppunk_assign` HOT 25
- Add tutorial to documentation
- Update H. flu database to new sklearn version HOT 2
- ImportError: dlopen: cannot load any more object with static TLS HOT 4
- Sketchlib back end not available? HOT 8
- extract genome assemblies from database HOT 1
- What to expect for a sample that may have a mixture of two or more strains HOT 2
- PackagesNotFoundError HOT 2
- Generating jaccard distances per kmer HOT 3
- Enhancement: Assigning multiple GPSC types to mixed (meta-genome) samples HOT 2
- Zero Accessory Distances and Varied Core Distances in PopPUNK Fit Graph Analysis HOT 8
- Issue with a large Pseudomonas dataset HOT 4
- Listeria monocytogenes database is missing graph file. HOT 7
- Unable to create the group "/sketches/": (Links) Object already exists 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 poppunk.