griffithlab / pVACtools

http://www.pvactools.org
BSD 3-Clause Clear License
137 stars 59 forks source link

ref-transcript-mismatch-reporter ZeroDivisionError: float division by zero #1025

Closed weilinwu97 closed 11 months ago

weilinwu97 commented 11 months ago

Installation Type

docker

pVACtools Version / Docker Image

griffithlab/vatools:latest

Python Version

No response

Operating System

No response

Describe the bug

2023-07-27T02:16:47.901908883Z Traceback (most recent call last):
2023-07-27T02:16:47.901930024Z   File “/usr/local/bin/ref-transcript-mismatch-reporter”, line 11, in <module>
2023-07-27T02:16:47.901936846Z     sys.exit(main())
2023-07-27T02:16:47.901939332Z   File “/usr/local/lib/python3.6/dist-packages/vatools/ref_transcript_mismatch_reporter.py”, line 215, in main
2023-07-27T02:16:47.901941899Z     “Percentage of processable transcripts with mismatched annotations: {}%\n”.format(round(float(filtered_transcript_count)/float(processable_transcript_count)*100, 2)) +
2023-07-27T02:16:47.901944955Z ZeroDivisionError: float division by zero

How to reproduce this bug

ref-transcript-mismatch-reporter -f hard -o <output_file_name> <input.vcf.gz>

Input files

input.vcf.gz

Log output

see description

Output files

No response

weilinwu97 commented 11 months ago

Sorry, should have created this ticket in the VAtools page.