Simple Convolutional Neural Network for Genomic Variant Calling with TensorFlow
Jason Chin
4175

I don’t understand why 12 here in utils.py:

cpos = Y_pos[0]
for pos in Y_pos[1:]:
if abs(pos - cpos) < 12:
Y_intitial[pos][7] = 1
Y_intitial[cpos][7] = 1

Y_intitial[pos][4] = 0
Y_intitial[cpos][4] = 0
Y_intitial[pos][5] = 0
Y_intitial[cpos][5] = 0
cpos = pos

I guess you want to exclude everything that is not a simple SNP, but what does it mean if the difference bewteen the first position and next is smaller than 12. Why 12?

Thanks