LDpred-2-Lassosum#

In this notebook, we will use LDpred-2-Lassosum to calculate the Polygenic Risk Score (PRS).

Note: LDpred-2 needs to be installed using R. Note: This is the same as Lassosum, but the implemenetation is different.

We will use the same flow of the code, and when we have to invoke LDpred-2 functions, we will call the script using Python. When LDpred-2 finishes executions, results will be stored in the specific directories for each fold and will be retrieved in Python for further calculations.

Install LDpred-2#

Install LDpred-2 using the following commands:

  1. Activate the conda Environment.

  2. Type R

  3. Run the following commands:

install.packages("remotes")
library(remotes)
remotes::install_github("https://github.com/privefl/bigsnpr.git")

The content in this notebook has been taken from the PRS Tutorial, LDpred-2 Documentation, and Polygenic Scores (PGS).

Thanks to Florian Privé for creating one of the best documentations explaining each aspect of the calculation. We will be using LDpred-2 for cross-validation design and hyper-parameter optimization, and this tutorial complements the existing one.

LDpred-2 Hyperparameters#

Hyperparameters for LDpred-2#

Heritability#

To calculate h2 using LDpred-2, we followed the LDpred-2 tutorial. The code for this part is in R, as LDpred-2 is in R.

  1. Using SNPs from the HapMap as preferred by the authors. The name in the code is LDpred-2_hapmap.

  2. Using all the SNPs. The name in the code is LDpred-2_full.

This approach is computationally expensive, as the correlation between all the SNPs in a specific chromosome is being calculated.

LDpred-2 Models#

Each model has its own set of hyperparameters, so first, we will generate those hyperparameters for those models and call them when invoking LDpred-2.

Use the following R code to know more about the hyperparameters:

  • help(snp_ldpred2_inf)

  • help(snp_ldpred2_grid)

  • help(snp_ldpred2_auto)

  • help(snp_lassosum2)

1. LDpred2-inf: Infinitesimal Model#

No Hyperparameters

2. LDpred2(-grid): Grid of Models#

Each model has its own set of parameters:

  • burn_in = 100

  • num_iter = 10

  • p = c(1e-4, 1e-5)

  • h2 = c(0.1, 0.2)

  • sparse = c(FALSE, TRUE)

3. LDpred2-auto: Automatic Model#

  • burn_in = 100

  • num_iter = 100

  • sparse = c(FALSE, TRUE)

  • alpha_bounds = c(1, 0.5)

  • use_MLE = c(FALSE, TRUE)

  • p = c(1e-4, 1e-5)

  • shrink_corr = 0.7

  • allow_jump_sign = c(FALSE, TRUE)

4. lassosum2: Grid of Models#

  • lambda = c(0.001, 0.01, 0.1, 1)

  • delta = 30

We will execute the code for each mkodel seperatly.

GWAS file processing for LDpred-2.#

LDpred-2 accepts betas so we converted OR to betas.

import os
import pandas as pd
import numpy as np

import os
import pandas as pd
import numpy as np

def check_phenotype_is_binary_or_continous(filedirec):
    # Read the processed quality controlled file for a phenotype
    df = pd.read_csv(filedirec+os.sep+filedirec+'_QC.fam',sep="\s+",header=None)
    column_values = df[5].unique()
 
    if len(set(column_values)) == 2:
        return "Binary"
    else:
        return "Continous"

    
#filedirec = sys.argv[1]

filedirec = "SampleData1"
#filedirec = "asthma_19"
#filedirec = "migraine_0"




# Read the GWAS file.
GWAS = filedirec + os.sep + filedirec+".gz"
df = pd.read_csv(GWAS,compression= "gzip",sep="\s+")


# We will save the new GWAS file containing only the betas, # LDpred-2 requires betas for calculation
# which is further used to calculate the new Betas.


if "BETA" in df.columns.to_list():
    # For Continous Phenotype.
    df = df[['CHR', 'BP', 'SNP', 'A1', 'A2', 'N', 'SE', 'P', 'BETA', 'INFO', 'MAF']]

else:
    df["BETA"] = np.log(df["OR"])
    df = df[['CHR', 'BP', 'SNP', 'A1', 'A2', 'N', 'SE', 'P', 'BETA', 'INFO', 'MAF']]

df.to_csv(filedirec + os.sep +filedirec+".txt",sep="\t",index=False)
print(df.head().to_markdown())
print("Length of DataFrame!",len(df))

 
|    |   CHR |     BP | SNP        | A1   | A2   |      N |         SE |        P |        BETA |     INFO |      MAF |
|---:|------:|-------:|:-----------|:-----|:-----|-------:|-----------:|---------:|------------:|---------:|---------:|
|  0 |     1 | 756604 | rs3131962  | A    | G    | 388028 | 0.00301666 | 0.483171 | -0.00211532 | 0.890558 | 0.36939  |
|  1 |     1 | 768448 | rs12562034 | A    | G    | 388028 | 0.00329472 | 0.834808 |  0.00068708 | 0.895894 | 0.336846 |
|  2 |     1 | 779322 | rs4040617  | G    | A    | 388028 | 0.00303344 | 0.42897  | -0.00239932 | 0.897508 | 0.377368 |
|  3 |     1 | 801536 | rs79373928 | G    | T    | 388028 | 0.00841324 | 0.808999 |  0.00203363 | 0.908963 | 0.483212 |
|  4 |     1 | 808631 | rs11240779 | G    | A    | 388028 | 0.00242821 | 0.590265 |  0.00130747 | 0.893213 | 0.45041  |
Length of DataFrame! 499617

Define Hyperparameters#

Define hyperparameters to be optimized and set initial values.

Extract Valid SNPs from Clumped File#

For Windows, download gwak, and for Linux, the awk command is sufficient. For Windows, GWAK is required. You can download it from here. Get it and place it in the same directory.

Execution Path#

At this stage, we have the genotype training data newtrainfilename = "train_data.QC" and genotype test data newtestfilename = "test_data.QC".

We modified the following variables:

  1. filedirec = "SampleData1" or filedirec = sys.argv[1]

  2. foldnumber = "0" or foldnumber = sys.argv[2] for HPC.

Only these two variables can be modified to execute the code for specific data and specific folds. Though the code can be executed separately for each fold on HPC and separately for each dataset, it is recommended to execute it for multiple diseases and one fold at a time. Here’s the corrected text in Markdown format:

P-values#

PRS calculation relies on P-values. SNPs with low P-values, indicating a high degree of association with a specific trait, are considered for calculation.

You can modify the code below to consider a specific set of P-values and save the file in the same format.

We considered the following parameters:

  • Minimum P-value: 1e-10

  • Maximum P-value: 1.0

  • Minimum exponent: 10 (Minimum P-value in exponent)

  • Number of intervals: 100 (Number of intervals to be considered)

The code generates an array of logarithmically spaced P-values:

import numpy as np
import os

minimumpvalue = 10  # Minimum exponent for P-values
numberofintervals = 100  # Number of intervals to be considered

allpvalues = np.logspace(-minimumpvalue, 0, numberofintervals, endpoint=True)  # Generating an array of logarithmically spaced P-values

print("Minimum P-value:", allpvalues[0])
print("Maximum P-value:", allpvalues[-1])

count = 1
with open(os.path.join(folddirec, 'range_list'), 'w') as file:
    for value in allpvalues:
        file.write(f'pv_{value} 0 {value}\n')  # Writing range information to the 'range_list' file
        count += 1

pvaluefile = os.path.join(folddirec, 'range_list')

In this code:

  • minimumpvalue defines the minimum exponent for P-values.

  • numberofintervals specifies how many intervals to consider.

  • allpvalues generates an array of P-values spaced logarithmically.

  • The script writes these P-values to a file named range_list in the specified directory.

1. LDpred-2-Lassosum#

The following file contains the R code required to execute the code in this notebook.

args <- commandArgs(trailingOnly = TRUE)
print(args)
# Argument Descriptions

#1. Argument one is the directory. Example: `SampleData1`
#2. Argument two is the file name. Example: `SampleData1\\Fold_0`
#3. Argument three is the output file name. Example: `train_data`
#4. Argument four is the specific function to be called. Example: `train_data.QC.clumped.pruned`

#5. Argument five is LDpred-2 option. Example: `LDpred-2_full` or `LDpred-2_hapmap`
#6. Argument six is the size parameter. Example: `200`
#7. Argument seven is the alpha parameter. Example: `1`
#8. Argument eight is the thr_r2 parameter. Example: `0.1`
#9. Argument nine is the number of PCA. Example: `6`



if (args[5]=="1"){
  cran_mirror_url <- "https://cran.r-project.org"
  install.packages("remotes", repos = cran_mirror_url)
  library(remotes)
  #remotes::install_github("https://github.com/privefl/bigsnpr.git")
  library(bigsnpr)
  options(bigstatsr.check.parallel.blas = FALSE)
  options(default.nproc.blas = NULL)
  library(data.table)
  library(magrittr)
  info <- readRDS(runonce::download_file(
    "https://ndownloader.figshare.com/files/25503788",
    fname = "map_hm3_ldpred2.rds"))
  
  library(bigsnpr)
  options(bigstatsr.check.parallel.blas = FALSE)
  options(default.nproc.blas = NULL)
  library(data.table)
  library(magrittr)
  help(snp_cor)
}

