Kelvin is a program suite for analysis of genetic data. It is based on the PPL framework1, 2, 3, and produces output on the posterior probability (0,..,1) scale.
Kelvin consists of a binary core and Perl front-end combination genetic data analysis program based on the PPL framework, with likelihoods calculated via the Elston-Stewart algorithm4. It is stable software, and has been tested on a number of hardware platforms.
A discussion of the guiding philosophy of Kelvin and details on the underlying statistical methods can be found in the following reference:
Vieland VJ, Huang Y, Seok S-C, Burian J, Catalyurek U, O’Connell J, Segre A, Valentine-Cooper W. KELVIN: a software package for rigorous measurement of statistical evidence in human genetics. Hum Hered 72(4):276-288, 2011. PMID: 22189470, PMC3267994, doi:10.1159/000330634
Details on the usage of Kelvin can be found in our detailed usage documentation; this document provides a general overview and "getting started" information.
Kelvin has been tested and run on several platforms, but the reference and development platform is CentOS 6 (or any other Linux distribution of similar vintage).
To install Kelvin, you will also need a working C compiler (GCC will do and is tested; ICC (the Intel C Compiler) has also been tested). You will also almost certainly want libgsl (the GNU Scientific Library); compiling without GSL is an option but not supported by default. pkg-config is also needed; normally this is included in any install of Linux development tools, but we've seen instances where it wasn't.
Running Kelvin requires libgsl (if compiled with same) and Perl 5.8 (or any later version).
Edit the Makefile as follows:
BINDIR
: This should point to where Kelvin and related modules and utility scripts should be located. The default is /usr/local/share/kelvin
PATHDIR
: This should point to a directory on your $PATH where the Kelvin program will be linked. The default is /usr/local/bin
OWNER
and GROUP
: These should be the owner and group IDs for the Kelvin programs and utility files. The defaults are root
for both.
Run make install
. Kelvin will be built, assembled, and installed in the location you specified in the Makefile.
(optional) Verify the build worked by running make check
(for a quick check) or make test
(for a more involved one).
Uninstallation may be done by running make uninstall
; this simply deletes all files that were installed.
Kelvin requires four input data files, inspired by the de-facto standard formats employed by the LINKAGE program5. Details of the formats can be found in our detailed usage documentation under "Input Data File Formats". Examples are given here showing an affected sib-pair family with three markers:
Pedigree File - This contains phenotypic and genotypic information. This will nearly always be in pre-MAKEPED format. (There are some cases where Kelvin will require post-MAKEPED format).
1 2 3 4 |
|
Locus File (also called Data File) - Describes marker column order in the pedigree file, starting with the position of the trait locus.
1 2 3 4 |
|
Frequency File - Gives the allele frequencies for the markers.
1 2 3 4 5 6 |
|
Map File - Gives the chromosomal position of the markers.
1 2 3 4 |
|
Kelvin also requires a configuration file. Additional details on creation of same can be found in the detailed usage documentation under "Preparation and Analysis Considerations" and the "Configuration File Reference".
Once your configuration file is created, invoke Kelvin as Kelvin <configfile>
.
Kelvin-formatted PPL output can be easily visualized using our graphing application, Kelviz. Kelviz is distributed separately.