GenoCrypt is a method for identifying genetic relatives without compromising privacy by taking advantage of novel cryptographic techniques customized for secure and private comparison of genetic information.

GenoCrypt was created by Dane He, Nicholas A. Furlotte, Farhad Hormozdiari, Jong Wha J. Joo, Akshay Wadia, Rafail Ostrovsky, Amit Sahai, and Eleazar Eskin.

Manual

The full manual will be avaiable soon!

  • Make sure you can indlucde openssl/sha.h

  • Fix the MakeFile to point to the right linked library

  • Run the MakeFile by invoking make

  • You can run the program as ./convertHap2Set -h

  • ./convertHap2Set -i NA06989.in -o NA06989.set 
    
    Where NA06989.in is the sample input haplotype file and the NA06989.set
    is the converted haplotype to set of integers.
    
    *.in file consists of two lines only, for the phased two haplotypes.
    The first column is the name of individual and each row is series of zero 
    and one seperated by space that indicates the phased haplotype
    for each individual. A sample of the file is shown below:
    
    NA06989_A       1 0 0 0 0 0 1 1 0 0 1 0 0 0 0 1 0 0 1 0
    NA06989_B       1 0 0 0 1 1 1 1 1 0 0 0 0 1 0 0 0 0 1 0
    
  • Afte obtaning the set you can run PinSketch or our new Sketch which will be uploaded soon.

  • After downloading the PinSketch or our new sketch, you run the program to genearte the public key which can be shared between individuals.

  • You can use the diff command in PinSketch to check two sets if they are close or not. In our case it will check if the two individuals are related or not.