Overview
Genetic Counseling is a component of the umbrella OpenMendel project. This analysis option computes risks to individuals in pedigrees segregating Mendelian diseases. As a conditional probability, a genetic risk involves two likelihoods, a numerator likelihood with the riskee having an disease genotype or phenotype at the disease locus and a denominator likelihood with the riskee having an unknown or non-specific phenotype at the disease locus.
Appropriate Problems and Data Sets
Genetic Counseling will handle fairly complicated problems involving mutation, reduced penetrance, and linked markers. Genetic Counseling does not provide empiric risks or theoretical risks under models for genetic heterogeneity or polygenic inheritance. Currently, complicating features such as age of onset, mutation, linked markers, and biochemical tests are not supported. They will be in the future. In the meantime, interested users are encouraged to try the genetic counseling option of Mendel v16.0 - an executable only free software package available at software.genetics.ucla.edu.
Installation
Note: The three OpenMendel packages (1) SnpArrays, (2) MendelSearch, and (3) MendelBase must be installed before any other OpenMendel package will run. It is easiest if these three packages are installed in the above order and before any other OpenMendel package.
Within Julia, use the package manager to install MendelGeneticCounseling:
pkg> add https://github.com/OpenMendel/MendelGeneticCounseling.jl.git
This package supports Julia v1.0+
Input Files
The Genetic Counseling analysis package uses the following input files. Example input files can be found in the data subfolder of the Genetic Counseling project. (An analysis won’t always need every file type below.)
- Control File: Specifies the names of your data input and output files and any optional parameters (keywords) for the analysis. (For a list of common keywords, see Keywords Table).
- Locus File: Names and describes the genetic loci in your data.
- Pedigree File: Gives information about your individuals, such as name, sex, family structure, and ancestry.
- Phenotype File: Lists the available phenotypes.
- SNP Definition File: Defines your SNPs with information such as SNP name, chromosome, position, allele names, allele frequencies.
- SNP Data File: Holds the genotypes for your data set. Must be a standard binary PLINK BED file in SNP major format. If you have a SNP data file you must have a SNP definition file.
Control file
The Control file is a text file consisting of keywords and their assigned values. The format of the Control file is:
Keyword = Keyword_Value(s)
Below is an example of a simple Control file to run Genetic Counseling:
#
# Input and Output files.
#
locus_file = genetic counseling 2 LocusFrame.txt
pedigree_file = genetic counseling 2 PedigreeFrame.txt
phenotype_file = genetic counseling 2 PhenotypeFrame.txt
output_file = genetic counseling 2 Output.txt
#
# Analysis parameters for Genetic Counseling option.
#
eliminate_genotypes = false
lump_alleles = false
In the example above, there are six keywords. The first four keywords specify input and output files: genetic counseling 2 LocusFrame.txt, genetic counseling 2 PedigreeFrame.txt, genetic counseling 2 PhenotypeFrame.txt, and genetic counseling 2 Output.txt. The last two keywords specify analysis parameters: eliminate_genotypes and lump_alleles. The text after the ‘=’ are the keyword values. A list of OpenMendel keywords common to most analysis package can be found here. The names of keywords are not case sensitive. (The keyword values may be case sensitive.)
Data Files
Genetic Counseling requires a Control file, and a Pedigree file. Genotype data can be included in the Pedigree file, in which case a Locus file is required. Alternatively, genotype data can be provided in a SNP data file, in which case a SNP Definition File is required. OpenMendel will also accept PLINK format FAM and BIM files. Details on the format and contents of the Control and data files can be found on the MendelBase documentation page. There are example data files in the Genetic Counseling data folder.
Running the Analysis
To run this analysis package, first launch Julia. Then load the package with the command:
julia> using MendelGeneticCounseling
Next, if necessary, change to the directory containing your files, for example,
julia> cd("~/path/to/data/files/")
Finally, to run the analysis using the parameters in your Control file, for example, Control_file.txt, use the command:
julia> GeneticCounseling("Control_file.txt")
Note: The package is called MendelGeneticCounseling but the analysis function is called simply GeneticCounseling.
Citation
If you use this analysis package in your research, please cite the following reference in the resulting publications:
OPENMENDEL: a cooperative programming project for statistical genetics. Zhou H, Sinsheimer JS, Bates DM, Chu BB, German CA, Ji SS, Keys KL, Kim J, Ko S, Mosher GD, Papp JC, Sobel EM, Zhai J, Zhou JJ, Lange K. Hum Genet. 2019 Mar 26. doi: 10.1007/s00439-019-02001-z. [Epub ahead of print] PMID: 30915546
Acknowledgments
This project is supported by the National Institutes of Health under NIGMS awards R01GM053275 and R25GM103774 and NHGRI award R01HG006139.