Research Article

Secure Testing for Genetic Diseases on Encrypted Genomes with Homomorphic Encryption Scheme

Algorithm 2

Encoding genomic data: dimension optimization.
Input: ,, , .
  ,
, ,
  , , ; , ,
for do
for do
if , , then
, ,
else if , , then
,
else if , , then
else if , , then
break
output , where