Comments (7)
I'll look into improving the interface with the mash output, as I think this also relates to issue #9 taking up far more memory than necessary
from poppunk.
No problem at all on this one with Mass, Southampton or Nijmegen datasets, but falls over pretty much immediately on Maela:
Traceback (most recent call last):
File "./PopPUNK/poppunk-runner.py", line 9, in
main()
File "/lustre/scratch118/infgen/team81/nc3/strain_structure/comparative_clustering/PopPUNK/PopPUNK/main.py", line 230, in main
sketch_sizes = getSketchSize(ref_db, kmers, args.mash)
File "/lustre/scratch118/infgen/team81/nc3/strain_structure/comparative_clustering/PopPUNK/PopPUNK/mash.py", line 173, in getSketchSize
mash_info.wait(timeout=15)
File "/lustre/scratch118/infgen/team81/nc3/nc3/lib/python3.6/subprocess.py", line 1449, in wait
raise TimeoutExpired(self.args, timeout)
subprocess.TimeoutExpired: Command 'mash info -t ././maela_db/./maela_db.14.msh' timed out after 15 seconds
I need to have a think about this. Reopening as a reminder.
from poppunk.
This is because the mash info
command takes longer than 15s to run?
Perhaps the best thing to do is no longer poll for successful command completion, and instead check whether sketch
was set, and also raise RuntimeError
if more than two lines are read
from poppunk.
I think just removing lines 173-175 of mash.py
would work
from poppunk.
Does that commit work?
from poppunk.
from poppunk.
That seems to do the trick, worked fine.
from poppunk.
Related Issues (20)
- 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
- Cytoscape includes strains from the entire database even with the --include-files option HOT 5
- Input reference list is misformatted HOT 10
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.