This repository contains all the code that was written while we produce the following two papers:
 Z. Huang, E. Ayday, J. Fellay, J.-P. Hubaux and A. Juels, "GenoGuard: Protecting Genomic Data against Brute-Force Attacks," 36th IEEE Symposium on Security and Privacy (S&P 2015), San Jose, CA, USA, 2015.
 S. Samani, Z. Huang, E. Ayday, M. Elliot, J. Fellay, J.-P. Hubaux, and Z. Kutalik, "Quantifying Genomic Privacy via Inference Attack with High-Order SNV Correlations," in 2nd International Workshop on Genome Privacy and Security (in conjunction with IEEE S&P; 2015), 2015.
This repository contains a small dataset (part of chromosome 22) in ./genoguard/hapmap/chr22 for you to run the code successfully.
The data is produced from the Hapmap dataset. We apply handy pre-processing steps (in the two files
dat.dataConverter) to transform the original Hapmap data into more simplified formats, so that it is convenient for us to use.
More explanation about the format can be found in the code.
To test GenoGuard on encrypting and decrypting a genome sequence, simply run the python code
honey_encryption/GenoGuard.py, which is the implementation of honey encryption with the proposed DTE models on genomic data:
Inference of hidden SNVs
The pipeline for our experiment of inference attack is described as follows.
To produce data with hidden SNVs, run the function
hideSNVs in the code
To predict the hidden SNVs with the recombination model, run the code
Of course, you can predict the hidden SNVs with other models, which is a simple extension I have not implemented in the current version. But you can find instructions on how to do this in
Zhicong Huang (email@example.com)