Comments (4)
Hello,
thank you for the report, this is indeed a corner case that I did not catch. I will work on a fix and update you on this.
from hapo-g.
Hello and thank you for reporting!
The wait time of 10 seconds is because the number of chunks can be superior to the number of threads so the wrapper script is waiting 10 seconds between each verification to see if it can launch more jobs. 10 seconds is maybe a bit too much, I will lower it and make a release!
from hapo-g.
I just merged some changes into master. If you are not using the conda version, could you please verify that in your particular use-case the issue is indeed fixed? If you are using the conda version, I will make a release so it can be integrated into bioconda instead.
from hapo-g.
Thanks for the fix and sorry for my delayed reply here.
I just patched my existing conda environment with your changes and that fixes the issue for me 🚀
One somewhat irritating thing is that when I compare the behavior of running with --threads 1 vs --threads 2 now on a tiny genome and just a handful of reads, there are striking runtime differences between the two: while the run finishes instantaneously with --threads 2 (each individual step in the pipeline getting reported as taking 0 seconds), the single-threaded run takes reported 10 seconds after "Launching Hapo-G on each chunk". Much more than you'd expect, in particular, because the --threads 2 version only creates a single chunk for my tiny test genome!
Final results are identical though.
Doesn't seem to have anything to do with the original issue here, but could hint at some issue further down the pipeline when running with a single thread?
from hapo-g.
Related Issues (20)
- Conda install fails HOT 3
- Polish before or after Redundans HOT 1
- ModuleNotFoundError HOT 1
- Error with --threads 1 HOT 1
- Minimum coverage for correction? HOT 2
- PackageNotFoundError HOT 4
- How do I get a vcf file? HOT 2
- ERRORs when using newest version on conda HOT 1
- hapog introduce non-codon character in the polished sequence HOT 13
- Question: how HAPO-G handles N in reads? HOT 4
- Question: how about polishing a phased diploid genome assembly? HOT 2
- Memory issue HOT 5
- Explanation of hapog.changes HOT 1
- TypeError issue HOT 12
- long and short reads HOT 1
- Does HAPO-G correct ambiguous bases in fasta
- Plant genome HOT 7
- High RAM consumption in plant genome HOT 10
- Phased assembly polishing
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 hapo-g.