Skip to content

ZeroDivisionError: division by zero #2

@KamilSJaron

Description

@KamilSJaron

Hi, I run BWISE (commit cac2d0) with minimal command bwise -x Sm2.trim.norm.180.all.fastq -t 32 and it crushed.

Std out:

2
Reads Correction
Graph construction 0
Read mapping on the graph 0
Graph construction 1
Read mapping on the graph 1
Graph construction 2
Read mapping on the graph 2
Graph construction 3
Read mapping on the graph 3
Graph construction 4
Read mapping on the graph 4
SuperReads Compactions
The end

Error log:

mkdir: cannot create directory `.': File exists
sh: line 1: 74736 Segmentation fault      (core dumped) /scratch/beegfs/monthly/kjaron/src/BWISE/bin/numbersFilter paths 2 2 > cleanedPaths 2>> logs/logBgreat
SR load super reads 
SR add reverse complements 0
sorting 0
remove inclusions 0
Traceback (most recent call last):
  File "/scratch/beegfs/monthly/kjaron/src/BWISE/bin/K2000.py", line 232, in <module>
    main()  
  File "/scratch/beegfs/monthly/kjaron/src/BWISE/bin/K2000.py", line 204, in main
    SR=remove_strict_inclusions(SR)
  File "/scratch/beegfs/monthly/kjaron/src/BWISE/bin/K2000.py", line 72, in remove_strict_inclusions
    sys.stderr.write("Removing inclusions, "+str(checked)+" checked. Size SR "+str(len(SR))+" %.2f"%(100*checked/len(SR))+"%\n")
ZeroDivisionError: division by zero
Print GFA Nodes
        100.00% -- 0 error(s)
Print GFA Edges
        100.00%

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions