davidebolo1993 / VISOR

VarIant SimulatOR for short, long and linked reads
GNU Lesser General Public License v3.0
41 stars 11 forks source link

Inaccurate error message #31

Closed LYC-vio closed 9 months ago

LYC-vio commented 1 year ago

The line index in the error message outputted by VISOR did not correspond to the actual line in the bed file: eg: Line 227: column 5 (variant information) breakpoint coordinate lies outside chromosome (greater than chromosome end) how ever, the actual line that cause the problem was line 139

this may caused by line 347 in HACk.py

bedsrtd=bedfile.sort()

VISOR is outputting the line index of sorted bed file in the error message instead of the real line index of the inout bed file

davidebolo1993 commented 1 year ago

Hey, @LYC-vio,

thanks, this is true indeed. I'll come back with a fix as soon as I have time.

Best,

Davide