Metric learning for comparing genomic data with triplet network