Input Data


One simple way to obtain gene sets or pathway is through the MSigDB. After registration in here, you can download different gene sets curated by the Broad Institute. Alternatively, you can also generate your own gene sets in the MSigDB format:

[Set A] [Gene 1] [Gene 2] ...
[Set B] [Gene 1] [Gene 2] ...

Sometimes, the MSigDB file might store the URL for the gene set on the second column

[Set A] [url for set A] [Gene 1] [Gene 2] ...

And PRSet can properly handle that.

Gene GTF

As MSigDB file does not contain the genome boundary of the genes within the gene set, one must also provide a GTF file. A GTF file contains the genome boundary of the genetic elements within the human genome and PRSet can use the information from GTF to determine if a SNP falls within a specific gene. One can download the GTF file file Human (Genome build GTCh38.p7)here.

PRSet will look for any regions with feature of exon, gene, protein_coding or CDS (case sensitive). Any genomic regions without these features will be ignored. Alternatively, you can specify the features using the --feature command.


For those who are unfamiliar, different version of the genome might differ slightly in their coordinates. Therefore it is vital to ensure all the files are originated from the same genome build

Bed Files

In addition, PRSet also accept bed file(s) as an input.


A bed file must contain a minimum of 3 columns:

  1. chrom - The name of the chromosome (e.g. chr3, chrY, chr2_random) or scaffold (e.g. scaffold10671).
  2. chromStart - The starting position of the feature in the chromosome or scaffold. The first base in a chromosome is numbered 0.
  3. chromEnd - The ending position of the feature in the chromosome or scaffold. The chromEnd base is not included in the display of the feature. For example, the first 100 bases of a chromosome are defined as chromStart=0, chromEnd=100, and span the bases numbered 0-99.

PRSet will read in any number of bed files (comma separated) and use the file names as the name of the gene set.


An annoying feature of bed file is that it starts with 0 whereas for example, the plink formats starts the coordinates at 1. So do remember to -1 from the region start when you build your own bed file from scratch.

P-value Threshold and Proxy Clumping


Proxy PRSet

One complication in PRSet is the definition of SNP membership. The default option of PRSet is to only include SNPs that are physically within the target region. However, it is also likely for SNPs outside the region to influence functions of the set. Therefore we provide the --proxy option. Essentially, this provide a soft cutoff to SNP membership. For example, when user define --proxy 0.8, if LD between SNP A and SNP B is more than 0.8, then SNP A will be considered to be within the same regions as SNP B and vice versa.

Output Data

PRS model-fit

A file containing the PRS model fit across thresholds is named [Name].[Set].prsice, where [Name] is the output prefix name as specified by --out and [Set] is the name of the gene set; this is stored as

Threshold, R2, P-value, Coefficient, and Number of SNPs at this threshold

Scores for each individual

A file containing PRS for each individual at the best-fit PRS named

[Name].[Set].best is provide. This file has the format of:

FID,IID,PRS at best threshold, Has Phenotype

Where the has phenotype column indicate whether the sample contain all the required phenotype for PRSice analysis (e.g. Samples with missing phenotype/covariate will not be included in the regression. These samples will be indicated as "No" under the has phenotype column)

If --all option is used, a file named

[Name].[Set].all.score is also generated

Please note, if --all options is used, the PRS for each individual at all threshold will be given. In the event where the target sample size is large and a lot of threshold are tested, this file can be large. This is especially true when large number of gene sets were provided.


PRSice also supports multiple phenotypes for target data. For more details on the options used to implement this, see here.

Summary Information

Information of the best model fit of each phenotype and gene set is stored in [Name].summary. The summary file contain the following fields:

  1. Phenotype - Name of Phenotype
  2. Set - Name of Gene Set
  3. Threshold - Best P-value Threshold
  4. PRS.R2 - Variance explained by the PRS. If prevalence is provided, this will be adjusted for ascertainment
  5. Full.R2 - Variance explained by the full model (including the covariates). If prevalence is provided, this will be adjusted for ascertainment
  6. Null.R2 - Variance explained by the covariates. If prevalence is provided, this will be adjusted for ascertainment
  7. Prevalence - Population prevalence as indicated by the user. "-" if not provided.
  8. Coefficient - Regression coefficient of the model. Can provide insight of the direction of effect.
  9. P - P value of the model fit
  10. Num_SNP - Number of SNPs included in the model
  11. Empirical-P - Only provided if permutation is performed. This is the empirical p-value and should account for multiple testing and over-fitting

Multi-Set Plot

When the --multi-plot <N> option is set, the results of the top N gene sets will be plotted. An example of the multi-set plot is:

multo set plot

Other Figures

The default behaviour of PRSet is to only plot the High-resolution plot, bar-plot and the quantile plot for the "Base" data. You can change this behaviour by using the --plot-set option.

Log File

We value reproducible research. Therefore we try our best to make replicating PRSice run easier. For every PRSice run, a log file named [Name].log is generated which contain the all the commands used for the analysis and information regarding filtering, field selected etc.

This also allow users to quickly identify problems in the input dataset.