After making the DB, when the all vs all calculate is launched, it is failing but when we are doing a single pass it runs. observed this multiple times in different machines. Sharing the screen output of the same. No problem with tmp file creation permission error already different programs are able to create tmp folders and files.
[INFO] Running EzAAI extract module
[INFO] EzAAI extract: 57 genomes
[INFO] Using 57 parallel EzAAI jobs
EzAAI extract: 100%|██████████| 57/57 [00:02<00:00, 26.36genome/s]
[INFO] EzAAI DBs created: 57
[INFO] Running EzAAI calculation
[INFO] Running EzAAI calculation
[MAY 21 12:20:15] EzAAI |: EzAAI - v1.2.4 [Jul. 2025]
[MAY 21 12:20:15] WARNING |: Failed to delete file: mm
[MAY 21 12:20:15] WARNING |: Failed to delete file: mm.dbtype
[MAY 21 12:20:15] WARNING |: Failed to delete file: mm.index
[MAY 21 12:20:15] WARNING |: Failed to delete file: mm.lookup
[MAY 21 12:20:15] WARNING |: Failed to delete file: mm.source
[MAY 21 12:20:15] WARNING |: Failed to delete file: mm_h
[MAY 21 12:20:15] WARNING |: Failed to delete file: mm_h.dbtype
[MAY 21 12:20:15] WARNING |: Failed to delete file: mm_h.index
java.io.FileNotFoundException: mm.label (No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.(FileInputStream.java:138)
at java.io.FileInputStream.(FileInputStream.java:93)
at java.io.FileReader.(FileReader.java:58)
at leb.main.EzAAI.runCalculate(EzAAI.java:659)
at leb.main.EzAAI.run(EzAAI.java:892)
at leb.main.EzAAI.main(EzAAI.java:929)
[MAY 21 12:20:15] ERROR |: Program terminated with error.
Traceback (most recent call last):
File "/home/kmurthi/miniforge3/envs/SignatureGeneFinder/share/SignatureGeneFinder/module/preperator.py", line 128, in
main()
File "/home/kmurthi/miniforge3/envs/SignatureGeneFinder/share/SignatureGeneFinder/module/preperator.py", line 44, in main
run_ogri(
File "/home/kmurthi/miniforge3/envs/SignatureGeneFinder/share/SignatureGeneFinder/module/Worker/ogri_calc.py", line 351, in run_ogri
aai_file = run_ezaai_calculate(dirs["ezaai_db"], dirs["raw"], log_file, threads)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kmurthi/miniforge3/envs/SignatureGeneFinder/share/SignatureGeneFinder/module/Worker/ogri_calc.py", line 275, in run_ezaai_calculate
raise RuntimeError("AAI output missing after calculation")
RuntimeError: AAI output missing after calculation
But a 1 vs 1 is being done its calculating perfectly:
kmurthi@genomics:/test_ezaai $ ezaai extract -i genome1.fasta -o db/genome1.db -l genome1 -t 1
[MAY 21 10:44:36] EzAAI |: EzAAI - v1.2.4 [Jul. 2025]
[MAY 21 10:44:36] EzAAI |: Running prodigal on genome genome1.fasta...
[MAY 21 10:45:28] EzAAI |: Converting given CDS file into protein database... (genome1.fasta.faa -> db/genome1.db)
[MAY 21 10:45:28] EzAAI |: Task finished.
kmurthi@genomics:/test_ezaai $ ezaai extract -i genome2.fasta -o db/genome2.db -l genome2 -t 1
[MAY 21 10:46:40] EzAAI |: EzAAI - v1.2.4 [Jul. 2025]
[MAY 21 10:46:40] EzAAI |: Running prodigal on genome genome2.fasta...
[MAY 21 10:47:02] EzAAI |: Converting given CDS file into protein database... (genome2.fasta.faa -> db/genome2.db)
[MAY 21 10:47:02] EzAAI |: Task finished.
kmurthi@genomics:~/test_ezaai $ ezaai calculate
-i db/
-j db/
-o out/aai.tsv
-t 4
[MAY 21 10:47:49] EzAAI |: EzAAI - v1.2.4 [Jul. 2025]
[MAY 21 10:47:49] EzAAI |: Calculating AAI... [Task 1/4]
[MAY 21 10:48:05] EzAAI |: Calculating AAI... [Task 2/4]
[MAY 21 10:48:19] EzAAI |: Calculating AAI... [Task 3/4]
[MAY 21 10:48:33] EzAAI |: Calculating AAI... [Task 4/4]
[MAY 21 10:48:45] EzAAI |: Task finished.
So I guess that the global thing you have been doing is flawed and nneds to be properly engineered with safeguards.
After making the DB, when the all vs all calculate is launched, it is failing but when we are doing a single pass it runs. observed this multiple times in different machines. Sharing the screen output of the same. No problem with tmp file creation permission error already different programs are able to create tmp folders and files.
[INFO] Running EzAAI extract module
[INFO] EzAAI extract: 57 genomes
[INFO] Using 57 parallel EzAAI jobs
EzAAI extract: 100%|██████████| 57/57 [00:02<00:00, 26.36genome/s]
[INFO] EzAAI DBs created: 57
[INFO] Running EzAAI calculation
[INFO] Running EzAAI calculation
[MAY 21 12:20:15] EzAAI |: EzAAI - v1.2.4 [Jul. 2025]
[MAY 21 12:20:15] WARNING |: Failed to delete file: mm
[MAY 21 12:20:15] WARNING |: Failed to delete file: mm.dbtype
[MAY 21 12:20:15] WARNING |: Failed to delete file: mm.index
[MAY 21 12:20:15] WARNING |: Failed to delete file: mm.lookup
[MAY 21 12:20:15] WARNING |: Failed to delete file: mm.source
[MAY 21 12:20:15] WARNING |: Failed to delete file: mm_h
[MAY 21 12:20:15] WARNING |: Failed to delete file: mm_h.dbtype
[MAY 21 12:20:15] WARNING |: Failed to delete file: mm_h.index
java.io.FileNotFoundException: mm.label (No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.(FileInputStream.java:138)
at java.io.FileInputStream.(FileInputStream.java:93)
at java.io.FileReader.(FileReader.java:58)
at leb.main.EzAAI.runCalculate(EzAAI.java:659)
at leb.main.EzAAI.run(EzAAI.java:892)
at leb.main.EzAAI.main(EzAAI.java:929)
[MAY 21 12:20:15] ERROR |: Program terminated with error.
Traceback (most recent call last):
File "/home/kmurthi/miniforge3/envs/SignatureGeneFinder/share/SignatureGeneFinder/module/preperator.py", line 128, in
main()
File "/home/kmurthi/miniforge3/envs/SignatureGeneFinder/share/SignatureGeneFinder/module/preperator.py", line 44, in main
run_ogri(
File "/home/kmurthi/miniforge3/envs/SignatureGeneFinder/share/SignatureGeneFinder/module/Worker/ogri_calc.py", line 351, in run_ogri
aai_file = run_ezaai_calculate(dirs["ezaai_db"], dirs["raw"], log_file, threads)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kmurthi/miniforge3/envs/SignatureGeneFinder/share/SignatureGeneFinder/module/Worker/ogri_calc.py", line 275, in run_ezaai_calculate
raise RuntimeError("AAI output missing after calculation")
RuntimeError: AAI output missing after calculation
But a 1 vs 1 is being done its calculating perfectly:
kmurthi@genomics:
/test_ezaai $ ezaai extract -i genome1.fasta -o db/genome1.db -l genome1 -t 1/test_ezaai $ ezaai extract -i genome2.fasta -o db/genome2.db -l genome2 -t 1[MAY 21 10:44:36] EzAAI |: EzAAI - v1.2.4 [Jul. 2025]
[MAY 21 10:44:36] EzAAI |: Running prodigal on genome genome1.fasta...
[MAY 21 10:45:28] EzAAI |: Converting given CDS file into protein database... (genome1.fasta.faa -> db/genome1.db)
[MAY 21 10:45:28] EzAAI |: Task finished.
kmurthi@genomics:
[MAY 21 10:46:40] EzAAI |: EzAAI - v1.2.4 [Jul. 2025]
[MAY 21 10:46:40] EzAAI |: Running prodigal on genome genome2.fasta...
[MAY 21 10:47:02] EzAAI |: Converting given CDS file into protein database... (genome2.fasta.faa -> db/genome2.db)
[MAY 21 10:47:02] EzAAI |: Task finished.
kmurthi@genomics:~/test_ezaai $ ezaai calculate
-i db/
-j db/
-o out/aai.tsv
-t 4
[MAY 21 10:47:49] EzAAI |: EzAAI - v1.2.4 [Jul. 2025]
[MAY 21 10:47:49] EzAAI |: Calculating AAI... [Task 1/4]
[MAY 21 10:48:05] EzAAI |: Calculating AAI... [Task 2/4]
[MAY 21 10:48:19] EzAAI |: Calculating AAI... [Task 3/4]
[MAY 21 10:48:33] EzAAI |: Calculating AAI... [Task 4/4]
[MAY 21 10:48:45] EzAAI |: Task finished.
So I guess that the global thing you have been doing is flawed and nneds to be properly engineered with safeguards.