parklab / HiNT

HiC for copy Number variation and Translocation detection
MIT License
35 stars 8 forks source link

A bug like code injection if prefix name contains underline #3

Open omegahh opened 4 years ago

omegahh commented 4 years ago

for example, if we use -n HiC_K562 as prefix name. The string parsers may get wrong results. like

chrompair = paste(strsplit(matrix,'_')[[1]][2],strsplit(matrix,'_')[[1]][3],sep="_")

in externalScripts/getBreakPoints2steps.R

lucananni93 commented 2 years ago

Same problem detected also by me!