if (args[5]=="2"){
  
  library(bigsnpr)
  options(bigstatsr.check.parallel.blas = FALSE)
  options(default.nproc.blas = NULL)
  library(data.table)
  library(magrittr)
  result <-paste(".",args[2],paste(args[3],toString(".PHENO"), sep = ""),sep="//")
  phenotype <- fread(result)
  result <-paste(".",args[2],paste(args[3],toString(".cov"), sep = ""),sep="//")
  covariate <- fread(result)
  result <-paste(".",args[2],paste(args[3],toString(".eigenvec"), sep = ""),sep="//")
  pcs <- fread(result)
  # rename columns
  colnames(pcs) <- c("FID","IID", paste0("PC",1:as.numeric(args[9])))
  # generate required table
  pheno <- merge(phenotype, covariate) %>%
    merge(., pcs)
  info <- readRDS(runonce::download_file(
    "https://ndownloader.figshare.com/files/25503788",
    fname = "map_hm3_ldpred2.rds"))
  # Read in the summary statistic file
  result <-paste(".",args[1],paste(args[1],toString(".txt"), sep = ""),sep="//")
  
  sumstats <- bigreadr::fread2(result) 
  # LDpred 2 require the header to follow the exact naming
  names(sumstats) <-
    c("chr",
      "pos",
      "rsid",
      "a1",
      "a0",
      "n_eff",
      "beta_se",
      "p",
      "BETA",
      "INFO",
      "MAF")
  # Transform the OR into log(OR)
  sumstats$beta <-  sumstats$BETA
  # Filter out hapmap SNPs
  sumstats <- sumstats[sumstats$rsid%in% info$rsid,]
  
  # Get maximum amount of cores
  NCORES <- nb_cores()
  # Open a temporary file
  
  result <-paste(".",args[2],"tmp-data",sep="//")

  if (dir.exists(result)) {
    # Delete the directory and its contents
    
    system(paste("rm -r", shQuote(result)))
    print(paste("Directory", result, "deleted."))
  }
  tmp <- tempfile(tmpdir = result)
  on.exit(file.remove(paste0(tmp, ".sbk")), add = TRUE)
    
  # Initialize variables for storing the LD score and LD matrix
  corr <- NULL
  ld <- NULL
  # We want to know the ordering of samples in the bed file 
  fam.order <- NULL
  # preprocess the bed file (only need to do once for each data set)
  result <-paste(".",args[2],paste(args[4],toString(".rds"), sep = ""),sep="//")
  if (file.exists(result)) {
    file.remove(result)
    print(paste("File", result, "deleted."))
  }
  result <-paste(".",args[2],paste(args[4],toString(".bk"), sep = ""),sep="//")
  if (file.exists(result)) {
    file.remove(result)
    print(paste("File", result, "deleted."))
  }
  
  
  
  result <-paste(".",args[2],paste(args[4],toString(".bed"), sep = ""),sep="//")
  
  snp_readBed(result)
  # now attach the genotype object
  result <-paste(".",args[2],paste(args[4],toString(".rds"), sep = ""),sep="//")
  
  obj.bigSNP <- snp_attach(result)
  
  # extract the SNP information from the genotype
  map <- obj.bigSNP$map[-3]
  
  names(map) <- c("chr", "rsid", "pos", "a1", "a0")
  
  # perform SNP matching
  info_snp <- snp_match(sumstats, map)
  help(snp_match)
  info_snp
  # Assign the genotype to a variable for easier downstream analysis
  genotype <- obj.bigSNP$genotypes
  # Rename the data structures
  CHR <- map$chr
  POS <- map$pos
  # get the CM information from 1000 Genome
  # will download the 1000G file to the current directory (".")
  #help(snp_asGeneticPos)
  POS2 <- snp_asGeneticPos(CHR, POS, dir = ".")
  
 
 check <-TRUE
  for (chr in 1:22) {
    # Extract SNPs that are included in the chromosome
    
    ind.chr <- which(info_snp$chr == chr)
    print(length(ind.chr))
    ind.chr2 <- info_snp$`_NUM_ID_`[ind.chr]
    ind.chr2
    
    if (length(ind.chr2) == 0) {
       
      next  
    }
    else{
       
      corr0 <- snp_cor(
      genotype,
      ind.col = ind.chr2,
      ncores = NCORES,
      infos.pos = POS2[ind.chr2],
      #size = 200,
      #thr_r2=0.1,
      #alpha = 1
      
      size = as.numeric(args[6]),
      alpha = as.numeric(args[7]),
      
      thr_r2=as.numeric(args[8]),
    )
    if (check==TRUE) {
      check <-FALSE
      #print("FUCK")
      ld <- Matrix::colSums(corr0^2)
      corr <- as_SFBM(corr0, tmp)
    } else {
      ld <- c(ld, Matrix::colSums(corr0^2))
      corr$add_columns(corr0, nrow(corr))
    }

    }
   
    }
  
  
  # We assume the fam order is the same across different chromosomes
  fam.order <- as.data.table(obj.bigSNP$fam)
  # Rename fam order
  setnames(fam.order,
           c("family.ID", "sample.ID"),
           c("FID", "IID"))
  
  df_beta <- info_snp[,c("beta", "beta_se", "n_eff", "_NUM_ID_")]
  
  length(df_beta$beta) 
  length(ld)
  help(snp_ldsc)
  ldsc <- snp_ldsc(ld, 
                   length(ld), 
                   chi2 = (df_beta$beta / df_beta$beta_se)^2,
                   sample_size = df_beta$n_eff, 
                   blocks = NULL)
  h2_est <- ldsc[["h2"]]
  h2_est
  
  result <-paste(".",args[2],"ldpred_h2_hapmap.txt",sep="//")
  if (file.exists(result)) {
    file.remove(result)
    print(paste("File", result, "deleted."))
  }
  write.table(h2_est, file = result, col.names = FALSE)
  
  result <-paste(".",args[2],"ldpred_h2_variants.txt",sep="//")
    
  if (file.exists(result)) {
    file.remove(result)
    print(paste("File", result, "deleted."))
  }
  write.table(length(ld), file = result, col.names = FALSE)
  
  
  delta <- c(0.001, 0.01, 0.1, 1)
  nlambda <- 10
   
  
  beta_lassosum2 <- snp_lassosum2(corr, df_beta,delta,nlambda )
  (params2 <- attr(beta_lassosum2, "grid_param"))
  params2
  gridparamters <- params2[,c("lambda", "delta", "sparsity")]
  result <-paste(".",args[2],paste(args[3],toString(".ldpred_lassosum_parameters"), sep = ""),sep="//")
  write.table(gridparamters, file = result, row.names = FALSE,sep=",", quote = FALSE)
  
  
  result <-paste(".",args[2],paste(args[3],toString(".ldpred_lassosum_betas"), sep = ""),sep="//")
  write.table(beta_lassosum2, file = result, row.names = FALSE,sep=",", quote = FALSE)
  newgwas <- info_snp[,c("rsid.ss", "a0", "beta")]
  
  result <-paste(".",args[2],paste(args[3],toString(".ldpred_lassosum_gwas"), sep = ""),sep="//")
  write.table(newgwas, file = result, row.names = FALSE,sep=",", quote = FALSE)
  
  
  
  
}
if (args[5]=="3"){
  
  library(bigsnpr)
  options(bigstatsr.check.parallel.blas = FALSE)
  options(default.nproc.blas = NULL)
  library(data.table)
  library(magrittr)
  result <-paste(".",args[2],paste(args[3],toString(".PHENO"), sep = ""),sep="//")
  phenotype <- fread(result)
  result <-paste(".",args[2],paste(args[3],toString(".cov"), sep = ""),sep="//")
  covariate <- fread(result)
  result <-paste(".",args[2],paste(args[3],toString(".eigenvec"), sep = ""),sep="//")
  pcs <- fread(result)
  # rename columns
  colnames(pcs) <- c("FID","IID", paste0("PC",1:as.numeric(args[9])))
  # generate required table
  pheno <- merge(phenotype, covariate) %>%
    merge(., pcs)
  info <- readRDS(runonce::download_file(
    "https://ndownloader.figshare.com/files/25503788",
    fname = "map_hm3_ldpred2.rds"))
  # Read in the summary statistic file
  result <-paste(".",args[1],paste(args[1],toString(".txt"), sep = ""),sep="//")
  
  sumstats <- bigreadr::fread2(result) 
  # LDpred 2 require the header to follow the exact naming
  names(sumstats) <-
    c("chr",
      "pos",
      "rsid",
      "a1",
      "a0",
      "n_eff",
      "beta_se",
      "p",
      "BETA",
      "INFO",
      "MAF")
  # Transform the OR into log(OR)
  sumstats$beta <-  sumstats$BETA 
  # Filter out hapmap SNPs
  # Turn off this line to ensure that all the SNPs from
  # the sumstats are included.
  #sumstats <- sumstats[sumstats$rsid%in% info$rsid,]
  
  # Get maximum amount of cores
  NCORES <- nb_cores()
  # Open a temporary file
  
  if (dir.exists("tmp-data")) {
    # Delete the directory and its contents
    
    system(paste("rm -r", shQuote("tmp-data")))
    print(paste("Directory", "tmp-data", "deleted."))
  }
  tmp <- tempfile(tmpdir = "tmp-data")
  on.exit(file.remove(paste0(tmp, ".sbk")), add = TRUE)
  # Initialize variables for storing the LD score and LD matrix
  corr <- NULL
  ld <- NULL
  # We want to know the ordering of samples in the bed file 
  fam.order <- NULL
  # preprocess the bed file (only need to do once for each data set)
  result <-paste(".",args[2],paste(args[4],toString(".rds"), sep = ""),sep="//")
  if (file.exists(result)) {
    file.remove(result)
    print(paste("File", result, "deleted."))
  }
  result <-paste(".",args[2],paste(args[4],toString(".bk"), sep = ""),sep="//")
  if (file.exists(result)) {
    file.remove(result)
    print(paste("File", result, "deleted."))
  }
  
  
  result <-paste(".",args[2],paste(args[4],toString(".bed"), sep = ""),sep="//")
  
  snp_readBed(result)
  # now attach the genotype object
  result <-paste(".",args[2],paste(args[4],toString(".rds"), sep = ""),sep="//")
  
  obj.bigSNP <- snp_attach(result)
  
  # extract the SNP information from the genotype
  map <- obj.bigSNP$map[-3]
  
  names(map) <- c("chr", "rsid", "pos", "a1", "a0")
  
  # perform SNP matching
  info_snp <- snp_match(sumstats, map)
  help(snp_match)
  info_snp
  # Assign the genotype to a variable for easier downstream analysis
  genotype <- obj.bigSNP$genotypes
  # Rename the data structures
  CHR <- map$chr
  POS <- map$pos
  # get the CM information from 1000 Genome
  # will download the 1000G file to the current directory (".")
  help(snp_asGeneticPos)
  POS2 <- snp_asGeneticPos(CHR, POS, dir = ".")
  
   

    check <-TRUE
  for (chr in 1:22) {
    # Extract SNPs that are included in the chromosome
    
    ind.chr <- which(info_snp$chr == chr)
    print(length(ind.chr))
    ind.chr2 <- info_snp$`_NUM_ID_`[ind.chr]
    
    print(length(ind.chr2))
    
    if (length(ind.chr2) == 0) {
       
      next  
    }
    else{
       
      corr0 <- snp_cor(
      genotype,
      ind.col = ind.chr,
      ncores = NCORES,
      infos.pos = POS2[ind.chr2],
      #size = 200,
      #thr_r2=0.1,
      #alpha = 1
      
      size = as.numeric(args[6]),
      alpha = as.numeric(args[7]),
      thr_r2=as.numeric(args[8]),
    )
    if (check==TRUE) {
      check <-FALSE
      #print("FUCK")
      ld <- Matrix::colSums(corr0^2)
      help(as_SFBM)
      corr <- as_SFBM(corr0, tmp)
    } else {
      ld <- c(ld, Matrix::colSums(corr0^2))
      corr$add_columns(corr0, nrow(corr))
    }

    }
   
    }
  
  # We assume the fam order is the same across different chromosomes
  fam.order <- as.data.table(obj.bigSNP$fam)
  # Rename fam order
  setnames(fam.order,
           c("family.ID", "sample.ID"),
           c("FID", "IID"))
  
  df_beta <- info_snp[,c("beta", "beta_se", "n_eff", "_NUM_ID_")]
  
  length(df_beta$beta) 
  length(ld)
  help(snp_ldsc)
  ldsc <- snp_ldsc(ld, 
                   length(ld), 
                   chi2 = (df_beta$beta / df_beta$beta_se)^2,
                   sample_size = df_beta$n_eff, 
                   blocks = NULL)
  h2_est <- ldsc[["h2"]]
 
  delta <- c(0.001, 0.01, 0.1, 1)
  nlambda <- 10
 
  
  beta_lassosum2 <- snp_lassosum2(corr, df_beta,delta,nlambda )
  (params2 <- attr(beta_lassosum2, "grid_param"))
  params2
  gridparamters <- params2[,c("lambda", "delta", "sparsity")]
  
  result <-paste(".",args[2],paste(args[3],toString(".ldpred_lassosum_parameters"), sep = ""),sep="//")
  write.table(gridparamters, file = result, row.names = FALSE,sep=",", quote = FALSE)
   
  
  result <-paste(".",args[2],paste(args[3],toString(".ldpred_lassosum_betas"), sep = ""),sep="//")
  write.table(beta_lassosum2, file = result, row.names = FALSE,sep=",", quote = FALSE)
  newgwas <- info_snp[,c("rsid.ss", "a0", "beta")]
  
  result <-paste(".",args[2],paste(args[3],toString(".ldpred_lassosum_gwas"), sep = ""),sep="//")
  write.table(newgwas, file = result, row.names = FALSE,sep=",", quote = FALSE)
  
   
    result <-paste(".",args[2],"ldpred_h2_full.txt",sep="//")
  if (file.exists(result)) {
    file.remove(result)
    print(paste("File", result, "deleted."))
  }
  write.table(h2_est, file = result, col.names = FALSE)
  
  result <-paste(".",args[2],"ldpred_h2_variants.txt",sep="//")
    
  if (file.exists(result)) {
    file.remove(result)
    print(paste("File", result, "deleted."))
  }
  write.table(length(ld), file = result, col.names = FALSE)
  
   
  
  
}
from operator import index
import pandas as pd
import numpy as np
import os
import subprocess
import sys
import pandas as pd
import statsmodels.api as sm
import pandas as pd
from sklearn.metrics import roc_auc_score, confusion_matrix
from statsmodels.stats.contingency_tables import mcnemar

def create_directory(directory):
    """Function to create a directory if it doesn't exist."""
    if not os.path.exists(directory):  # Checking if the directory doesn't exist
        os.makedirs(directory)  # Creating the directory if it doesn't exist
    return directory  # Returning the created or existing directory

 
#foldnumber = sys.argv[1]
foldnumber = "0"  # Setting 'foldnumber' to "0"

folddirec = filedirec + os.sep + "Fold_" + foldnumber  # Creating a directory path for the specific fold
trainfilename = "train_data"  # Setting the name of the training data file
newtrainfilename = "train_data.QC"  # Setting the name of the new training data file

testfilename = "test_data"  # Setting the name of the test data file
newtestfilename = "test_data.QC"  # Setting the name of the new test data file

# Number of PCA to be included as a covariate.
numberofpca = ["6"]  # Setting the number of PCA components to be included

# Clumping parameters.
clump_p1 = [1]  # List containing clump parameter 'p1'
clump_r2 = [0.1]  # List containing clump parameter 'r2'
clump_kb = [200]  # List containing clump parameter 'kb'

# Pruning parameters.
p_window_size = [200]  # List containing pruning parameter 'window_size'
p_slide_size = [50]  # List containing pruning parameter 'slide_size'
p_LD_threshold = [0.25]  # List containing pruning parameter 'LD_threshold'

# Kindly note that the number of p-values to be considered varies, and the actual p-value depends on the dataset as well.
# We will specify the range list here.


minimumpvalue = 10  # Minimum p-value in exponent
numberofintervals = 20  # Number of intervals to be considered
allpvalues = np.logspace(-minimumpvalue, 0, numberofintervals, endpoint=True)  # Generating an array of logarithmically spaced p-values
count = 1
with open(folddirec + os.sep + 'range_list', 'w') as file:
    for value in allpvalues:
        file.write(f'pv_{value} 0 {value}\n')  # Writing range information to the 'range_list' file
        count = count + 1

pvaluefile = folddirec + os.sep + 'range_list'

# Initializing an empty DataFrame with specified column names
#prs_result = pd.DataFrame(columns=["clump_p1", "clump_r2", "clump_kb", "p_window_size", "p_slide_size", "p_LD_threshold",
#                                   "pvalue", "numberofpca","h2model","numberofvariants","Train_pure_prs", "Train_null_model", "Train_best_model",
#                                   "Test_pure_prs", "Test_null_model", "Test_best_model"])

Define Helper Functions#

  1. Perform Clumping and Pruning

  2. Calculate PCA Using Plink

  3. Fit Binary Phenotype and Save Results

  4. Fit Continuous Phenotype and Save Results

import os
import subprocess
import pandas as pd
import statsmodels.api as sm
from sklearn.metrics import explained_variance_score

prs_result = pd.DataFrame()
def perform_clumping_and_pruning_on_individual_data(traindirec, newtrainfilename,numberofpca, p1_val, p2_val, p3_val, c1_val, c2_val, c3_val,Name,pvaluefile):
    
    command = [
    "./plink",
    "--bfile", traindirec+os.sep+newtrainfilename,
    "--indep-pairwise", p1_val, p2_val, p3_val,
    "--out", traindirec+os.sep+trainfilename
    ]
    subprocess.run(command)
    # First perform pruning and then clumping and the pruning.

    command = [
    "./plink",
    "--bfile", traindirec+os.sep+newtrainfilename,
    "--clump-p1", c1_val,
    "--extract", traindirec+os.sep+trainfilename+".prune.in",
    "--clump-r2", c2_val,
    "--clump-kb", c3_val,
    "--clump", filedirec+os.sep+filedirec+".txt",
    "--clump-snp-field", "SNP",
    "--clump-field", "P",
    "--out", traindirec+os.sep+trainfilename
    ]    
    subprocess.run(command)

    # Extract the valid SNPs from th clumped file.
    # For windows download gwak for linux awk commmand is sufficient.
    ### For windows require GWAK.
    ### https://sourceforge.net/projects/gnuwin32/
    ##3 Get it and place it in the same direc.
    #os.system("gawk "+"\""+"NR!=1{print $3}"+"\"  "+ traindirec+os.sep+trainfilename+".clumped >  "+traindirec+os.sep+trainfilename+".valid.snp")
    #print("gawk "+"\""+"NR!=1{print $3}"+"\"  "+ traindirec+os.sep+trainfilename+".clumped >  "+traindirec+os.sep+trainfilename+".valid.snp")

    #Linux:
    command = f"awk 'NR!=1{{print $3}}' {traindirec}{os.sep}{trainfilename}.clumped > {traindirec}{os.sep}{trainfilename}.valid.snp"
    os.system(command)
    
    
    command = [
    "./plink",
    "--make-bed",
    "--bfile", traindirec+os.sep+newtrainfilename,
    "--indep-pairwise", p1_val, p2_val, p3_val,
    "--extract", traindirec+os.sep+trainfilename+".valid.snp",
    "--out", traindirec+os.sep+newtrainfilename+".clumped.pruned"
    ]
    subprocess.run(command)
    
    command = [
    "./plink",
    "--make-bed",
    "--bfile", traindirec+os.sep+testfilename,
    "--indep-pairwise", p1_val, p2_val, p3_val,
    "--extract", traindirec+os.sep+trainfilename+".valid.snp",
    "--out", traindirec+os.sep+testfilename+".clumped.pruned"
    ]
    subprocess.run(command)    
    
    
 
def calculate_pca_for_traindata_testdata_for_clumped_pruned_snps(traindirec, newtrainfilename,p):
    
    # Calculate the PRS for the test data using the same set of SNPs and also calculate the PCA.


    # Also extract the PCA at this point.
    # PCA are calculated afer clumping and pruining.
    command = [
        "./plink",
        "--bfile", folddirec+os.sep+testfilename+".clumped.pruned",
        # Select the final variants after clumping and pruning.
        "--extract", traindirec+os.sep+trainfilename+".valid.snp",
        "--pca", p,
        "--out", folddirec+os.sep+testfilename
    ]
    subprocess.run(command)


    command = [
    "./plink",
        "--bfile", traindirec+os.sep+newtrainfilename+".clumped.pruned",
        # Select the final variants after clumping and pruning.        
        "--extract", traindirec+os.sep+trainfilename+".valid.snp",
        "--pca", p,
        "--out", traindirec+os.sep+trainfilename
    ]
    subprocess.run(command)

# This function fit the binary model on the PRS.
def fit_binary_phenotype_on_PRS(traindirec, newtrainfilename,h2model, p, p1_val, p2_val, p3_val, c1_val,c2_val,c3_val, Name, pvaluefile, lambdaa ,delta,sparsity,heritability,numberofvariants,lassocount):
    threshold_values = allpvalues

    # Merge the covariates, pca and phenotypes.
    tempphenotype_train = pd.read_table(traindirec+os.sep+newtrainfilename+".clumped.pruned"+".fam", sep="\s+",header=None)
    phenotype_train = pd.DataFrame()
    phenotype_train["Phenotype"] = tempphenotype_train[5].values
    pcs_train = pd.read_table(traindirec+os.sep+trainfilename+".eigenvec", sep="\s+",header=None, names=["FID", "IID"] + [f"PC{str(i)}" for i in range(1, int(p)+1)])
    covariate_train = pd.read_table(traindirec+os.sep+trainfilename+".cov",sep="\s+")
    covariate_train.fillna(0, inplace=True)
    covariate_train = covariate_train[covariate_train["FID"].isin(pcs_train["FID"].values) & covariate_train["IID"].isin(pcs_train["IID"].values)]
    covariate_train['FID'] = covariate_train['FID'].astype(str)
    pcs_train['FID'] = pcs_train['FID'].astype(str)
    covariate_train['IID'] = covariate_train['IID'].astype(str)
    pcs_train['IID'] = pcs_train['IID'].astype(str)
    covandpcs_train = pd.merge(covariate_train, pcs_train, on=["FID","IID"])
    covandpcs_train.fillna(0, inplace=True)


    ## Scale the covariates!
    from sklearn.preprocessing import MinMaxScaler
    from sklearn.metrics import explained_variance_score
    scaler = MinMaxScaler()
    normalized_values_train = scaler.fit_transform(covandpcs_train.iloc[:, 2:])
    #covandpcs_train.iloc[:, 2:] = normalized_values_test 
    
    
    tempphenotype_test = pd.read_table(traindirec+os.sep+testfilename+".clumped.pruned"+".fam", sep="\s+",header=None)
    phenotype_test= pd.DataFrame()
    phenotype_test["Phenotype"] = tempphenotype_test[5].values
    pcs_test = pd.read_table(traindirec+os.sep+testfilename+".eigenvec", sep="\s+",header=None, names=["FID", "IID"] + [f"PC{str(i)}" for i in range(1, int(p)+1)])
    covariate_test = pd.read_table(traindirec+os.sep+testfilename+".cov",sep="\s+")
    covariate_test.fillna(0, inplace=True)
    covariate_test = covariate_test[covariate_test["FID"].isin(pcs_test["FID"].values) & covariate_test["IID"].isin(pcs_test["IID"].values)]
    covariate_test['FID'] = covariate_test['FID'].astype(str)
    pcs_test['FID'] = pcs_test['FID'].astype(str)
    covariate_test['IID'] = covariate_test['IID'].astype(str)
    pcs_test['IID'] = pcs_test['IID'].astype(str)
    covandpcs_test = pd.merge(covariate_test, pcs_test, on=["FID","IID"])
    covandpcs_test.fillna(0, inplace=True)
    normalized_values_test  = scaler.transform(covandpcs_test.iloc[:, 2:])
    #covandpcs_test.iloc[:, 2:] = normalized_values_test     
    
    
    
    
    tempalphas = [0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9]
    l1weights = [0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9]

    tempalphas = [0.1]
    l1weights = [0.1]

    phenotype_train["Phenotype"] = phenotype_train["Phenotype"].replace({1: 0, 2: 1}) 
    phenotype_test["Phenotype"] = phenotype_test["Phenotype"].replace({1: 0, 2: 1})
      
    for tempalpha in tempalphas:
        for l1weight in l1weights:

            
            try:
                null_model =  sm.Logit(phenotype_train["Phenotype"], sm.add_constant(covandpcs_train.iloc[:, 2:])).fit_regularized(alpha=tempalpha, L1_wt=l1weight)
                #null_model =  sm.Logit(phenotype_train["Phenotype"], sm.add_constant(covandpcs_train.iloc[:, 2:])).fit()
            
            except:
                print("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX")
                continue

            train_null_predicted = null_model.predict(sm.add_constant(covandpcs_train.iloc[:, 2:]))
            
            from sklearn.metrics import roc_auc_score, confusion_matrix
            from sklearn.metrics import r2_score
            
            test_null_predicted = null_model.predict(sm.add_constant(covandpcs_test.iloc[:, 2:]))
            
           
            
            global prs_result 
            for i in threshold_values:
                try:
                    prs_train = pd.read_table(traindirec+os.sep+Name+os.sep+"train_data.pv_"+f"{i}.profile", sep="\s+", usecols=["FID", "IID", "SCORE"])
                except:
                    
                    continue

                prs_train['FID'] = prs_train['FID'].astype(str)
                prs_train['IID'] = prs_train['IID'].astype(str)
                try:
                    prs_test = pd.read_table(traindirec+os.sep+Name+os.sep+"test_data.pv_"+f"{i}.profile", sep="\s+", usecols=["FID", "IID", "SCORE"])
                except:
                    continue
                prs_test['FID'] = prs_test['FID'].astype(str)
                prs_test['IID'] = prs_test['IID'].astype(str)
                pheno_prs_train = pd.merge(covandpcs_train, prs_train, on=["FID", "IID"])
                pheno_prs_test = pd.merge(covandpcs_test, prs_test, on=["FID", "IID"])
        
                try:
                    model = sm.Logit(phenotype_train["Phenotype"], sm.add_constant(pheno_prs_train.iloc[:, 2:])).fit_regularized(alpha=tempalpha, L1_wt=l1weight)
                    #model = sm.Logit(phenotype_train["Phenotype"], sm.add_constant(pheno_prs_train.iloc[:, 2:])).fit()
                
                except:
                    print("Did not work!")
                    continue


                
                train_best_predicted = model.predict(sm.add_constant(pheno_prs_train.iloc[:, 2:]))    
 

                test_best_predicted = model.predict(sm.add_constant(pheno_prs_test.iloc[:, 2:])) 
 
        
                from sklearn.metrics import roc_auc_score, confusion_matrix

                prs_result = prs_result._append({
                    "clump_p1": c1_val,
                    "clump_r2": c2_val,
                    "clump_kb": c3_val,
                    "p_window_size": p1_val,
                    "p_slide_size": p2_val,
                    "p_LD_threshold": p3_val,
                    "pvalue": i,
                    "numberofpca":p, 

                    "tempalpha":str(tempalpha),
                    "l1weight":str(l1weight),
                      
                    "numberofvariants": numberofvariants,
                    "heritability_model":h2model,
                    "h2":heritability,
                    
                    "lasso_parameters_count":str(lassocount),                      
                    "lambda": lambdaa,
                    "delta":delta,
                    "sparsity":sparsity,                    
                    
                    

                    "Train_pure_prs":roc_auc_score(phenotype_train["Phenotype"].values,prs_train['SCORE'].values),
                    "Train_null_model":roc_auc_score(phenotype_train["Phenotype"].values,train_null_predicted.values),
                    "Train_best_model":roc_auc_score(phenotype_train["Phenotype"].values,train_best_predicted.values),
                    
                    "Test_pure_prs":roc_auc_score(phenotype_test["Phenotype"].values,prs_test['SCORE'].values),
                    "Test_null_model":roc_auc_score(phenotype_test["Phenotype"].values,test_null_predicted.values),
                    "Test_best_model":roc_auc_score(phenotype_test["Phenotype"].values,test_best_predicted.values),
                    
                }, ignore_index=True)

          
                prs_result.to_csv(traindirec+os.sep+Name+os.sep+"Results.csv",index=False)
     
    return

# This function fit the binary model on the PRS.
def fit_continous_phenotype_on_PRS(traindirec, newtrainfilename,h2model, p, p1_val, p2_val, p3_val, c1_val,c2_val,c3_val, Name, pvaluefile, lambdaa ,delta,sparsity,heritability,numberofvariants,lassocount):
    threshold_values = allpvalues

    # Merge the covariates, pca and phenotypes.
    tempphenotype_train = pd.read_table(traindirec+os.sep+newtrainfilename+".clumped.pruned"+".fam", sep="\s+",header=None)
    phenotype_train = pd.DataFrame()
    phenotype_train["Phenotype"] = tempphenotype_train[5].values
    pcs_train = pd.read_table(traindirec+os.sep+trainfilename+".eigenvec", sep="\s+",header=None, names=["FID", "IID"] + [f"PC{str(i)}" for i in range(1, int(p)+1)])
    covariate_train = pd.read_table(traindirec+os.sep+trainfilename+".cov",sep="\s+")
    covariate_train.fillna(0, inplace=True)
    covariate_train = covariate_train[covariate_train["FID"].isin(pcs_train["FID"].values) & covariate_train["IID"].isin(pcs_train["IID"].values)]
    covariate_train['FID'] = covariate_train['FID'].astype(str)
    pcs_train['FID'] = pcs_train['FID'].astype(str)
    covariate_train['IID'] = covariate_train['IID'].astype(str)
    pcs_train['IID'] = pcs_train['IID'].astype(str)
    covandpcs_train = pd.merge(covariate_train, pcs_train, on=["FID","IID"])
    covandpcs_train.fillna(0, inplace=True)


    ## Scale the covariates!
    from sklearn.preprocessing import MinMaxScaler
    from sklearn.metrics import explained_variance_score
    scaler = MinMaxScaler()
    normalized_values_train = scaler.fit_transform(covandpcs_train.iloc[:, 2:])
    #covandpcs_train.iloc[:, 2:] = normalized_values_test 
    
    tempphenotype_test = pd.read_table(traindirec+os.sep+testfilename+".clumped.pruned"+".fam", sep="\s+",header=None)
    phenotype_test= pd.DataFrame()
    phenotype_test["Phenotype"] = tempphenotype_test[5].values
    pcs_test = pd.read_table(traindirec+os.sep+testfilename+".eigenvec", sep="\s+",header=None, names=["FID", "IID"] + [f"PC{str(i)}" for i in range(1, int(p)+1)])
    covariate_test = pd.read_table(traindirec+os.sep+testfilename+".cov",sep="\s+")
    covariate_test.fillna(0, inplace=True)
    covariate_test = covariate_test[covariate_test["FID"].isin(pcs_test["FID"].values) & covariate_test["IID"].isin(pcs_test["IID"].values)]
    covariate_test['FID'] = covariate_test['FID'].astype(str)
    pcs_test['FID'] = pcs_test['FID'].astype(str)
    covariate_test['IID'] = covariate_test['IID'].astype(str)
    pcs_test['IID'] = pcs_test['IID'].astype(str)
    covandpcs_test = pd.merge(covariate_test, pcs_test, on=["FID","IID"])
    covandpcs_test.fillna(0, inplace=True)
    normalized_values_test  = scaler.transform(covandpcs_test.iloc[:, 2:])
    #covandpcs_test.iloc[:, 2:] = normalized_values_test     
    
    
    
    
    tempalphas = [0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9]
    l1weights = [0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9]

    tempalphas = [0.1]
    l1weights = [0.1]

    #phenotype_train["Phenotype"] = phenotype_train["Phenotype"].replace({1: 0, 2: 1}) 
    #phenotype_test["Phenotype"] = phenotype_test["Phenotype"].replace({1: 0, 2: 1})
      
    for tempalpha in tempalphas:
        for l1weight in l1weights:

            
            try:
                #null_model =  sm.OLS(phenotype_train["Phenotype"], sm.add_constant(covandpcs_train.iloc[:, 2:])).fit_regularized(alpha=tempalpha, L1_wt=l1weight)
                null_model =  sm.OLS(phenotype_train["Phenotype"], sm.add_constant(covandpcs_train.iloc[:, 2:])).fit()
                #null_model =  sm.OLS(phenotype_train["Phenotype"], sm.add_constant(covandpcs_train.iloc[:, 2:])).fit()
            except:
                print("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX")
                continue

            train_null_predicted = null_model.predict(sm.add_constant(covandpcs_train.iloc[:, 2:]))
            
            from sklearn.metrics import roc_auc_score, confusion_matrix
            from sklearn.metrics import r2_score
            
            test_null_predicted = null_model.predict(sm.add_constant(covandpcs_test.iloc[:, 2:]))
            
            
            
            global prs_result 
            for i in threshold_values:
                try:
                    prs_train = pd.read_table(traindirec+os.sep+Name+os.sep+"train_data.pv_"+f"{i}.profile", sep="\s+", usecols=["FID", "IID", "SCORE"])
                except:
                    continue

                prs_train['FID'] = prs_train['FID'].astype(str)
                prs_train['IID'] = prs_train['IID'].astype(str)
                try:
                    prs_test = pd.read_table(traindirec+os.sep+Name+os.sep+"test_data.pv_"+f"{i}.profile", sep="\s+", usecols=["FID", "IID", "SCORE"])
                except:
                    continue
                prs_test['FID'] = prs_test['FID'].astype(str)
                prs_test['IID'] = prs_test['IID'].astype(str)
                pheno_prs_train = pd.merge(covandpcs_train, prs_train, on=["FID", "IID"])
                pheno_prs_test = pd.merge(covandpcs_test, prs_test, on=["FID", "IID"])
        
                try:
                    #model = sm.OLS(phenotype_train["Phenotype"], sm.add_constant(pheno_prs_train.iloc[:, 2:])).fit_regularized(alpha=tempalpha, L1_wt=l1weight)
                    model = sm.OLS(phenotype_train["Phenotype"], sm.add_constant(pheno_prs_train.iloc[:, 2:])).fit()
                
                except:
                    continue


                
                train_best_predicted = model.predict(sm.add_constant(pheno_prs_train.iloc[:, 2:]))    
                test_best_predicted = model.predict(sm.add_constant(pheno_prs_test.iloc[:, 2:])) 
 
        
                from sklearn.metrics import roc_auc_score, confusion_matrix

                prs_result = prs_result._append({
                    "clump_p1": c1_val,
                    "clump_r2": c2_val,
                    "clump_kb": c3_val,
                    "p_window_size": p1_val,
                    "p_slide_size": p2_val,
                    "p_LD_threshold": p3_val,
                    "pvalue": i,
                    "numberofpca":p, 

                    "tempalpha":str(tempalpha),
                    "l1weight":str(l1weight),
                    
                    "numberofvariants": numberofvariants,
                    "heritability_model":h2model,
                    "h2":heritability,
                  
                    "lasso_parameters_count":str(lassocount),               
                    "lambda": lambdaa,
                    "delta":delta,
                    "sparsity":sparsity,
                    
                  

                    "Train_pure_prs":explained_variance_score(phenotype_train["Phenotype"],prs_train['SCORE'].values),
                    "Train_null_model":explained_variance_score(phenotype_train["Phenotype"],train_null_predicted),
                    "Train_best_model":explained_variance_score(phenotype_train["Phenotype"],train_best_predicted),
                    
                    "Test_pure_prs":explained_variance_score(phenotype_test["Phenotype"],prs_test['SCORE'].values),
                    "Test_null_model":explained_variance_score(phenotype_test["Phenotype"],test_null_predicted),
                    "Test_best_model":explained_variance_score(phenotype_test["Phenotype"],test_best_predicted),
                    
                }, ignore_index=True)

          
                prs_result.to_csv(traindirec+os.sep+Name+os.sep+"Results.csv",index=False)
     
    return

Execute LDpred-2-Lassosum#

def transform_ldpred2_lasso_data(traindirec, newtrainfilename,models,p, p1_val, p2_val, p3_val, c1_val, c2_val, c3_val,Name,pvaluefile):
    ### First perform clumping on the file and save the clumpled file.
    #perform_clumping_and_pruning_on_individual_data(traindirec, newtrainfilename,p, p1_val, p2_val, p3_val, c1_val, c2_val, c3_val,Name,pvaluefile)
   
        
    # Also extract the PCA at this point for both test and training data.
    #calculate_pca_for_traindata_testdata_for_clumped_pruned_snps(traindirec, newtrainfilename,p)

    #Extract p-values from the GWAS file.
    # Command for Linux.
    os.system("awk "+"\'"+"{print $3,$8}"+"\'"+" ./"+filedirec+os.sep+filedirec+".txt >  ./"+traindirec+os.sep+"SNP.pvalue")
      
    
    # At this stage, we will merge the PCA and COV file. 
    tempphenotype_train = pd.read_table(traindirec+os.sep+newtrainfilename+".clumped.pruned"+".fam", sep="\s+",header=None)
    phenotype = pd.DataFrame()
    phenotype = tempphenotype_train[[0,1,5]]
    phenotype.to_csv(traindirec+os.sep+trainfilename+".PHENO",sep="\t",header=['FID', 'IID', 'PHENO'],index=False)
 
    pcs_train = pd.read_table(traindirec+os.sep+trainfilename+".eigenvec", sep="\s+",header=None, names=["FID", "IID"] + [f"PC{str(i)}" for i in range(1, int(p)+1)])
    covariate_train = pd.read_table(traindirec+os.sep+trainfilename+".cov",sep="\s+")
    covariate_train.fillna(0, inplace=True)
    print(covariate_train.head())
    print(len(covariate_train))
    covariate_train = covariate_train[covariate_train["FID"].isin(pcs_train["FID"].values) & covariate_train["IID"].isin(pcs_train["IID"].values)]
    print(len(covariate_train))
 
    covariate_train['FID'] = covariate_train['FID'].astype(str)
    pcs_train['FID'] = pcs_train['FID'].astype(str)
    covariate_train['IID'] = covariate_train['IID'].astype(str)
    pcs_train['IID'] = pcs_train['IID'].astype(str)
    covandpcs_train = pd.merge(covariate_train, pcs_train, on=["FID","IID"])
    covandpcs_train.to_csv(traindirec+os.sep+trainfilename+".COV_PCA",sep="\t",index=False)

    # Define the paths to the files
    files_to_remove = [
        traindirec+os.sep+"train_data.ldpred_lassosum_parameters",
        traindirec+os.sep+"train_data.ldpred_lassosum_betas",
        traindirec+os.sep+"train_data.ldpred_lassosum_gwas",
        traindirec+os.sep+"train_data.ldpred_lassosum2_gwas",
        traindirec+os.sep+"ldpred_h2_full.txt",
        traindirec+os.sep+"ldpred_h2_hapmap.txt",
        
    ]
 
    # Loop through the files and remove them if they exist
    for file_path in files_to_remove:
        if os.path.exists(file_path):
            os.remove(file_path)
            print(f"Removed: {file_path}")
        else:
            print(f"File does not exist: {file_path}")
            
            
 
    if models=="LDpred-2_full":
        try:
            os.system("Rscript LDpred2-lassosum2.R "+os.path.join(filedirec)+"  "+traindirec+" "+trainfilename+" "+newtrainfilename+".clumped.pruned"+ " "+"3"+" "+c3_val+" "+c1_val+" "+c2_val+" "+p)
            heritability = pd.read_csv(traindirec+os.sep+"ldpred_h2_full.txt",sep="\s+",header=None)[1].values[0]
            numberofvariants =  pd.read_csv(traindirec+os.sep+"ldpred_h2_variants.txt",sep="\s+",header=None)[1].values[0] 
        except:
            print("For model ",models,"it did not work! may be h2 is negative.")
            return
            

    if models=="LDpred-2_hapmap":
        try:
            os.system("Rscript LDpred2-lassosum2.R "+os.path.join(filedirec)+"  "+traindirec+" "+trainfilename+" "+newtrainfilename+".clumped.pruned"+ " "+"2"+" "+c3_val+" "+c1_val+" "+c2_val+" "+p)
            heritability = pd.read_csv(traindirec+os.sep+"ldpred_h2_hapmap.txt",sep="\s+",header=None)[1].values[0]
            numberofvariants =  pd.read_csv(traindirec+os.sep+"ldpred_h2_variants.txt",sep="\s+",header=None)[1].values[0] 
        except:
            print("For model ",models,"it did not work! may be h2 is negative.")
            return 


            
            
    gridparameters = pd.read_csv(traindirec+os.sep+"train_data.ldpred_lassosum_parameters",sep=",")
    allbetas = pd.read_csv(traindirec+os.sep+"train_data.ldpred_lassosum_betas",sep=",")
    allbetas = allbetas.fillna(0)
    
    

    count = 0
    for index, row in gridparameters.iterrows():
        gwas = pd.read_csv(traindirec+os.sep+"train_data.ldpred_lassosum_gwas",sep=",")
        # Accessing individual elements in the row
        tempp = row['lambda']   
        temph2 = row['delta']
        tempsparse = row['sparsity']
        gwas["newbetas"] = allbetas.iloc[:, index].values
        print(gwas.head())
        
        
        
        if check_phenotype_is_binary_or_continous(filedirec)=="Binary":
            gwas["newbetas"] = np.exp(gwas["newbetas"])
        else:
            pass

        print(gwas.head())
        gwas.rename(columns={'rsid.ss': 'SNP', 'a0': 'A1','newbetas':'BETA'}, inplace=True)
        gwas[["SNP","A1","BETA"]].to_csv(traindirec+os.sep+"train_data.ldpred_lassosum2_gwas_final",sep="\t",index=False)
        
        
   
        print(gwas.head())
        
        
        
        command = [
            "./plink",
             "--bfile", traindirec+os.sep+newtrainfilename+".clumped.pruned",
            ### SNP column = 1, Effect allele column 2 = 4, Effect column=4
            "--score", traindirec+os.sep+"train_data.ldpred_lassosum2_gwas_final", "1", "2", "3", "header",
            "--q-score-range", traindirec+os.sep+"range_list",traindirec+os.sep+"SNP_SBLUP.pvalue",
            #"--extract", traindirec+os.sep+trainfilename+".valid.snp",
            "--out", traindirec+os.sep+Name+os.sep+trainfilename
        ]

        subprocess.run(command)


        command = [
            "./plink",
            "--bfile", folddirec+os.sep+testfilename,
            ### SNP column = 3, Effect allele column 1 = 4, Beta column=12
            "--score", traindirec+os.sep+"train_data.ldpred_lassosum2_gwas_final", "1", "2", "3", "header",
            "--q-score-range", traindirec+os.sep+"range_list",traindirec+os.sep+"SNP_SBLUP.pvalue",
            "--out", folddirec+os.sep+Name+os.sep+testfilename
        ]
        subprocess.run(command)

        if check_phenotype_is_binary_or_continous(filedirec)=="Binary":
            print("Binary Phenotype!")
            fit_binary_phenotype_on_PRS(folddirec, newtrainfilename,model, p, str(p1_val), str(p2_val), str(p3_val), str(c1_val), str(c2_val), str(c3_val),Name, pvaluefile,row['lambda'] ,row['delta'],row['sparsity'],heritability,numberofvariants,count)
        else:
            print("Continous Phenotype!")
            fit_continous_phenotype_on_PRS(folddirec, newtrainfilename,model, p, str(p1_val), str(p2_val), str(p3_val), str(c1_val), str(c2_val), str(c3_val), Name, pvaluefile,row['lambda'] ,row['delta'],row['sparsity'],heritability,numberofvariants,count)
        count=count+1

 
h2models = ["LDpred-2_full","LDpred-2_hapmap"]
#h2models = ["LDpred-2_hapmap"]
result_directory = "ldpred2_lassosum2"
# Nested loops to iterate over different parameter values
create_directory(folddirec+os.sep+"ldpred2_lassosum2")
for p1_val in p_window_size:
 for p2_val in p_slide_size: 
  for p3_val in p_LD_threshold:
   for c1_val in clump_p1:
    for c2_val in clump_r2:
     for c3_val in clump_kb:
      for p in numberofpca:
       for model in  h2models:
        transform_ldpred2_lasso_data(folddirec, newtrainfilename,model, p, str(p1_val), str(p2_val), str(p3_val), str(c1_val), str(c2_val), str(c3_val), "ldpred2_lassosum2", pvaluefile)
       FID      IID  Sex
0  HG00097  HG00097    2
1  HG00099  HG00099    2
2  HG00101  HG00101    1
3  HG00102  HG00102    2
4  HG00103  HG00103    1
380
380
Removed: SampleData1/Fold_0/train_data.ldpred_lassosum_parameters
Removed: SampleData1/Fold_0/train_data.ldpred_lassosum_betas
Removed: SampleData1/Fold_0/train_data.ldpred_lassosum_gwas
File does not exist: SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas
File does not exist: SampleData1/Fold_0/ldpred_h2_full.txt
Removed: SampleData1/Fold_0/ldpred_h2_hapmap.txt
[1] "SampleData1"                  "SampleData1/Fold_0"          
[3] "train_data"                   "train_data.QC.clumped.pruned"
[5] "3"                            "200"                         
[7] "1"                            "0.1"                         
[9] "6"                           
Loading required package: bigstatsr
trying URL 'https://ndownloader.figshare.com/files/25503788'
Content type 'application/octet-stream' length 35191166 bytes (33.6 MB)
==================================================
downloaded 33.6 MB
[1] "Directory tmp-data deleted."
[1] "File .//SampleData1/Fold_0//train_data.QC.clumped.pruned.rds deleted."
[1] "File .//SampleData1/Fold_0//train_data.QC.clumped.pruned.bk deleted."
448,377 variants to be matched.
0 ambiguous SNPs have been removed.
154,717 variants have been matched; 0 were flipped and 1,488 were reversed.
[1] 14013
[1] 14013
Creating directory "tmp-data" which didn't exist..
[1] 13813
[1] 13813
[1] 11785
[1] 11785
[1] 11041
[1] 11041
[1] 10632
[1] 10632
[1] 10068
[1] 10068
[1] 9496
[1] 9496
[1] 8867
[1] 8867
[1] 7768
[1] 7768
[1] 8824
[1] 8824
[1] 8420
[1] 8420
[1] 8198
[1] 8198
[1] 6350
[1] 6350
[1] 5742
[1] 5742
[1] 5569
[1] 5569
[1] 6069
[1] 6069
[1] 5723
[1] 5723
[1] 2339
[1] 2339
[1] 0
[1] 0
[1] 0
[1] 0
[1] 0
[1] 0
[1] 0
[1] 0
[1] "File .//SampleData1/Fold_0//ldpred_h2_variants.txt deleted."
Warning message:
package ‘magrittr’ was built under R version 4.1.3 
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
           SNP A1      beta  BETA
0   rs79373928  T  0.002034   0.0
1    rs4970382  T -0.002658   0.0
2   rs13303222  G  0.003237   0.0
3   rs72631889  G  0.013190   0.0
4  rs192998324  A -0.011314   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
           SNP A1      beta  BETA
0   rs79373928  T  0.002034   0.0
1    rs4970382  T -0.002658   0.0
2   rs13303222  G  0.003237   0.0
3   rs72631889  G  0.013190   0.0
4  rs192998324  A -0.011314   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
           SNP A1      beta  BETA
0   rs79373928  T  0.002034   0.0
1    rs4970382  T -0.002658   0.0
2   rs13303222  G  0.003237   0.0
3   rs72631889  G  0.013190   0.0
4  rs192998324  A -0.011314   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
           SNP A1      beta  BETA
0   rs79373928  T  0.002034   0.0
1    rs4970382  T -0.002658   0.0
2   rs13303222  G  0.003237   0.0
3   rs72631889  G  0.013190   0.0
4  rs192998324  A -0.011314   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
           SNP A1      beta  BETA
0   rs79373928  T  0.002034   0.0
1    rs4970382  T -0.002658   0.0
2   rs13303222  G  0.003237   0.0
3   rs72631889  G  0.013190   0.0
4  rs192998324  A -0.011314   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
           SNP A1      beta  BETA
0   rs79373928  T  0.002034   0.0
1    rs4970382  T -0.002658   0.0
2   rs13303222  G  0.003237   0.0
3   rs72631889  G  0.013190   0.0
4  rs192998324  A -0.011314   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
           SNP A1      beta  BETA
0   rs79373928  T  0.002034   0.0
1    rs4970382  T -0.002658   0.0
2   rs13303222  G  0.003237   0.0
3   rs72631889  G  0.013190   0.0
4  rs192998324  A -0.011314   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
           SNP A1      beta  BETA
0   rs79373928  T  0.002034   0.0
1    rs4970382  T -0.002658   0.0
2   rs13303222  G  0.003237   0.0
3   rs72631889  G  0.013190   0.0
4  rs192998324  A -0.011314   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
           SNP A1      beta  BETA
0   rs79373928  T  0.002034   0.0
1    rs4970382  T -0.002658   0.0
2   rs13303222  G  0.003237   0.0
3   rs72631889  G  0.013190   0.0
4  rs192998324  A -0.011314   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
           SNP A1      beta  BETA
0   rs79373928  T  0.002034   0.0
1    rs4970382  T -0.002658   0.0
2   rs13303222  G  0.003237   0.0
3   rs72631889  G  0.013190   0.0
4  rs192998324  A -0.011314   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
           SNP A1      beta  BETA
0   rs79373928  T  0.002034   0.0
1    rs4970382  T -0.002658   0.0
2   rs13303222  G  0.003237   0.0
3   rs72631889  G  0.013190   0.0
4  rs192998324  A -0.011314   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
           SNP A1      beta  BETA
0   rs79373928  T  0.002034   0.0
1    rs4970382  T -0.002658   0.0
2   rs13303222  G  0.003237   0.0
3   rs72631889  G  0.013190   0.0
4  rs192998324  A -0.011314   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
           SNP A1      beta  BETA
0   rs79373928  T  0.002034   0.0
1    rs4970382  T -0.002658   0.0
2   rs13303222  G  0.003237   0.0
3   rs72631889  G  0.013190   0.0
4  rs192998324  A -0.011314   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
           SNP A1      beta  BETA
0   rs79373928  T  0.002034   0.0
1    rs4970382  T -0.002658   0.0
2   rs13303222  G  0.003237   0.0
3   rs72631889  G  0.013190   0.0
4  rs192998324  A -0.011314   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
           SNP A1      beta  BETA
0   rs79373928  T  0.002034   0.0
1    rs4970382  T -0.002658   0.0
2   rs13303222  G  0.003237   0.0
3   rs72631889  G  0.013190   0.0
4  rs192998324  A -0.011314   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
           SNP A1      beta  BETA
0   rs79373928  T  0.002034   0.0
1    rs4970382  T -0.002658   0.0
2   rs13303222  G  0.003237   0.0
3   rs72631889  G  0.013190   0.0
4  rs192998324  A -0.011314   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
           SNP A1      beta  BETA
0   rs79373928  T  0.002034   0.0
1    rs4970382  T -0.002658   0.0
2   rs13303222  G  0.003237   0.0
3   rs72631889  G  0.013190   0.0
4  rs192998324  A -0.011314   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
           SNP A1      beta  BETA
0   rs79373928  T  0.002034   0.0
1    rs4970382  T -0.002658   0.0
2   rs13303222  G  0.003237   0.0
3   rs72631889  G  0.013190   0.0
4  rs192998324  A -0.011314   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
           SNP A1      beta  BETA
0   rs79373928  T  0.002034   0.0
1    rs4970382  T -0.002658   0.0
2   rs13303222  G  0.003237   0.0
3   rs72631889  G  0.013190   0.0
4  rs192998324  A -0.011314   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
           SNP A1      beta  BETA
0   rs79373928  T  0.002034   0.0
1    rs4970382  T -0.002658   0.0
2   rs13303222  G  0.003237   0.0
3   rs72631889  G  0.013190   0.0
4  rs192998324  A -0.011314   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
           SNP A1      beta  BETA
0   rs79373928  T  0.002034   0.0
1    rs4970382  T -0.002658   0.0
2   rs13303222  G  0.003237   0.0
3   rs72631889  G  0.013190   0.0
4  rs192998324  A -0.011314   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
           SNP A1      beta  BETA
0   rs79373928  T  0.002034   0.0
1    rs4970382  T -0.002658   0.0
2   rs13303222  G  0.003237   0.0
3   rs72631889  G  0.013190   0.0
4  rs192998324  A -0.011314   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
           SNP A1      beta  BETA
0   rs79373928  T  0.002034   0.0
1    rs4970382  T -0.002658   0.0
2   rs13303222  G  0.003237   0.0
3   rs72631889  G  0.013190   0.0
4  rs192998324  A -0.011314   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
           SNP A1      beta  BETA
0   rs79373928  T  0.002034   0.0
1    rs4970382  T -0.002658   0.0
2   rs13303222  G  0.003237   0.0
3   rs72631889  G  0.013190   0.0
4  rs192998324  A -0.011314   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899%
Warning: 3658 lines skipped in --q-score-range data file.
 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
           SNP A1      beta  BETA
0   rs79373928  T  0.002034   0.0
1    rs4970382  T -0.002658   0.0
2   rs13303222  G  0.003237   0.0
3   rs72631889  G  0.013190   0.0
4  rs192998324  A -0.011314   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
           SNP A1      beta  BETA
0   rs79373928  T  0.002034   0.0
1    rs4970382  T -0.002658   0.0
2   rs13303222  G  0.003237   0.0
3   rs72631889  G  0.013190   0.0
4  rs192998324  A -0.011314   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
           SNP A1      beta  BETA
0   rs79373928  T  0.002034   0.0
1    rs4970382  T -0.002658   0.0
2   rs13303222  G  0.003237   0.0
3   rs72631889  G  0.013190   0.0
4  rs192998324  A -0.011314   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
           SNP A1      beta  BETA
0   rs79373928  T  0.002034   0.0
1    rs4970382  T -0.002658   0.0
2   rs13303222  G  0.003237   0.0
3   rs72631889  G  0.013190   0.0
4  rs192998324  A -0.011314   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
           SNP A1      beta  BETA
0   rs79373928  T  0.002034   0.0
1    rs4970382  T -0.002658   0.0
2   rs13303222  G  0.003237   0.0
3   rs72631889  G  0.013190   0.0
4  rs192998324  A -0.011314   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
           SNP A1      beta  BETA
0   rs79373928  T  0.002034   0.0
1    rs4970382  T -0.002658   0.0
2   rs13303222  G  0.003237   0.0
3   rs72631889  G  0.013190   0.0
4  rs192998324  A -0.011314   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
           SNP A1      beta  BETA
0   rs79373928  T  0.002034   0.0
1    rs4970382  T -0.002658   0.0
2   rs13303222  G  0.003237   0.0
3   rs72631889  G  0.013190   0.0
4  rs192998324  A -0.011314   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
           SNP A1      beta  BETA
0   rs79373928  T  0.002034   0.0
1    rs4970382  T -0.002658   0.0
2   rs13303222  G  0.003237   0.0
3   rs72631889  G  0.013190   0.0
4  rs192998324  A -0.011314   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
           SNP A1      beta  BETA
0   rs79373928  T  0.002034   0.0
1    rs4970382  T -0.002658   0.0
2   rs13303222  G  0.003237   0.0
3   rs72631889  G  0.013190   0.0
4  rs192998324  A -0.011314   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
           SNP A1      beta  BETA
0   rs79373928  T  0.002034   0.0
1    rs4970382  T -0.002658   0.0
2   rs13303222  G  0.003237   0.0
3   rs72631889  G  0.013190   0.0
4  rs192998324  A -0.011314   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034       0.0
1    rs4970382  T -0.002658       0.0
2   rs13303222  G  0.003237       0.0
3   rs72631889  G  0.013190       0.0
4  rs192998324  A -0.011314       0.0
           SNP A1      beta  BETA
0   rs79373928  T  0.002034   0.0
1    rs4970382  T -0.002658   0.0
2   rs13303222  G  0.003237   0.0
3   rs72631889  G  0.013190   0.0
4  rs192998324  A -0.011314   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034  0.000000
1    rs4970382  T -0.002658  0.000000
2   rs13303222  G  0.003237  0.000000
3   rs72631889  G  0.013190  0.001992
4  rs192998324  A -0.011314 -0.000726
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034  0.000000
1    rs4970382  T -0.002658  0.000000
2   rs13303222  G  0.003237  0.000000
3   rs72631889  G  0.013190  0.001992
4  rs192998324  A -0.011314 -0.000726
           SNP A1      beta      BETA
0   rs79373928  T  0.002034  0.000000
1    rs4970382  T -0.002658  0.000000
2   rs13303222  G  0.003237  0.000000
3   rs72631889  G  0.013190  0.001992
4  rs192998324  A -0.011314 -0.000726
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034  0.000000
1    rs4970382  T -0.002658 -0.000270
2   rs13303222  G  0.003237  0.000278
3   rs72631889  G  0.013190  0.003301
4  rs192998324  A -0.011314 -0.002545
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034  0.000000
1    rs4970382  T -0.002658 -0.000270
2   rs13303222  G  0.003237  0.000278
3   rs72631889  G  0.013190  0.003301
4  rs192998324  A -0.011314 -0.002545
           SNP A1      beta      BETA
0   rs79373928  T  0.002034  0.000000
1    rs4970382  T -0.002658 -0.000270
2   rs13303222  G  0.003237  0.000278
3   rs72631889  G  0.013190  0.003301
4  rs192998324  A -0.011314 -0.002545
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034  0.000000
1    rs4970382  T -0.002658 -0.000755
2   rs13303222  G  0.003237  0.000897
3   rs72631889  G  0.013190  0.004127
4  rs192998324  A -0.011314 -0.003694
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034  0.000000
1    rs4970382  T -0.002658 -0.000755
2   rs13303222  G  0.003237  0.000897
3   rs72631889  G  0.013190  0.004127
4  rs192998324  A -0.011314 -0.003694
           SNP A1      beta      BETA
0   rs79373928  T  0.002034  0.000000
1    rs4970382  T -0.002658 -0.000755
2   rs13303222  G  0.003237  0.000897
3   rs72631889  G  0.013190  0.004127
4  rs192998324  A -0.011314 -0.003694
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034  0.000000
1    rs4970382  T -0.002658 -0.001061
2   rs13303222  G  0.003237  0.001287
3   rs72631889  G  0.013190  0.004648
4  rs192998324  A -0.011314 -0.004418
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034  0.000000
1    rs4970382  T -0.002658 -0.001061
2   rs13303222  G  0.003237  0.001287
3   rs72631889  G  0.013190  0.004648
4  rs192998324  A -0.011314 -0.004418
           SNP A1      beta      BETA
0   rs79373928  T  0.002034  0.000000
1    rs4970382  T -0.002658 -0.001061
2   rs13303222  G  0.003237  0.001287
3   rs72631889  G  0.013190  0.004648
4  rs192998324  A -0.011314 -0.004418
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034  0.000000
1    rs4970382  T -0.002658 -0.001254
2   rs13303222  G  0.003237  0.001533
3   rs72631889  G  0.013190  0.004976
4  rs192998324  A -0.011314 -0.004875
       rsid.ss a0      beta  newbetas
0   rs79373928  T  0.002034  0.000000
1    rs4970382  T -0.002658 -0.001254
2   rs13303222  G  0.003237  0.001533
3   rs72631889  G  0.013190  0.004976
4  rs192998324  A -0.011314 -0.004875
           SNP A1      beta      BETA
0   rs79373928  T  0.002034  0.000000
1    rs4970382  T -0.002658 -0.001254
2   rs13303222  G  0.003237  0.001533
3   rs72631889  G  0.013190  0.004976
4  rs192998324  A -0.011314 -0.004875
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
Warning: 3658 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 154717 valid predictors loaded.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
Warning: 3658 lines skipped in --q-score-range data file.
       FID      IID  Sex
0  HG00097  HG00097    2
1  HG00099  HG00099    2
2  HG00101  HG00101    1
3  HG00102  HG00102    2
4  HG00103  HG00103    1
380
380
Removed: SampleData1/Fold_0/train_data.ldpred_lassosum_parameters
Removed: SampleData1/Fold_0/train_data.ldpred_lassosum_betas
Removed: SampleData1/Fold_0/train_data.ldpred_lassosum_gwas
File does not exist: SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas
Removed: SampleData1/Fold_0/ldpred_h2_full.txt
File does not exist: SampleData1/Fold_0/ldpred_h2_hapmap.txt
[1] "SampleData1"                  "SampleData1/Fold_0"          
[3] "train_data"                   "train_data.QC.clumped.pruned"
[5] "2"                            "200"                         
[7] "1"                            "0.1"                         
[9] "6"                           
Loading required package: bigstatsr
trying URL 'https://ndownloader.figshare.com/files/25503788'
Content type 'application/octet-stream' length 35191166 bytes (33.6 MB)
==================================================
downloaded 33.6 MB
[1] "Directory .//SampleData1/Fold_0//tmp-data deleted."
[1] "File .//SampleData1/Fold_0//train_data.QC.clumped.pruned.rds deleted."
[1] "File .//SampleData1/Fold_0//train_data.QC.clumped.pruned.bk deleted."
132,375 variants to be matched.
0 ambiguous SNPs have been removed.
35,527 variants have been matched; 0 were flipped and 847 were reversed.
[1] 2975
Creating directory ".//SampleData1/Fold_0//tmp-data" which didn't exist..
[1] 2599
[1] 2230
[1] 1924
[1] 2121
[1] 2192
[1] 1794
[1] 1715
[1] 1702
[1] 1917
[1] 1675
[1] 1802
[1] 1352
[1] 1230
[1] 1178
[1] 1222
[1] 1253
[1] 1164
[1] 1066
[1] 1100
[1] 601
[1] 715
[1] "File .//SampleData1/Fold_0//ldpred_h2_variants.txt deleted."
Warning message:
package ‘magrittr’ was built under R version 4.1.3 
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
          SNP A1      beta  BETA
0  rs35940137  G  0.008214   0.0
1   rs6687776  C  0.001960   0.0
2   rs9442373  A  0.002084   0.0
3   rs1887284  G -0.000518   0.0
4  rs11589067  G -0.008649   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
          SNP A1      beta  BETA
0  rs35940137  G  0.008214   0.0
1   rs6687776  C  0.001960   0.0
2   rs9442373  A  0.002084   0.0
3   rs1887284  G -0.000518   0.0
4  rs11589067  G -0.008649   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
          SNP A1      beta  BETA
0  rs35940137  G  0.008214   0.0
1   rs6687776  C  0.001960   0.0
2   rs9442373  A  0.002084   0.0
3   rs1887284  G -0.000518   0.0
4  rs11589067  G -0.008649   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
          SNP A1      beta  BETA
0  rs35940137  G  0.008214   0.0
1   rs6687776  C  0.001960   0.0
2   rs9442373  A  0.002084   0.0
3   rs1887284  G -0.000518   0.0
4  rs11589067  G -0.008649   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
          SNP A1      beta  BETA
0  rs35940137  G  0.008214   0.0
1   rs6687776  C  0.001960   0.0
2   rs9442373  A  0.002084   0.0
3   rs1887284  G -0.000518   0.0
4  rs11589067  G -0.008649   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214  0.001084
1   rs6687776  C  0.001960  0.000000
2   rs9442373  A  0.002084  0.000000
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.002402
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214  0.001084
1   rs6687776  C  0.001960  0.000000
2   rs9442373  A  0.002084  0.000000
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.002402
          SNP A1      beta      BETA
0  rs35940137  G  0.008214  0.001084
1   rs6687776  C  0.001960  0.000000
2   rs9442373  A  0.002084  0.000000
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.002402
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214  0.003712
1   rs6687776  C  0.001960  0.000000
2   rs9442373  A  0.002084  0.000000
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.004704
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214  0.003712
1   rs6687776  C  0.001960  0.000000
2   rs9442373  A  0.002084  0.000000
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.004704
          SNP A1      beta      BETA
0  rs35940137  G  0.008214  0.003712
1   rs6687776  C  0.001960  0.000000
2   rs9442373  A  0.002084  0.000000
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.004704
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
          SNP A1      beta  BETA
0  rs35940137  G  0.008214   0.0
1   rs6687776  C  0.001960   0.0
2   rs9442373  A  0.002084   0.0
3   rs1887284  G -0.000518   0.0
4  rs11589067  G -0.008649   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
          SNP A1      beta  BETA
0  rs35940137  G  0.008214   0.0
1   rs6687776  C  0.001960   0.0
2   rs9442373  A  0.002084   0.0
3   rs1887284  G -0.000518   0.0
4  rs11589067  G -0.008649   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
          SNP A1      beta  BETA
0  rs35940137  G  0.008214   0.0
1   rs6687776  C  0.001960   0.0
2   rs9442373  A  0.002084   0.0
3   rs1887284  G -0.000518   0.0
4  rs11589067  G -0.008649   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
          SNP A1      beta  BETA
0  rs35940137  G  0.008214   0.0
1   rs6687776  C  0.001960   0.0
2   rs9442373  A  0.002084   0.0
3   rs1887284  G -0.000518   0.0
4  rs11589067  G -0.008649   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
          SNP A1      beta  BETA
0  rs35940137  G  0.008214   0.0
1   rs6687776  C  0.001960   0.0
2   rs9442373  A  0.002084   0.0
3   rs1887284  G -0.000518   0.0
4  rs11589067  G -0.008649   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
          SNP A1      beta  BETA
0  rs35940137  G  0.008214   0.0
1   rs6687776  C  0.001960   0.0
2   rs9442373  A  0.002084   0.0
3   rs1887284  G -0.000518   0.0
4  rs11589067  G -0.008649   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
          SNP A1      beta  BETA
0  rs35940137  G  0.008214   0.0
1   rs6687776  C  0.001960   0.0
2   rs9442373  A  0.002084   0.0
3   rs1887284  G -0.000518   0.0
4  rs11589067  G -0.008649   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
          SNP A1      beta  BETA
0  rs35940137  G  0.008214   0.0
1   rs6687776  C  0.001960   0.0
2   rs9442373  A  0.002084   0.0
3   rs1887284  G -0.000518   0.0
4  rs11589067  G -0.008649   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214  0.001074
1   rs6687776  C  0.001960  0.000000
2   rs9442373  A  0.002084  0.000000
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.002380
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214  0.001074
1   rs6687776  C  0.001960  0.000000
2   rs9442373  A  0.002084  0.000000
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.002380
          SNP A1      beta      BETA
0  rs35940137  G  0.008214  0.001074
1   rs6687776  C  0.001960  0.000000
2   rs9442373  A  0.002084  0.000000
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.002380
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214  0.003679
1   rs6687776  C  0.001960  0.000000
2   rs9442373  A  0.002084  0.000000
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.004662
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214  0.003679
1   rs6687776  C  0.001960  0.000000
2   rs9442373  A  0.002084  0.000000
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.004662
          SNP A1      beta      BETA
0  rs35940137  G  0.008214  0.003679
1   rs6687776  C  0.001960  0.000000
2   rs9442373  A  0.002084  0.000000
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.004662
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
          SNP A1      beta  BETA
0  rs35940137  G  0.008214   0.0
1   rs6687776  C  0.001960   0.0
2   rs9442373  A  0.002084   0.0
3   rs1887284  G -0.000518   0.0
4  rs11589067  G -0.008649   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
          SNP A1      beta  BETA
0  rs35940137  G  0.008214   0.0
1   rs6687776  C  0.001960   0.0
2   rs9442373  A  0.002084   0.0
3   rs1887284  G -0.000518   0.0
4  rs11589067  G -0.008649   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
          SNP A1      beta  BETA
0  rs35940137  G  0.008214   0.0
1   rs6687776  C  0.001960   0.0
2   rs9442373  A  0.002084   0.0
3   rs1887284  G -0.000518   0.0
4  rs11589067  G -0.008649   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
          SNP A1      beta  BETA
0  rs35940137  G  0.008214   0.0
1   rs6687776  C  0.001960   0.0
2   rs9442373  A  0.002084   0.0
3   rs1887284  G -0.000518   0.0
4  rs11589067  G -0.008649   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
          SNP A1      beta  BETA
0  rs35940137  G  0.008214   0.0
1   rs6687776  C  0.001960   0.0
2   rs9442373  A  0.002084   0.0
3   rs1887284  G -0.000518   0.0
4  rs11589067  G -0.008649   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
          SNP A1      beta  BETA
0  rs35940137  G  0.008214   0.0
1   rs6687776  C  0.001960   0.0
2   rs9442373  A  0.002084   0.0
3   rs1887284  G -0.000518   0.0
4  rs11589067  G -0.008649   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
          SNP A1      beta  BETA
0  rs35940137  G  0.008214   0.0
1   rs6687776  C  0.001960   0.0
2   rs9442373  A  0.002084   0.0
3   rs1887284  G -0.000518   0.0
4  rs11589067  G -0.008649   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
          SNP A1      beta  BETA
0  rs35940137  G  0.008214   0.0
1   rs6687776  C  0.001960   0.0
2   rs9442373  A  0.002084   0.0
3   rs1887284  G -0.000518   0.0
4  rs11589067  G -0.008649   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214  0.000986
1   rs6687776  C  0.001960  0.000000
2   rs9442373  A  0.002084  0.000000
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.002186
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214  0.000986
1   rs6687776  C  0.001960  0.000000
2   rs9442373  A  0.002084  0.000000
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.002186
          SNP A1      beta      BETA
0  rs35940137  G  0.008214  0.000986
1   rs6687776  C  0.001960  0.000000
2   rs9442373  A  0.002084  0.000000
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.002186
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214  0.003378
1   rs6687776  C  0.001960  0.000000
2   rs9442373  A  0.002084  0.000000
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.004281
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214  0.003378
1   rs6687776  C  0.001960  0.000000
2   rs9442373  A  0.002084  0.000000
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.004281
          SNP A1      beta      BETA
0  rs35940137  G  0.008214  0.003378
1   rs6687776  C  0.001960  0.000000
2   rs9442373  A  0.002084  0.000000
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.004281
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214  0.004887
1   rs6687776  C  0.001960  0.000099
2   rs9442373  A  0.002084  0.000655
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.005603
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214  0.004887
1   rs6687776  C  0.001960  0.000099
2   rs9442373  A  0.002084  0.000655
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.005603
          SNP A1      beta      BETA
0  rs35940137  G  0.008214  0.004887
1   rs6687776  C  0.001960  0.000099
2   rs9442373  A  0.002084  0.000655
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.005603
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214  0.005839
1   rs6687776  C  0.001960  0.000720
2   rs9442373  A  0.002084  0.001112
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.006437
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214  0.005839
1   rs6687776  C  0.001960  0.000720
2   rs9442373  A  0.002084  0.001112
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.006437
          SNP A1      beta      BETA
0  rs35940137  G  0.008214  0.005839
1   rs6687776  C  0.001960  0.000720
2   rs9442373  A  0.002084  0.001112
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.006437
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214  0.006440
1   rs6687776  C  0.001960  0.001112
2   rs9442373  A  0.002084  0.001401
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.006963
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214  0.006440
1   rs6687776  C  0.001960  0.001112
2   rs9442373  A  0.002084  0.001401
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.006963
          SNP A1      beta      BETA
0  rs35940137  G  0.008214  0.006440
1   rs6687776  C  0.001960  0.001112
2   rs9442373  A  0.002084  0.001401
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.006963
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
          SNP A1      beta  BETA
0  rs35940137  G  0.008214   0.0
1   rs6687776  C  0.001960   0.0
2   rs9442373  A  0.002084   0.0
3   rs1887284  G -0.000518   0.0
4  rs11589067  G -0.008649   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
          SNP A1      beta  BETA
0  rs35940137  G  0.008214   0.0
1   rs6687776  C  0.001960   0.0
2   rs9442373  A  0.002084   0.0
3   rs1887284  G -0.000518   0.0
4  rs11589067  G -0.008649   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
          SNP A1      beta  BETA
0  rs35940137  G  0.008214   0.0
1   rs6687776  C  0.001960   0.0
2   rs9442373  A  0.002084   0.0
3   rs1887284  G -0.000518   0.0
4  rs11589067  G -0.008649   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
          SNP A1      beta  BETA
0  rs35940137  G  0.008214   0.0
1   rs6687776  C  0.001960   0.0
2   rs9442373  A  0.002084   0.0
3   rs1887284  G -0.000518   0.0
4  rs11589067  G -0.008649   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214       0.0
1   rs6687776  C  0.001960       0.0
2   rs9442373  A  0.002084       0.0
3   rs1887284  G -0.000518       0.0
4  rs11589067  G -0.008649       0.0
          SNP A1      beta  BETA
0  rs35940137  G  0.008214   0.0
1   rs6687776  C  0.001960   0.0
2   rs9442373  A  0.002084   0.0
3   rs1887284  G -0.000518   0.0
4  rs11589067  G -0.008649   0.0
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214  0.000542
1   rs6687776  C  0.001960  0.000000
2   rs9442373  A  0.002084  0.000000
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.001202
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214  0.000542
1   rs6687776  C  0.001960  0.000000
2   rs9442373  A  0.002084  0.000000
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.001202
          SNP A1      beta      BETA
0  rs35940137  G  0.008214  0.000542
1   rs6687776  C  0.001960  0.000000
2   rs9442373  A  0.002084  0.000000
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.001202
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
Warning: 16323 lines skipped in --q-score-range data file.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
Warning: 16323 lines skipped in --q-score-range data file.
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214  0.001858
1   rs6687776  C  0.001960  0.000000
2   rs9442373  A  0.002084  0.000000
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.002354
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214  0.001858
1   rs6687776  C  0.001960  0.000000
2   rs9442373  A  0.002084  0.000000
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.002354
          SNP A1      beta      BETA
0  rs35940137  G  0.008214  0.001858
1   rs6687776  C  0.001960  0.000000
2   rs9442373  A  0.002084  0.000000
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.002354
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214  0.002688
1   rs6687776  C  0.001960  0.000054
2   rs9442373  A  0.002084  0.000360
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.003081
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214  0.002688
1   rs6687776  C  0.001960  0.000054
2   rs9442373  A  0.002084  0.000360
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.003081
          SNP A1      beta      BETA
0  rs35940137  G  0.008214  0.002688
1   rs6687776  C  0.001960  0.000054
2   rs9442373  A  0.002084  0.000360
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.003081
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214  0.003212
1   rs6687776  C  0.001960  0.000396
2   rs9442373  A  0.002084  0.000612
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.003540
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214  0.003212
1   rs6687776  C  0.001960  0.000396
2   rs9442373  A  0.002084  0.000612
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.003540
          SNP A1      beta      BETA
0  rs35940137  G  0.008214  0.003212
1   rs6687776  C  0.001960  0.000396
2   rs9442373  A  0.002084  0.000612
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.003540
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214  0.003542
1   rs6687776  C  0.001960  0.000611
2   rs9442373  A  0.002084  0.000771
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.003830
      rsid.ss a0      beta  newbetas
0  rs35940137  G  0.008214  0.003542
1   rs6687776  C  0.001960  0.000611
2   rs9442373  A  0.002084  0.000771
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.003830
          SNP A1      beta      BETA
0  rs35940137  G  0.008214  0.003542
1   rs6687776  C  0.001960  0.000611
2   rs9442373  A  0.002084  0.000771
3   rs1887284  G -0.000518  0.000000
4  rs11589067  G -0.008649 -0.003830
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/train_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/train_data.QC.clumped.pruned
  --out SampleData1/Fold_0/ldpred2_lassosum2/train_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
172878 variants loaded from .bim file.
380 people (183 males, 197 females) loaded from .fam.
380 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 380 founders and 0 nonfounders present.
Calculating allele frequencies... 10111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989 done.
Total genotyping rate is 0.999891.
172878 variants and 380 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/train_data.*.profile.
PLINK v1.90b7.2 64-bit (11 Dec 2023)           www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to SampleData1/Fold_0/ldpred2_lassosum2/test_data.log.
Options in effect:
  --bfile SampleData1/Fold_0/test_data
  --out SampleData1/Fold_0/ldpred2_lassosum2/test_data
  --q-score-range SampleData1/Fold_0/range_list SampleData1/Fold_0/SNP_SBLUP.pvalue
  --score SampleData1/Fold_0/train_data.ldpred_lassosum2_gwas_final 1 2 3 header

63761 MB RAM detected; reserving 31880 MB for main workspace.
551892 variants loaded from .bim file.
95 people (44 males, 51 females) loaded from .fam.
95 phenotype values loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 95 founders and 0 nonfounders present.
Calculating allele frequencies... 0%1%2%3%4%5%6%7%8%9%10%11%12%13%14%15%16%17%18%19%20%21%22%23%24%25%26%27%28%29%30%31%32%33%34%35%36%37%38%39%40%41%42%43%44%45%46%47%48%49%50%51%52%53%54%55%56%57%58%59%60%61%62%63%64%65%66%67%68%69%70%71%72%73%74%75%76%77%78%79%80%81%82%83%84%85%86%87%88%89%90%91%92%93%94%95%96%97%98%99% done.
Total genotyping rate is 0.999896.
551892 variants and 95 people pass filters and QC.
Phenotype data is quantitative.
--score: 35527 valid predictors loaded.
Warning: 16323 lines skipped in --q-score-range data file.
--score: 20 ranges processed.
Results written to SampleData1/Fold_0/ldpred2_lassosum2/test_data.*.profile.
Continous Phenotype!

Repeat the process for each fold.#

Change the foldnumber variable.

#foldnumber = sys.argv[1]
foldnumber = "0"  # Setting 'foldnumber' to "0"

Or uncomment the following line:

# foldnumber = sys.argv[1]
python LDpred-2-Lassosum.py 0
python LDpred-2-Lassosum.py 1
python LDpred-2-Lassosum.py 2
python LDpred-2-Lassosum.py 3
python LDpred-2-Lassosum.py 4

The following files should exist after the execution:

  1. SampleData1/Fold_0/LDpred-2-Lassosum/Results.csv

  2. SampleData1/Fold_1/LDpred-2-Lassosum/Results.csv

  3. SampleData1/Fold_2/LDpred-2-Lassosum/Results.csv

  4. SampleData1/Fold_3/LDpred-2-Lassosum/Results.csv

  5. SampleData1/Fold_4/LDpred-2-Lassosum/Results.csv

Check the results file for each fold.#

import os


# List of file names to check for existence
f = [
    "./"+filedirec+"/Fold_0"+os.sep+result_directory+"Results.csv",
    "./"+filedirec+"/Fold_1"+os.sep+result_directory+"Results.csv",
    "./"+filedirec+"/Fold_2"+os.sep+result_directory+"Results.csv",
    "./"+filedirec+"/Fold_3"+os.sep+result_directory+"Results.csv",
    "./"+filedirec+"/Fold_4"+os.sep+result_directory+"Results.csv",
]

 

# Loop through each file name in the list
for loop in range(0,5):
    # Check if the file exists in the specified directory for the given fold
    if os.path.exists(filedirec+os.sep+"Fold_"+str(loop)+os.sep+result_directory+os.sep+"Results.csv"):
        temp = pd.read_csv(filedirec+os.sep+"Fold_"+str(loop)+os.sep+result_directory+os.sep+"Results.csv")
        print("Fold_",loop, "Yes, the file exists.")
        #print(temp.head())
        print("Number of P-values processed: ",len(temp))
        # Print a message indicating that the file exists
    
    else:
        # Print a message indicating that the file does not exist
        print("Fold_",loop, "No, the file does not exist.")
Fold_ 0 Yes, the file exists.
Number of P-values processed:  1600
Fold_ 1 Yes, the file exists.
Number of P-values processed:  1600
Fold_ 2 Yes, the file exists.
Number of P-values processed:  1600
Fold_ 3 Yes, the file exists.
Number of P-values processed:  1600
Fold_ 4 Yes, the file exists.
Number of P-values processed:  1600

Sum the results for each fold.#

print("We have to ensure when we sum the entries across all Folds, the same rows are merged!")

def sum_and_average_columns(data_frames):
    """Sum and average numerical columns across multiple DataFrames, and keep non-numerical columns unchanged."""
    # Initialize DataFrame to store the summed results for numerical columns
    summed_df = pd.DataFrame()
    non_numerical_df = pd.DataFrame()
    
    for df in data_frames:
        # Identify numerical and non-numerical columns
        numerical_cols = df.select_dtypes(include=[np.number]).columns
        non_numerical_cols = df.select_dtypes(exclude=[np.number]).columns
        
        # Sum numerical columns
        if summed_df.empty:
            summed_df = pd.DataFrame(0, index=range(len(df)), columns=numerical_cols)
        
        summed_df[numerical_cols] = summed_df[numerical_cols].add(df[numerical_cols], fill_value=0)
        
        # Keep non-numerical columns (take the first non-numerical entry for each column)
        if non_numerical_df.empty:
            non_numerical_df = df[non_numerical_cols]
        else:
            non_numerical_df[non_numerical_cols] = non_numerical_df[non_numerical_cols].combine_first(df[non_numerical_cols])
    
    # Divide the summed values by the number of dataframes to get the average
    averaged_df = summed_df / len(data_frames)
    
    # Combine numerical and non-numerical DataFrames
    result_df = pd.concat([averaged_df, non_numerical_df], axis=1)
    
    return result_df

from functools import reduce

import os
import pandas as pd
from functools import reduce

def find_common_rows(allfoldsframe):
    # Define the performance columns that need to be excluded
    performance_columns = [
        'Train_null_model', 'Train_pure_prs', 'Train_best_model',
        'Test_pure_prs', 'Test_null_model', 'Test_best_model'
    ]
    
    # Based on these columns a unique combination of hyperparameters can be defined for all PRS Tools. 
    
    important_columns = [
        'clump_p1',
        'clump_r2',
        'clump_kb',
        'p_window_size',
        'p_slide_size',
        'p_LD_threshold',
        'pvalue',
        'referencepanel',
        'PRSice-2_Model',
        'effectsizes',
        'h2model',
        #'lambda',
        #'delta',
        'model',
        'numberofpca',
        'tempalpha',
        'l1weight',
        'LDpred-funct-bins',
        "heritability_model",
        "unique_h2",
        "grid_pvalue",
        "burn_in", 
        "num_iter",
        "sparse",
        "temp_pvalue",              
        "allow_jump_sign" ,
        "shrink_corr" ,
        "use_MLE" ,
        #"sparsity",
        "lasso_parameters_count",
              
    ]
    # Function to remove performance columns from a DataFrame
    def drop_performance_columns(df):
        return df.drop(columns=performance_columns, errors='ignore')
    
    def get_important_columns(df ):
        existing_columns = [col for col in important_columns if col in df.columns]
        if existing_columns:
            return df[existing_columns].copy()
        else:
            return pd.DataFrame()

    # Drop performance columns from all DataFrames in the list
    allfoldsframe_dropped = [drop_performance_columns(df) for df in allfoldsframe]
    
    # Get the important columns.
    allfoldsframe_dropped = [get_important_columns(df) for df in allfoldsframe_dropped]    
    
    # Iteratively find common rows and track unique and common rows
    common_rows = allfoldsframe_dropped[0]
    for i in range(1, len(allfoldsframe_dropped)):
        # Get the next DataFrame
        next_df = allfoldsframe_dropped[i]

        # Count unique rows in the current DataFrame and the next DataFrame
        unique_in_common = common_rows.shape[0]
        unique_in_next = next_df.shape[0]

        # Find common rows between the current common_rows and the next DataFrame
        common_rows = pd.merge(common_rows, next_df, how='inner')
    
        # Count the common rows after merging
        common_count = common_rows.shape[0]

        # Print the unique and common row counts
        print(f"Iteration {i}:")
        print(f"Unique rows in current common DataFrame: {unique_in_common}")
        print(f"Unique rows in next DataFrame: {unique_in_next}")
        print(f"Common rows after merge: {common_count}\n")
    # Now that we have the common rows, extract these from the original DataFrames
 
    extracted_common_rows_frames = []
    for original_df in allfoldsframe:
        # Merge the common rows with the original DataFrame, keeping only the rows that match the common rows
        extracted_common_rows = pd.merge(common_rows, original_df, how='inner', on=common_rows.columns.tolist())
        
        # Add the DataFrame with the extracted common rows to the list
        extracted_common_rows_frames.append(extracted_common_rows)

    # Print the number of rows in the common DataFrames
    for i, df in enumerate(extracted_common_rows_frames):
        print(f"DataFrame {i + 1} with extracted common rows has {df.shape[0]} rows.")

    # Return the list of DataFrames with extracted common rows
    return extracted_common_rows_frames


# Example usage (assuming allfoldsframe is populated as shown earlier):
allfoldsframe = []

# Loop through each file name in the list
for loop in range(0, 5):
    # Check if the file exists in the specified directory for the given fold
    file_path = os.path.join(filedirec, "Fold_" + str(loop), result_directory, "Results.csv")
    if os.path.exists(file_path):
        temp = pd.read_csv(file_path)
        temp.rename(columns={'lambda': 'lasso_lambda'}, inplace=True)
        temp.rename(columns={'delta': 'lasso_delta'}, inplace=True)
        temp.rename(columns={'delta': 'lasso_delta'}, inplace=True)        
        allfoldsframe.append(temp)
        # Print a message indicating that the file exists
        print("Fold_", loop, "Yes, the file exists.")
    else:
        # Print a message indicating that the file does not exist
        print("Fold_", loop, "No, the file does not exist.")

# Find the common rows across all folds and return the list of extracted common rows
extracted_common_rows_list = find_common_rows(allfoldsframe)
 
# Sum the values column-wise
# For string values, do not sum it the values are going to be the same for each fold.
# Only sum the numeric values.

divided_result = sum_and_average_columns(extracted_common_rows_list)
  
print(divided_result)

 
We have to ensure when we sum the entries across all Folds, the same rows are merged!
Fold_ 0 Yes, the file exists.
Fold_ 1 Yes, the file exists.
Fold_ 2 Yes, the file exists.
Fold_ 3 Yes, the file exists.
Fold_ 4 Yes, the file exists.
Iteration 1:
Unique rows in current common DataFrame: 1600
Unique rows in next DataFrame: 1600
Common rows after merge: 1440

Iteration 2:
Unique rows in current common DataFrame: 1440
Unique rows in next DataFrame: 1600
Common rows after merge: 1440

Iteration 3:
Unique rows in current common DataFrame: 1440
Unique rows in next DataFrame: 1600
Common rows after merge: 1440

Iteration 4:
Unique rows in current common DataFrame: 1440
Unique rows in next DataFrame: 1600
Common rows after merge: 1440

DataFrame 1 with extracted common rows has 1440 rows.
DataFrame 2 with extracted common rows has 1440 rows.
DataFrame 3 with extracted common rows has 1440 rows.
DataFrame 4 with extracted common rows has 1440 rows.
DataFrame 5 with extracted common rows has 1440 rows.
      clump_p1  clump_r2  clump_kb  p_window_size  p_slide_size  \
0          1.0       0.1     200.0          200.0          50.0   
1          1.0       0.1     200.0          200.0          50.0   
2          1.0       0.1     200.0          200.0          50.0   
3          1.0       0.1     200.0          200.0          50.0   
4          1.0       0.1     200.0          200.0          50.0   
...        ...       ...       ...            ...           ...   
1435       1.0       0.1     200.0          200.0          50.0   
1436       1.0       0.1     200.0          200.0          50.0   
1437       1.0       0.1     200.0          200.0          50.0   
1438       1.0       0.1     200.0          200.0          50.0   
1439       1.0       0.1     200.0          200.0          50.0   

      p_LD_threshold        pvalue  numberofpca  tempalpha  l1weight  ...  \
0               0.25  3.359818e-10          6.0        0.1       0.1  ...   
1               0.25  1.128838e-09          6.0        0.1       0.1  ...   
2               0.25  3.792690e-09          6.0        0.1       0.1  ...   
3               0.25  1.274275e-08          6.0        0.1       0.1  ...   
4               0.25  4.281332e-08          6.0        0.1       0.1  ...   
...              ...           ...          ...        ...       ...  ...   
1435            0.25  7.847600e-03          6.0        0.1       0.1  ...   
1436            0.25  2.636651e-02          6.0        0.1       0.1  ...   
1437            0.25  8.858668e-02          6.0        0.1       0.1  ...   
1438            0.25  2.976351e-01          6.0        0.1       0.1  ...   
1439            0.25  1.000000e+00          6.0        0.1       0.1  ...   

      lasso_lambda  lasso_delta  sparsity  Train_pure_prs  Train_null_model  \
0         0.026873        0.001  0.999907       -0.000003           0.23001   
1         0.026873        0.001  0.999907       -0.000004           0.23001   
2         0.026873        0.001  0.999907       -0.000003           0.23001   
3         0.026873        0.001  0.999907       -0.000003           0.23001   
4         0.026873        0.001  0.999907       -0.000002           0.23001   
...            ...          ...       ...             ...               ...   
1435      0.000426        1.000  0.081643       -0.000013           0.23001   
1436      0.000426        1.000  0.081643       -0.000010           0.23001   
1437      0.000426        1.000  0.081643       -0.000008           0.23001   
1438      0.000426        1.000  0.081643       -0.000006           0.23001   
1439      0.000426        1.000  0.081643       -0.000004           0.23001   

      Train_best_model  Test_pure_prs  Test_null_model  Test_best_model  \
0             0.236699      -0.000031         0.118692         0.104440   
1             0.236375      -0.000004         0.118692         0.103294   
2             0.236375      -0.000003         0.118692         0.103294   
3             0.236375      -0.000003         0.118692         0.103294   
4             0.236375      -0.000002         0.118692         0.103294   
...                ...            ...              ...              ...   
1435          0.283570      -0.000013         0.118692         0.188274   
1436          0.284594      -0.000010         0.118692         0.185457   
1437          0.292555      -0.000008         0.118692         0.198908   
1438          0.301562      -0.000006         0.118692         0.200997   
1439          0.302560      -0.000005         0.118692         0.198588   

      heritability_model  
0          LDpred-2_full  
1          LDpred-2_full  
2          LDpred-2_full  
3          LDpred-2_full  
4          LDpred-2_full  
...                  ...  
1435     LDpred-2_hapmap  
1436     LDpred-2_hapmap  
1437     LDpred-2_hapmap  
1438     LDpred-2_hapmap  
1439     LDpred-2_hapmap  

[1440 rows x 23 columns]
/tmp/ipykernel_774181/1149296740.py:24: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  non_numerical_df[non_numerical_cols] = non_numerical_df[non_numerical_cols].combine_first(df[non_numerical_cols])
/tmp/ipykernel_774181/1149296740.py:24: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  non_numerical_df[non_numerical_cols] = non_numerical_df[non_numerical_cols].combine_first(df[non_numerical_cols])
/tmp/ipykernel_774181/1149296740.py:24: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  non_numerical_df[non_numerical_cols] = non_numerical_df[non_numerical_cols].combine_first(df[non_numerical_cols])
/tmp/ipykernel_774181/1149296740.py:24: SettingWithCopyWarning: 
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
  non_numerical_df[non_numerical_cols] = non_numerical_df[non_numerical_cols].combine_first(df[non_numerical_cols])

Results#

1. Reporting Based on Best Training Performance:#

  • One can report the results based on the best performance of the training data. For example, if for a specific combination of hyperparameters, the training performance is high, report the corresponding test performance.

  • Example code:

    df = divided_result.sort_values(by='Train_best_model', ascending=False)
    print(df.iloc[0].to_markdown())
    

