Skip to content

bdb.BdbQuit Error #33

@palomo11

Description

@palomo11

I am having the following issue

### writing best and last embs to graphmb_bins
Uncaught exception
Traceback (most recent call last):
  File "/work/ese-alexp/software/python/anaconda3/2021.11/envs/graphmb_v025/bin/graphmb", line 8, in <module>
    sys.exit(main())
  File "/work/ese-alexp/software/python/anaconda3/2021.11/envs/graphmb_v025/lib/python3.10/site-packages/graphmb/main.py", line 570, in main
    if args.writebins:
  File "/work/ese-alexp/software/python/anaconda3/2021.11/envs/graphmb_v025/lib/python3.10/site-packages/graphmb/main.py", line 570, in main
    if args.writebins:
  File "/work/ese-alexp/software/python/anaconda3/2021.11/envs/graphmb_v025/lib/python3.10/bdb.py", line 90, in trace_dispatch
    return self.dispatch_line(frame)
  File "/work/ese-alexp/software/python/anaconda3/2021.11/envs/graphmb_v025/lib/python3.10/bdb.py", line 115, in dispatch_line
    if self.quitting: raise BdbQuit
bdb.BdbQuit

This is the command I'm running:

graphmb --assembly ./Sample1_flye_assembly --outdir graphmb_bins --assembly_name Sample1_racon_medaka_polypolish_nextpolish_1000_OK.fasta --markers marker_gene_stats.tsv --graph_file assembly_graph.gfa  --depth Sample1_metabat_depth.txt --contignodes --writebins --numcores 40

This is the log info:

Running GraphMB 0.2.5
using cuda: False
setting seed to 1
Reading cache from
Reading assembly info file
==============Running VAE model=====================
******* Running model: CCVAE **********
***** using edge weights: True ******
***** cluster markers only: False *****
***** self edges only: False *****
***** Using raw kmer+abund features: True
***** SCG neg pairs: (428370, 2)
***** input features dimension: (34354, 111)
>>> Pre train stats: {'precision': 1.0, 'recall': 2.910869185538802e-05, 'f1': 5.8215689128220055e-05, 'ari': 0, 'hq': 15, 'mq': 23, 'n_clusters': 34354, 'unresolved_mags': 128, 'hq_comp': 98.44827586206898, 'hq_cont': 0.3448275862068966, 'unresolved_contigs': 34339, 'unresolved_contigs_with_scgs': 3513}
*** Model input dim 111, GNN input dim 64
use_ae: True, run AE only: False output clustering dim 64
**** initial edges batch size: 256 ****
**** epoch batch size doubles: [25, 75, 150, 300] ****
>>> Last epoch: 20 : {'precision': 1.0, 'recall': 2.910869185538802e-05, 'f1': 5.8215689128220055e-05, 'ari': 0, 'hq': 15, 'mq': 23, 'n_clusters': 34354, 'unresolved_mags': 128, 'hq_comp': 98.44827586206898, 'hq_cont': 0.3448275862068966, 'unresolved_contigs': 34339, 'unresolved_contigs_with_scgs': 3513, 'epoch': 499} <<<
>>> best epoch: 20 : {'precision': 1.0, 'recall': 2.910869185538802e-05, 'f1': 5.8215689128220055e-05, 'ari': 0, 'hq': 15, 'mq': 23, 'n_clusters': 34354, 'unresolved_mags': 128, 'hq_comp': 98.44827586206898, 'hq_cont': 0.3448275862068966, 'unresolved_contigs': 34339, 'unresolved_contigs_with_scgs': 3513} <<<
===================================================
writing features to /data/Sample1_flye_assembly/features.tsv
RUN 0
******* Running model: gcn **********
***** using edge weights: True ******
***** using disconnected: True ******
***** concat features: True *****
***** cluster markers only: False *****
***** threshold adj matrix: False *****
***** self edges only: False *****
***** Using raw kmer+abund features: False
***** SCG neg pairs: (428370, 2)
***** input features dimension: 64
***** Nodes used for clustering: 34354
>>> Pre train stats: {'precision': 1.0, 'recall': 2.910869185538802e-05, 'f1': 5.8215689128220055e-05, 'ari': 0, 'hq': 15, 'mq': 23, 'n_clusters': 34354, 'unresolved_mags': 128, 'hq_comp': 98.44827586206898, 'hq_cont': 0.3448275862068966, 'unresolved_contigs': 34339, 'unresolved_contigs_with_scgs': 3513}
*** Model input dim 64, GNN input dim 64
*** output clustering dim 32
>>> best epoch all contigs: 20 : {'precision': 1.0, 'recall': 2.910869185538802e-05, 'f1': 5.8215689128220055e-05, 'ari': 0, 'hq': 15, 'mq': 23, 'n_clusters': 34354, 'unresolved_mags': 128, 'hq_comp': 98.44827586206898, 'hq_cont': 0.3448275862068966, 'unresolved_contigs': 34339, 'unresolved_contigs_with_scgs': 3513, 'epoch': 499} <<<
>>> best epoch: 20 : {'precision': 1.0, 'recall': 2.910869185538802e-05, 'f1': 5.8215689128220055e-05, 'ari': 0, 'hq': 15, 'mq': 23, 'n_clusters': 34354, 'unresolved_mags': 128, 'hq_comp': 98.44827586206898, 'hq_cont': 0.3448275862068966, 'unresolved_contigs': 34339, 'unresolved_contigs_with_scgs': 3513, 'epoch': 59} <<<
### writing best and last embs to graphmb_bins
Uncaught exception
Traceback (most recent call last):
  File "/work/ese-alexp/software/python/anaconda3/2021.11/envs/graphmb_v025/bin/graphmb", line 8, in <module>
    sys.exit(main())
  File "/work/ese-alexp/software/python/anaconda3/2021.11/envs/graphmb_v025/lib/python3.10/site-packages/graphmb/main.py", line 570, in main
    if args.writebins:
  File "/work/ese-alexp/software/python/anaconda3/2021.11/envs/graphmb_v025/lib/python3.10/site-packages/graphmb/main.py", line 570, in main
    if args.writebins:
  File "/work/ese-alexp/software/python/anaconda3/2021.11/envs/graphmb_v025/lib/python3.10/bdb.py", line 90, in trace_dispatch
    return self.dispatch_line(frame)
  File "/work/ese-alexp/software/python/anaconda3/2021.11/envs/graphmb_v025/lib/python3.10/bdb.py", line 115, in dispatch_line
    if self.quitting: raise BdbQuit
bdb.BdbQuit

Metadata

Metadata

Assignees

No one assigned

    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