Comments (9)
PS: I have just ran a single comparison and it worked:
fastANI -q ../genomes/IN_Mac8_MAG01.fa \ -r ../genomes/GCA_000582685.fa \ -o fastani.out \ -t 4 \ --matrix
from fastani.
From the log, it seems like the last comparison finished, and it might be stuck while writing the output to file. It would be worth trying with lower genome count and checking that there is no issue with disk I/O.
from fastani.
Hi,
I'm running v1.1 and running into the same issues:
$ fastANI --ql all_good_genomes --rl all_good_genomes -o all_good_genomesVall_good_genomes.fastani -t 36
...
INFO [thread 0], skch::main, Time spent mapping fragments in query #1593 : 0.700507 sec
INFO [thread 0], skch::main, Time spent post mapping : 9.1878e-05 sec
INFO [thread 0], skch::main, Time spent mapping fragments in query #1594 : 0.714483 sec
INFO [thread 0], skch::main, Time spent post mapping : 0.000104341 sec
There's 1594 genomes in the list, and it has been sitting like that (using ~900% CPU on top) for >12 hours. This doesn't seem like an IO issue to me.
When I attached strace to it while it is stalled I see this
Process 128989 attached - interrupt to quit
futex(0xc9c744, FUTEX_WAIT_PRIVATE, 0, NULL
Maybe this is a multithreading issue? I'll try again without specifying -t
.
from fastani.
Running it again without -t finished without issue in an hour or two.
Then ran the same command as above and it never finished - it is using 1300% on top after running overnight, and is stuck on the last query as before.
So, this seems like a multithreading-related issue to me.
from fastani.
This is useful to know. I'll take a look at the code again.
If you don't mind, can you give me more information about the C++ compiler and OS you are using..
Did you download the executable or compile from source?
from fastani.
Thanks - the executable is the same as the downloaded version, and has the same md5sum. Sorry, that was a long way of saying it is the downloaded (Linux) version.
from fastani.
I've made a few minor changes, mainly to add more print statements to see the status of each thread. If you get a chance, can you try cloning the latest source code, compile and run.
If it still fails, please share the output/error logs with me.
from fastani.
Hi!
I ran into the same problem using multiple threads. The program runs and then hangs in:
INFO [thread 0], skch::main, ready to exit the loop
INFO [thread 7], skch::main, ready to exit the loop
INFO [thread 3], skch::main, ready to exit the loop
INFO [thread 6], skch::main, ready to exit the loop
INFO [thread 2], skch::main, ready to exit the loop
INFO [thread 1], skch::main, ready to exit the loop
Running with just one thread finishes the job.
from fastani.
This should be resolved with recent releases, please create a new issue if not.
from fastani.
Related Issues (20)
- Share workflow for visualizing FastANI results HOT 16
- FastANI 1.33 using more threads than allocated HOT 3
- 11
- Clustering HOT 1
- No results in output directory? HOT 3
- Error in number of mapped fragments HOT 1
- FastANI output and matrix values do not match? HOT 1
- minimizer/kmer string compression HOT 5
- #query# fastANI HOT 4
- Gets the sequence of corresponding positions in --visualize output
- Can fastANI calculate a standard desviation for each ani value?
- Problem with M1 chip installation HOT 3
- Could not open
- The genome reference limit. HOT 1
- Threads not being utilised? HOT 4
- --minFrag HOT 1
- libgsl.so.25 potential issue HOT 7
- Column labels of the visual output HOT 2
- Error when running Rscript HOT 1
- issues with reference list file
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 fastani.