Skip to content

xpas::load() hangs forever on some databases #8

Description

@blinard-BIOINFO

I observed this weird behaviour a few times when loading tens of thousands of DB for clapas.

  1. xpas v0.3.1
  2. I call xpas::load() on some rps database
  3. it hangs forever, and never finishes to load.
  4. this happens only on the the cluster AND NOT on my local machine (same database file, it loads in 2 seconds).

To reproduce on lamarck :

# load env

conda activate /ngs/linard/conda/
source /ngs/nromashchenko/load_env.sh

# build problematic database

/beegfs/linard/CLAPPAS/clapas_core/lib/xpas/build/xpas-build-aa-pos \
 --merge-branches \
-k 5 -o 5.0 \
--ar-binary "$(which raxml-ng)" \
--refalign /beegfs/linard/CLAPPAS/33208/pruned/3B9RA/Ax/A0_nx0_la.align \
--reftree /beegfs/linard/CLAPPAS/33208/pruned/3B9RA/Tx/T0_nx0_la.tree.raxml.bestTree.rerooted \
--ar-dir /beegfs/linard/CLAPPAS/33208/pruned/3B9RA/Dx/A0_nx0_la/k5_o5.00/AR \
--workdir /beegfs/linard/CLAPPAS/33208/pruned/3B9RA/Dx/A0_nx0_la/k5_o5.00 \
--uncompressed

# compile target xpas_example_stats, then :

xpas_example_stats /beegfs/linard/CLAPPAS/33208/pruned/3B9RA/Dx/A0_nx0_la/k5_o5.00/DB_k5_o5.0.rps

# will hang forever with 100% CPU usage and no RAM increase ... 

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions