friend1ws / nanomonsv

SV detection tool for nanopore sequence reads
GNU General Public License v3.0
78 stars 12 forks source link

local variable 'is_insert_type' referenced before assignment #47

Closed charliechen912ilovbash closed 11 months ago

charliechen912ilovbash commented 11 months ago

I am using version 0.7.0, the filtering step, I run:

python3  /nanomonsv-0.7.0/nanomonsv/misc/post_filter_by_v0.3.py  tumor.nanomonsv.result.txt.sv_type  tumor.nanomonsv.result.txt.sv_type.filt   GDC-GRCh38_plus_AAV2-autosome-X.fa  --simple_repeat_bed  simpleRepeat.bed.gz

and it came out:

Traceback (most recent call last):
  File "/nanomonsv-0.7.0/nanomonsv/misc/post_filter_by_v0.3.py", line 312, in <module>
    post_filter_main(args)
  File "/nanomonsv-0.7.0/nanomonsv/misc/post_filter_by_v0.3.py", line 263, in post_filter_main
    if is_insert_type:
UnboundLocalError: local variable 'is_insert_type' referenced before assignment
friend1ws commented 11 months ago

Let's merge into simple repeat filtered result is not included in vcf output #48.