Binary Phenotypes Result Analysis#

You can find the performance quality for binary phenotype using the following template:

PerformanceBinary

This figure shows the 8 different scenarios that can exist in the results, and the following table explains each scenario.

We classified performance based on the following table:

Performance Level

Range

Low Performance

0 to 0.5

Moderate Performance

0.6 to 0.7

High Performance

0.8 to 1

You can match the performance based on the following scenarios:

Scenario

What’s Happening

Implication

High Test, High Train

The model performs well on both training and test datasets, effectively learning the underlying patterns.

The model is well-tuned, generalizes well, and makes accurate predictions on both datasets.

High Test, Moderate Train

The model generalizes well but may not be fully optimized on training data, missing some underlying patterns.

The model is fairly robust but may benefit from further tuning or more training to improve its learning.

High Test, Low Train

An unusual scenario, potentially indicating data leakage or overestimation of test performance.

The model’s performance is likely unreliable; investigate potential data issues or random noise.

Moderate Test, High Train

The model fits the training data well but doesn’t generalize as effectively, capturing only some test patterns.

The model is slightly overfitting; adjustments may be needed to improve generalization on unseen data.

Moderate Test, Moderate Train

The model shows balanced but moderate performance on both datasets, capturing some patterns but missing others.

The model is moderately fitting; further improvements could be made in both training and generalization.

Moderate Test, Low Train

The model underperforms on training data and doesn’t generalize well, leading to moderate test performance.

The model may need more complexity, additional features, or better training to improve on both datasets.

Low Test, High Train

The model overfits the training data, performing poorly on the test set.

The model doesn’t generalize well; simplifying the model or using regularization may help reduce overfitting.

Low Test, Low Train

The model performs poorly on both training and test datasets, failing to learn the data patterns effectively.

The model is underfitting; it may need more complexity, additional features, or more data to improve performance.

Recommendations for Publishing Results#

When publishing results, scenarios with moderate train and moderate test performance can be used for complex phenotypes or diseases. However, results showing high train and moderate test, high train and high test, and moderate train and high test are recommended.

For most phenotypes, results typically fall in the moderate train and moderate test performance category.

Continuous Phenotypes Result Analysis#

You can find the performance quality for continuous phenotypes using the following template:

PerformanceContinous

This figure shows the 8 different scenarios that can exist in the results, and the following table explains each scenario.

We classified performance based on the following table:

Performance Level

Range

Low Performance

0 to 0.2

Moderate Performance

0.3 to 0.7

High Performance

0.8 to 1

You can match the performance based on the following scenarios:

Scenario

What’s Happening

Implication

High Test, High Train

The model performs well on both training and test datasets, effectively learning the underlying patterns.

The model is well-tuned, generalizes well, and makes accurate predictions on both datasets.

High Test, Moderate Train

The model generalizes well but may not be fully optimized on training data, missing some underlying patterns.

The model is fairly robust but may benefit from further tuning or more training to improve its learning.

High Test, Low Train

An unusual scenario, potentially indicating data leakage or overestimation of test performance.

The model’s performance is likely unreliable; investigate potential data issues or random noise.

Moderate Test, High Train

The model fits the training data well but doesn’t generalize as effectively, capturing only some test patterns.

The model is slightly overfitting; adjustments may be needed to improve generalization on unseen data.

Moderate Test, Moderate Train

The model shows balanced but moderate performance on both datasets, capturing some patterns but missing others.

The model is moderately fitting; further improvements could be made in both training and generalization.

Moderate Test, Low Train

The model underperforms on training data and doesn’t generalize well, leading to moderate test performance.

The model may need more complexity, additional features, or better training to improve on both datasets.

Low Test, High Train

The model overfits the training data, performing poorly on the test set.

The model doesn’t generalize well; simplifying the model or using regularization may help reduce overfitting.

Low Test, Low Train

The model performs poorly on both training and test datasets, failing to learn the data patterns effectively.

The model is underfitting; it may need more complexity, additional features, or more data to improve performance.

Recommendations for Publishing Results#

When publishing results, scenarios with moderate train and moderate test performance can be used for complex phenotypes or diseases. However, results showing high train and moderate test, high train and high test, and moderate train and high test are recommended.

For most continuous phenotypes, results typically fall in the moderate train and moderate test performance category.

2. Reporting Generalized Performance:#

  • One can also report the generalized performance by calculating the difference between the training and test performance, and the sum of the test and training performance. Report the result or hyperparameter combination for which the sum is high and the difference is minimal.

  • Example code:

    df = divided_result.copy()
    df['Difference'] = abs(df['Train_best_model'] - df['Test_best_model'])
    df['Sum'] = df['Train_best_model'] + df['Test_best_model']
    
    sorted_df = df.sort_values(by=['Sum', 'Difference'], ascending=[False, True])
    print(sorted_df.iloc[0].to_markdown())
    

3. Reporting Hyperparameters Affecting Test and Train Performance:#

  • Find the hyperparameters that have more than one unique value and calculate their correlation with the following columns to understand how they are affecting the performance of train and test sets:

    • Train_null_model

    • Train_pure_prs

    • Train_best_model

    • Test_pure_prs

    • Test_null_model

    • Test_best_model

4. Other Analysis#

  1. Once you have the results, you can find how hyperparameters affect the model performance.

  2. Analysis, like overfitting and underfitting, can be performed as well.

  3. The way you are going to report the results can vary.

  4. Results can be visualized, and other patterns in the data can be explored.

import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt
%matplotlib notebook

import matplotlib
import numpy as np
import matplotlib.pyplot as plt
df = divided_result.sort_values(by='Train_best_model', ascending=False)
print("1. Reporting Based on Best Training Performance:\n")
print(df.iloc[0].to_markdown())


 
df = divided_result.copy()

# Plot Train and Test best models against p-values
plt.figure(figsize=(10, 6))
plt.plot(df['pvalue'], df['Train_best_model'], label='Train_best_model', marker='o', color='royalblue')
plt.plot(df['pvalue'], df['Test_best_model'], label='Test_best_model', marker='o', color='darkorange')

# Highlight the p-value where both train and test are high
best_index = df[['Train_best_model']].sum(axis=1).idxmax()
best_pvalue = df.loc[best_index, 'pvalue']
best_train = df.loc[best_index, 'Train_best_model']
best_test = df.loc[best_index, 'Test_best_model']

# Use dark colors for the circles
plt.scatter(best_pvalue, best_train, color='darkred', s=100, label=f'Best Performance (Train)', edgecolor='black', zorder=5)
plt.scatter(best_pvalue, best_test, color='darkblue', s=100, label=f'Best Performance (Test)', edgecolor='black', zorder=5)

# Annotate the best performance with p-value, train, and test values
plt.text(best_pvalue, best_train, f'p={best_pvalue:.4g}\nTrain={best_train:.4g}', ha='right', va='bottom', fontsize=9, color='darkred')
plt.text(best_pvalue, best_test, f'p={best_pvalue:.4g}\nTest={best_test:.4g}', ha='right', va='top', fontsize=9, color='darkblue')

# Calculate Difference and Sum
df['Difference'] = abs(df['Train_best_model'] - df['Test_best_model'])
df['Sum'] = df['Train_best_model'] + df['Test_best_model']

# Sort the DataFrame
sorted_df = df.sort_values(by=['Sum', 'Difference'], ascending=[False, True])
#sorted_df = df.sort_values(by=[ 'Difference','Sum'], ascending=[  True,False])

# Highlight the general performance
general_index = sorted_df.index[0]
general_pvalue = sorted_df.loc[general_index, 'pvalue']
general_train = sorted_df.loc[general_index, 'Train_best_model']
general_test = sorted_df.loc[general_index, 'Test_best_model']

plt.scatter(general_pvalue, general_train, color='darkgreen', s=150, label='General Performance (Train)', edgecolor='black', zorder=6)
plt.scatter(general_pvalue, general_test, color='darkorange', s=150, label='General Performance (Test)', edgecolor='black', zorder=6)

# Annotate the general performance with p-value, train, and test values
plt.text(general_pvalue, general_train, f'p={general_pvalue:.4g}\nTrain={general_train:.4g}', ha='left', va='bottom', fontsize=9, color='darkgreen')
plt.text(general_pvalue, general_test, f'p={general_pvalue:.4g}\nTest={general_test:.4g}', ha='left', va='top', fontsize=9, color='darkorange')

# Add labels and legend
plt.xlabel('p-value')
plt.ylabel('Model Performance')
plt.title('Train vs Test Best Models')
plt.legend()
plt.show()
 




print("2. Reporting Generalized Performance:\n")
df = divided_result.copy()
df['Difference'] = abs(df['Train_best_model'] - df['Test_best_model'])
df['Sum'] = df['Train_best_model'] + df['Test_best_model']
sorted_df = df.sort_values(by=['Sum', 'Difference'], ascending=[False, True])
print(sorted_df.iloc[0].to_markdown())


print("3. Reporting the correlation of hyperparameters and the performance of 'Train_null_model', 'Train_pure_prs', 'Train_best_model', 'Test_pure_prs', 'Test_null_model', and 'Test_best_model':\n")

print("3. For string hyperparameters, we used one-hot encoding to find the correlation between string hyperparameters and 'Train_null_model', 'Train_pure_prs', 'Train_best_model', 'Test_pure_prs', 'Test_null_model', and 'Test_best_model'.")

print("3. We performed this analysis for those hyperparameters that have more than one unique value.")

correlation_columns = [
 'Train_null_model', 'Train_pure_prs', 'Train_best_model',
 'Test_pure_prs', 'Test_null_model', 'Test_best_model'
]

hyperparams = [col for col in divided_result.columns if len(divided_result[col].unique()) > 1]
hyperparams = list(set(hyperparams+correlation_columns))
 
# Separate numeric and string columns
numeric_hyperparams = [col for col in hyperparams if pd.api.types.is_numeric_dtype(divided_result[col])]
string_hyperparams = [col for col in hyperparams if pd.api.types.is_string_dtype(divided_result[col])]


# Encode string columns using one-hot encoding
divided_result_encoded = pd.get_dummies(divided_result, columns=string_hyperparams)

# Combine numeric hyperparams with the new one-hot encoded columns
encoded_columns = [col for col in divided_result_encoded.columns if col.startswith(tuple(string_hyperparams))]
hyperparams = numeric_hyperparams + encoded_columns
 

# Calculate correlations
correlations = divided_result_encoded[hyperparams].corr()
 
# Display correlation of hyperparameters with train/test performance columns
hyperparam_correlations = correlations.loc[hyperparams, correlation_columns]
 
hyperparam_correlations = hyperparam_correlations.fillna(0)

# Plotting the correlation heatmap
plt.figure(figsize=(12, 8))
ax = sns.heatmap(hyperparam_correlations, annot=True, cmap='viridis', fmt='.2f', cbar=True)
ax.set_xticklabels(ax.get_xticklabels(), rotation=90, ha='right')

# Rotate y-axis labels to horizontal
#ax.set_yticklabels(ax.get_yticklabels(), rotation=0, va='center')

plt.title('Correlation of Hyperparameters with Train/Test Performance')
plt.show() 

sns.set_theme(style="whitegrid")  # Choose your preferred style
pairplot = sns.pairplot(divided_result_encoded[hyperparams],hue = 'Test_best_model', palette='viridis')

# Adjust the figure size
pairplot.fig.set_size_inches(15, 15)  # You can adjust the size as needed

for ax in pairplot.axes.flatten():
    ax.set_xlabel(ax.get_xlabel(), rotation=90, ha='right')  # X-axis labels vertical
    #ax.set_ylabel(ax.get_ylabel(), rotation=0, va='bottom')  # Y-axis labels horizontal

# Show the plot
plt.show()
1. Reporting Based on Best Training Performance:

|                        | 719                    |
|:-----------------------|:-----------------------|
| clump_p1               | 1.0                    |
| clump_r2               | 0.1                    |
| clump_kb               | 200.0                  |
| p_window_size          | 200.0                  |
| p_slide_size           | 50.0                   |
| p_LD_threshold         | 0.25                   |
| pvalue                 | 1.0                    |
| numberofpca            | 6.0                    |
| tempalpha              | 0.1                    |
| l1weight               | 0.1                    |
| lasso_parameters_count | 39.0                   |
| numberofvariants       | 169476.6               |
| h2                     | 0.194779477250122      |
| lasso_lambda           | 0.0004259039503086     |
| lasso_delta            | 1.0                    |
| sparsity               | 0.1141014122726838     |
| Train_pure_prs         | -4.208480913003853e-06 |
| Train_null_model       | 0.23001030414198934    |
| Train_best_model       | 0.35052245941230825    |
| Test_pure_prs          | -4.207476550188715e-06 |
| Test_null_model        | 0.11869244971793698    |
| Test_best_model        | 0.27350951104370264    |
| heritability_model     | LDpred-2_full          |
2. Reporting Generalized Performance:

|                        | 719                    |
|:-----------------------|:-----------------------|
| clump_p1               | 1.0                    |
| clump_r2               | 0.1                    |
| clump_kb               | 200.0                  |
| p_window_size          | 200.0                  |
| p_slide_size           | 50.0                   |
| p_LD_threshold         | 0.25                   |
| pvalue                 | 1.0                    |
| numberofpca            | 6.0                    |
| tempalpha              | 0.1                    |
| l1weight               | 0.1                    |
| lasso_parameters_count | 39.0                   |
| numberofvariants       | 169476.6               |
| h2                     | 0.194779477250122      |
| lasso_lambda           | 0.0004259039503086     |
| lasso_delta            | 1.0                    |
| sparsity               | 0.1141014122726838     |
| Train_pure_prs         | -4.208480913003853e-06 |
| Train_null_model       | 0.23001030414198934    |
| Train_best_model       | 0.35052245941230825    |
| Test_pure_prs          | -4.207476550188715e-06 |
| Test_null_model        | 0.11869244971793698    |
| Test_best_model        | 0.27350951104370264    |
| heritability_model     | LDpred-2_full          |
| Difference             | 0.07701294836860562    |
| Sum                    | 0.6240319704560109     |
3. Reporting the correlation of hyperparameters and the performance of 'Train_null_model', 'Train_pure_prs', 'Train_best_model', 'Test_pure_prs', 'Test_null_model', and 'Test_best_model':

3. For string hyperparameters, we used one-hot encoding to find the correlation between string hyperparameters and 'Train_null_model', 'Train_pure_prs', 'Train_best_model', 'Test_pure_prs', 'Test_null_model', and 'Test_best_model'.
3. We performed this analysis for those hyperparameters that have more than one unique value.