Back to Multiple platform build/check report for BioC 3.17 |
|
This page was generated on 2023-04-12 10:55:39 -0400 (Wed, 12 Apr 2023).
Hostname | OS | Arch (*) | R version | Installed pkgs |
---|---|---|---|---|
nebbiolo1 | Linux (Ubuntu 22.04.1 LTS) | x86_64 | 4.3.0 alpha (2023-04-03 r84154) | 4547 |
nebbiolo2 | Linux (Ubuntu 20.04.5 LTS) | x86_64 | R Under development (unstable) (2023-02-14 r83833) -- "Unsuffered Consequences" | 4333 |
Click on any hostname to see more info about the system (e.g. compilers) (*) as reported by 'uname -p', except on Windows and Mac OS X |
To the developers/maintainers of the MungeSumstats package: - Allow up to 24 hours (and sometimes 48 hours) for your latest push to git@git.bioconductor.org:packages/MungeSumstats.git to reflect on this report. See Troubleshooting Build Report for more information. - Use the following Renviron settings to reproduce errors and warnings. Note: If "R CMD check" recently failed on the Linux builder over a missing dependency, add the missing dependency to "Suggests" in your DESCRIPTION file. See the Renviron.bioc for details. |
Package 1329/2207 | Hostname | OS / Arch | INSTALL | BUILD | CHECK | BUILD BIN | ||||||||
MungeSumstats 1.7.19 (landing page) Alan Murphy
| nebbiolo1 | Linux (Ubuntu 22.04.1 LTS) / x86_64 | OK | OK | OK | |||||||||
nebbiolo2 | Linux (Ubuntu 20.04.5 LTS) / x86_64 | OK | OK | ERROR | ||||||||||
Package: MungeSumstats |
Version: 1.7.19 |
Command: /home/biocbuild/bbs-3.17-bioc/R/bin/R CMD check --install=check:MungeSumstats.install-out.txt --library=/home/biocbuild/bbs-3.17-bioc/R/site-library --timings MungeSumstats_1.7.19.tar.gz |
StartedAt: 2023-04-12 07:47:22 -0400 (Wed, 12 Apr 2023) |
EndedAt: 2023-04-12 08:15:03 -0400 (Wed, 12 Apr 2023) |
EllapsedTime: 1661.0 seconds |
RetCode: 1 |
Status: ERROR |
CheckDir: MungeSumstats.Rcheck |
Warnings: NA |
############################################################################## ############################################################################## ### ### Running command: ### ### /home/biocbuild/bbs-3.17-bioc/R/bin/R CMD check --install=check:MungeSumstats.install-out.txt --library=/home/biocbuild/bbs-3.17-bioc/R/site-library --timings MungeSumstats_1.7.19.tar.gz ### ############################################################################## ############################################################################## * using log directory ‘/home/biocbuild/bbs-3.17-bioc/meat/MungeSumstats.Rcheck’ * using R Under development (unstable) (2023-02-14 r83833) * using platform: x86_64-pc-linux-gnu (64-bit) * R was compiled by gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 GNU Fortran (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 * running under: Ubuntu 20.04.6 LTS * using session charset: UTF-8 * checking for file ‘MungeSumstats/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘MungeSumstats’ version ‘1.7.19’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘MungeSumstats’ can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... OK * checking data for ASCII and uncompressed saves ... OK * checking R/sysdata.rda ... OK * checking files in ‘vignettes’ ... OK * checking examples ... OK Examples with CPU (user + system) or elapsed time > 5s user system elapsed get_genome_builds 79.906 7.203 87.525 format_sumstats 42.848 5.583 48.733 * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ ERROR Running the tests in ‘tests/testthat.R’ failed. Last 13 lines of output: Loading SNPlocs data. 1 SNP IDs are not correctly formatted and will be removed. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Summary statistics file does not have obvious CHR/BP columns. Checking to see if they are joined in another column. Standardising column headers. First line of summary statistics file: SNP A1 A2 FRQ BETA SE P Loading SNPlocs data. There is no Chromosome or Base Pair Position column found within the data. It must be inferred from other column information. Loading reference genome data. Preprocessing RSIDs. Validating RSIDs of 92 SNPs using BSgenome::snpsById... Killed * checking for unstated dependencies in vignettes ... OK * checking package vignettes in ‘inst/doc’ ... OK * checking running R code from vignettes ... ‘MungeSumstats.Rmd’ using ‘UTF-8’... OK ‘OpenGWAS.Rmd’ using ‘UTF-8’... OK ‘docker.Rmd’ using ‘UTF-8’... OK NONE * checking re-building of vignette outputs ... OK * checking PDF version of manual ... OK * DONE Status: 1 ERROR See ‘/home/biocbuild/bbs-3.17-bioc/meat/MungeSumstats.Rcheck/00check.log’ for details.
MungeSumstats.Rcheck/00install.out
############################################################################## ############################################################################## ### ### Running command: ### ### /home/biocbuild/bbs-3.17-bioc/R/bin/R CMD INSTALL MungeSumstats ### ############################################################################## ############################################################################## * installing to library ‘/home/biocbuild/bbs-3.17-bioc/R/site-library’ * installing *source* package ‘MungeSumstats’ ... ** using staged installation ** R ** data ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** installing vignettes ** testing if installed package can be loaded from temporary location ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (MungeSumstats)
MungeSumstats.Rcheck/tests/testthat.Rout.fail
R Under development (unstable) (2023-02-14 r83833) -- "Unsuffered Consequences" Copyright (C) 2023 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu (64-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > library(MungeSumstats) > > test_check("MungeSumstats") Collecting metadata from Open GWAS. Filtering metadata by substring criteria. Found 3 GWAS datasets matching search criteria across: - 3 trait(s) - 1 population(s) - 2 category(ies) - 2 subcategory(ies) - 2 publication(s) - 2 consortia(ium) - 1 genome build(s) Collecting metadata from Open GWAS. Filtering metadata by substring criteria. Filtering metadata by sample/case/control/SNP size criteria. Excluding sample/case/control size with NAs. Found 3 GWAS datasets matching search criteria across: - 3 trait(s) - 1 population(s) - 2 category(ies) - 2 subcategory(ies) - 2 publication(s) - 2 consortia(ium) - 1 genome build(s) Collecting metadata from Open GWAS. Filtering metadata by substring criteria. Found 45 GWAS datasets matching search criteria across: - 42 trait(s) - 3 population(s) - 2 category(ies) - 2 subcategory(ies) - 7 publication(s) - 5 consortia(ium) - 1 genome build(s) Downloading VCF ==> /tmp/RtmplW4rkv/ieu-a-298.vcf.gz Downloading with download.file. trying URL 'https://gwas.mrcieu.ac.uk/files/ieu-a-298/ieu-a-298.vcf.gz' Content type 'application/gzip' length 234480 bytes (228 KB) ================================================== downloaded 228 KB Downloading VCF index ==> https://gwas.mrcieu.ac.uk/files/ieu-a-298/ieu-a-298.vcf.gz.tbi Downloading with download.file. trying URL 'https://gwas.mrcieu.ac.uk/files/ieu-a-298/ieu-a-298.vcf.gz.tbi' Content type 'application/gzip' length 37803 bytes (36 KB) ================================================== downloaded 36 KB Processing 1 datasets from Open GWAS. ========== Processing dataset : a-fake-id ========== Downloading VCF ==> /tmp/RtmplW4rkv/a-fake-id.vcf.gz Downloading with download.file. trying URL 'https://gwas.mrcieu.ac.uk/files/a-fake-id/a-fake-id.vcf.gz' Processing 1 datasets from Open GWAS. ========== Processing dataset : ieu-a-298 ========== Using previously downloaded VCF. Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/ieu-a-298/ieu-a-298.tsv.gz Loading required namespace: GenomicFiles Using local VCF. File already tabix-indexed. Finding empty VCF columns based on first 10,000 rows. 1 sample detected: ieu-a-298 Constructing ScanVcfParam object. VCF contains: 10,684 variant(s) x 1 sample(s) Reading VCF file: single-threaded Converting VCF to data.table. Expanding VCF first, so number of rows may increase. Checking for empty columns. Unlisting 4 columns. Time difference of 1 secs VCF data.table contains: 10,684 rows x 11 columns. Time difference of 2.1 secs Renaming ID as SNP. VCF file has -log10 P-values; these will be converted to unadjusted p-values in the 'P' column. No INFO (SI) column detected. Standardising column headers. First line of summary statistics file: SNP chr BP end REF ALT FILTER ES SE LP SS P Summary statistics report: - 10,684 rows - 10,684 unique variants - 553 genome-wide significant variants (P<5e-8) - 22 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Reordering so first three column headers are SNP, CHR and BP in this order. Reordering so the fourth and fifth columns are A1 and A2. Checking for missing data. Checking for duplicate columns. Ensuring that the N column is all integers. The sumstats N column is not all integers, this could effect downstream analysis. These will be converted to integers. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. N already exists within sumstats_dt. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/ieu-a-298/ieu-a-298.tsv.gz Summary statistics report: - 10,684 rows (100% of original 10,684 rows) - 10,684 unique variants - 553 genome-wide significant variants (P<5e-8) - 22 chromosomes Done munging in 0.1 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 END FILTER BETA SE LP N 1: rs76805690 1 2256288 C A 2256288 PASS 0.0389 0.0175 1.58536 74046 2: rs75379543 1 2261983 C A 2261983 PASS 0.0427 0.0167 1.96738 74046 3: rs75273719 1 2263666 G A 2263666 PASS 0.0502 0.0171 2.47353 74046 4: rs903904 1 2263888 C T 2263888 PASS 0.0413 0.0169 1.82769 74046 P 1: 0.025980051 2: 0.010780031 3: 0.003361012 4: 0.014869967 Returning path to saved data. ieu-a-298 : Done in 0.1 minutes. Done with all processing in 0.1 minutes. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf4bc3ea77.tsv.gz Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf5c0fc6e9 Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A0 A1 EAF Beta SE Pval Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Warning: When method is an integer, must be >0. 47 SNPs (50.5%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf4bc3ea77.tsv.gz Summary statistics report: - 93 rows (100% of original 93 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.001 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 2: rs11210860 1 43982527 A G 0.36940 0.017 0.003 2.359e-10 3: rs34305371 1 72733610 A G 0.08769 0.035 0.005 3.762e-14 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf21d6d1f6.tsv.gz Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf5c0fc6e9 Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Warning: When method is an integer, must be >0. 47 SNPs (50.5%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf21d6d1f6.tsv.gz Summary statistics report: - 93 rows (100% of original 93 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.001 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 2: rs11210860 1 43982527 A G 0.36940 0.017 0.003 2.359e-10 3: rs34305371 1 72733610 A G 0.08769 0.035 0.005 3.762e-14 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf3815c749.tsv.gz Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf5cb00370 Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A2 A1 EAF Beta SE Pval Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Checking for correct direction of A1 (reference) and A2 (alternative allele). Loading SNPlocs data. Loading reference genome data. Preprocessing RSIDs. Validating RSIDs of 93 SNPs using BSgenome::snpsById... Loading required package: BiocGenerics Attaching package: 'BiocGenerics' The following objects are masked from 'package:stats': IQR, mad, sd, var, xtabs The following objects are masked from 'package:base': Filter, Find, Map, Position, Reduce, anyDuplicated, aperm, append, as.data.frame, basename, cbind, colnames, dirname, do.call, duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted, lapply, mapply, match, mget, order, paste, pmax, pmax.int, pmin, pmin.int, rank, rbind, rownames, sapply, setdiff, sort, table, tapply, union, unique, unsplit, which.max, which.min Loading required package: S4Vectors Loading required package: stats4 Attaching package: 'S4Vectors' The following objects are masked from 'package:base': I, expand.grid, unname BSgenome::snpsById done in 86 seconds. There are 47 SNPs where A1 doesn't match the reference genome. These will be flipped with their effect columns. Reordering so first three column headers are SNP, CHR and BP in this order. Reordering so the fourth and fifth columns are A1 and A2. Checking for missing data. Checking for duplicate columns. Checking for duplicate SNPs from SNP ID. Checking for SNPs with duplicated base-pair positions. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Checking for bi-allelic SNPs. Warning: When method is an integer, must be >0. 67 SNPs (72%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf3815c749.tsv.gz Summary statistics report: - 93 rows (100% of original 93 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 1.476 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 2: rs11210860 1 43982527 G A 0.63060 -0.017 0.003 2.359e-10 3: rs34305371 1 72733610 G A 0.91231 -0.035 0.005 3.762e-14 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf2772fdff.tsv.gz Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf5cb00370 Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Ensuring all SNPs are on the reference genome. Loading SNPlocs data. Loading reference genome data. Preprocessing RSIDs. Validating RSIDs of 93 SNPs using BSgenome::snpsById... BSgenome::snpsById done in 29 seconds. Checking for correct direction of A1 (reference) and A2 (alternative allele). There are 46 SNPs where A1 doesn't match the reference genome. These will be flipped with their effect columns. Checking for missing data. Checking for duplicate columns. Checking for duplicate SNPs from SNP ID. Checking for SNPs with duplicated base-pair positions. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Checking for bi-allelic SNPs. Warning: When method is an integer, must be >0. 67 SNPs (72%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf2772fdff.tsv.gz Summary statistics report: - 93 rows (100% of original 93 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.529 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 2: rs11210860 1 43982527 G A 0.63060 -0.017 0.003 2.359e-10 3: rs34305371 1 72733610 G A 0.91231 -0.035 0.005 3.762e-14 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** ******::NOTE::****** - Log results will be saved to `tempdir()` by default. - This means all log data from the run will be deleted upon ending the R session. - To keep it, change `log_folder` to an actual directory (e.g. log_folder='./'). ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf1c4c3384.tsv.gz Log data to be saved to ==> /tmp/RtmplW4rkv Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf3bca4b23 Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Checking for missing data. Checking for duplicate columns. Checking for duplicate SNPs from SNP ID. Checking for SNPs with duplicated base-pair positions. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Checking for bi-allelic SNPs. Loading SNPlocs data. Loading reference genome data. Preprocessing RSIDs. Validating RSIDs of 93 SNPs using BSgenome::snpsById... BSgenome::snpsById done in 32 seconds. 1 SNPs are non-biallelic. These will be removed. Writing in tabular format ==> /tmp/RtmplW4rkv/snp_bi_allelic.tsv.gz Warning: When method is an integer, must be >0. 46 SNPs (50%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf1c4c3384.tsv.gz Summary statistics report: - 92 rows (98.9% of original 93 rows) - 92 unique variants - 69 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.559 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 2: rs11210860 1 43982527 A G 0.36940 0.017 0.003 2.359e-10 3: rs34305371 1 72733610 A G 0.08769 0.035 0.005 3.762e-14 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf7eb426e8.tsv.gz Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf3bca4b23 Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Checking for missing data. Checking for duplicate columns. Checking for duplicate SNPs from SNP ID. Checking for SNPs with duplicated base-pair positions. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Checking for bi-allelic SNPs. Loading SNPlocs data. Loading reference genome data. Preprocessing RSIDs. Validating RSIDs of 93 SNPs using BSgenome::snpsById... BSgenome::snpsById done in 32 seconds. Warning: When method is an integer, must be >0. 47 SNPs (50.5%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf7eb426e8.tsv.gz Summary statistics report: - 93 rows (100% of original 93 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.574 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 2: rs11210860 1 43982527 A G 0.36940 0.017 0.003 2.359e-10 3: rs34305371 1 72733610 A G 0.08769 0.035 0.005 3.762e-14 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 Returning path to saved data. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval Sorting coordinates with 'data.table'. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** ******::NOTE::****** - Log results will be saved to `tempdir()` by default. - This means all log data from the run will be deleted upon ending the R session. - To keep it, change `log_folder` to an actual directory (e.g. log_folder='./'). ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf75f86d52.tsv.gz Log data to be saved to ==> /tmp/RtmplW4rkv Found 1 Indels. These will be removed from the sumstats. WARNING If you want to keep Indels, set the drop_indel param to FALSE & rerun MungeSumstats::format_sumstats() Writing in tabular format ==> /tmp/RtmplW4rkv/indel.tsv.gz ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf49b3551.tsv.gz Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf41854e1e Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval Ensuring parameters comply with LDSC format. Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. 1 SNP IDs are not correctly formatted. These will be corrected from the reference genome. Loading SNPlocs data. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Ensuring all SNPs are on the reference genome. Loading SNPlocs data. Loading reference genome data. Preprocessing RSIDs. Validating RSIDs of 93 SNPs using BSgenome::snpsById... BSgenome::snpsById done in 22 seconds. Checking for correct direction of A1 (reference) and A2 (alternative allele). There are 46 SNPs where A1 doesn't match the reference genome. These will be flipped with their effect columns. Checking for missing data. Checking for duplicate columns. Checking for duplicate SNPs from SNP ID. Checking for SNPs with duplicated base-pair positions. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Checking for bi-allelic SNPs. Computing Z-score from P using formula: `sign(BETA)*sqrt(stats::qchisq(P,1,lower=FALSE)` Assigning N=1001 for all SNPs. 67 SNPs (72%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf49b3551.tsv.gz Summary statistics report: - 93 rows (100% of original 93 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.397 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P IMPUTATION_SNP 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 NA 2: rs11210860 1 43982527 G A 0.63060 -0.017 0.003 2.359e-10 NA 3: rs34305371 1 72733610 G A 0.91231 -0.035 0.005 3.762e-14 NA 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 NA flipped Z IMPUTATION_z_score_p N 1: NA 5.630777 TRUE 1001 2: TRUE -6.335939 TRUE 1001 3: TRUE -7.568968 TRUE 1001 4: NA -5.630488 TRUE 1001 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf5a26b173.tsv.gz Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf824fef6 Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval N_CON N_CAS Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Computing effective sample size using the LDSC method: Neff = (N_CAS+N_CON) * (N_CAS/(N_CAS+N_CON)) / mean((N_CAS/(N_CAS+N_CON))[(N_CAS+N_CON)==max(N_CAS+N_CON)])) Computing sample size using the sum method: N = N_CAS + N_CON Computing effective sample size using the GIANT method: Neff = 2 / (1/N_CAS + 1/N_CON) Computing effective sample size using the METAL method: Neff = 4 / (1/N_CAS + 1/N_CON) 47 SNPs (50.5%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf5a26b173.tsv.gz Summary statistics report: - 93 rows (100% of original 93 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.002 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P N_CON N_CAS 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 100 120 2: rs11210860 1 43982527 A G 0.36940 0.017 0.003 2.359e-10 100 120 3: rs34305371 1 72733610 A G 0.08769 0.035 0.005 3.762e-14 100 120 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 100 120 Neff_ldsc N Neff_giant Neff_metal 1: 220 220 109 218 2: 220 220 109 218 3: 220 220 109 218 4: 220 220 109 218 Returning path to saved data. Using local VCF. bgzip-compressing VCF file. Finding empty VCF columns based on first 10,000 rows. Dropping 1 duplicate column(s). 1 sample detected: EBI-a-GCST005647 Constructing ScanVcfParam object. VCF contains: 39,630,630 variant(s) x 1 sample(s) Reading VCF file: single-threaded Converting VCF to data.table. Expanding VCF first, so number of rows may increase. Dropping 1 duplicate column(s). Checking for empty columns. Unlisting 3 columns. Dropped 314 duplicate rows. Time difference of 0.1 secs VCF data.table contains: 101 rows x 11 columns. Time difference of 0.5 secs Renaming ID as SNP. VCF file has -log10 P-values; these will be converted to unadjusted p-values in the 'P' column. No INFO (SI) column detected. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** ******::NOTE::****** - Log results will be saved to `tempdir()` by default. - This means all log data from the run will be deleted upon ending the R session. - To keep it, change `log_folder` to an actual directory (e.g. log_folder='./'). ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf5c5583e6.tsv.gz Log data to be saved to ==> /tmp/RtmplW4rkv Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf4c7a945a Checking for empty columns. Standardising column headers. First line of summary statistics file: SNP chr BP end REF ALT FILTER AF ES LP SE P N Summary statistics report: - 101 rows - 101 unique variants - 0 genome-wide significant variants (P<5e-8) - 1 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Reordering so first three column headers are SNP, CHR and BP in this order. Reordering so the fourth and fifth columns are A1 and A2. Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. N already exists within sumstats_dt. 2 SNPs (2%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf5c5583e6.tsv.gz Summary statistics report: - 101 rows (100% of original 101 rows) - 101 unique variants - 0 genome-wide significant variants (P<5e-8) - 1 chromosomes Done munging in 0.001 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 END FILTER FRQ BETA LP SE 1: rs58108140 1 10583 G A 10583 PASS 0.1589 0.0312 0.369267 0.0393 2: rs806731 1 30923 G T 30923 PASS 0.7843 -0.0114 0.126854 0.0353 3: rs116400033 1 51479 T A 51479 PASS 0.1829 0.0711 1.262410 0.0370 4: rs146477069 1 54421 A G 54421 PASS 0.0352 -0.0240 0.112102 0.0830 P N 1: 0.42730011 293723 2: 0.74669974 293723 3: 0.05464998 293723 4: 0.77249913 293723 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** ******::NOTE::****** - Log results will be saved to `tempdir()` by default. - This means all log data from the run will be deleted upon ending the R session. - To keep it, change `log_folder` to an actual directory (e.g. log_folder='./'). ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf7293699c.tsv.gz Log data to be saved to ==> /tmp/RtmplW4rkv Standardising column headers. First line of summary statistics file: SNP chr BP end REF ALT FILTER AF ES LP SE P N Beta Summary statistics report: - 101 rows - 101 unique variants - 0 genome-wide significant variants (P<5e-8) - 1 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Reordering so first three column headers are SNP, CHR and BP in this order. Reordering so the fourth and fifth columns are A1 and A2. Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. N already exists within sumstats_dt. 2 SNPs (2%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf7293699c.tsv.gz Summary statistics report: - 101 rows (100% of original 101 rows) - 101 unique variants - 0 genome-wide significant variants (P<5e-8) - 1 chromosomes Done munging in 0.001 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 END FILTER FRQ ES LP SE 1: rs58108140 1 10583 G A 10583 PASS 0.1589 0.0312 0.369267 0.0393 2: rs806731 1 30923 G T 30923 PASS 0.7843 -0.0114 0.126854 0.0353 3: rs116400033 1 51479 T A 51479 PASS 0.1829 0.0711 1.262410 0.0370 4: rs146477069 1 54421 A G 54421 PASS 0.0352 -0.0240 0.112102 0.0830 P N BETA 1: 0.42730011 293723 0.0312 2: 0.74669974 293723 -0.0114 3: 0.05464998 293723 0.0711 4: 0.77249913 293723 -0.0240 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** ******::NOTE::****** - Log results will be saved to `tempdir()` by default. - This means all log data from the run will be deleted upon ending the R session. - To keep it, change `log_folder` to an actual directory (e.g. log_folder='./'). ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf543587da.tsv.gz Log data to be saved to ==> /tmp/RtmplW4rkv Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf4c7a945a Checking for empty columns. Standardising column headers. First line of summary statistics file: SNP chr BP end REF ALT FILTER AF ES LP P N Summary statistics report: - 101 rows - 101 unique variants - 0 genome-wide significant variants (P<5e-8) - 1 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Reordering so first three column headers are SNP, CHR and BP in this order. Reordering so the fourth and fifth columns are A1 and A2. Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. The sumstats SE column is not present...Deriving SE from Beta and P Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. N already exists within sumstats_dt. 2 SNPs (2%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf543587da.tsv.gz Summary statistics report: - 101 rows (100% of original 101 rows) - 101 unique variants - 0 genome-wide significant variants (P<5e-8) - 1 chromosomes Done munging in 0.001 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 END FILTER FRQ BETA LP P 1: rs58108140 1 10583 G A 10583 PASS 0.1589 0.0312 0.369267 0.42730011 2: rs806731 1 30923 G T 30923 PASS 0.7843 -0.0114 0.126854 0.74669974 3: rs116400033 1 51479 T A 51479 PASS 0.1829 0.0711 1.262410 0.05464998 4: rs146477069 1 54421 A G 54421 PASS 0.0352 -0.0240 0.112102 0.77249913 N SE IMPUTATION_SE 1: 293723 0.03930361 TRUE 2: 293723 0.03529477 TRUE 3: 293723 0.03699948 TRUE 4: 293723 0.08301411 TRUE Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** ******::NOTE::****** - Log results will be saved to `tempdir()` by default. - This means all log data from the run will be deleted upon ending the R session. - To keep it, change `log_folder` to an actual directory (e.g. log_folder='./'). ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf794eddc6.tsv.gz Log data to be saved to ==> /tmp/RtmplW4rkv Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf4c7a945a Checking for empty columns. Standardising column headers. First line of summary statistics file: SNP CHR BP A1 A2 FRQ Z SE P N Summary statistics report: - 25 rows - 25 unique variants - 0 genome-wide significant variants (P<5e-8) - 1 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions The sumstats BETA column is not present...Deriving BETA from Z and SE Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. N already exists within sumstats_dt. 13 SNPs (52%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf794eddc6.tsv.gz Summary statistics report: - 25 rows (100% of original 25 rows) - 25 unique variants - 0 genome-wide significant variants (P<5e-8) - 1 chromosomes Done munging in 0.001 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ Z SE P N 1: rs12184267 1 715265 C T 0.9591931 -0.916 0.007518884 0.3598 225955 2: rs12184277 1 715367 A G 0.9589313 -0.656 0.007491601 0.5116 226215 3: rs12184279 1 717485 C A 0.9594241 -1.050 0.007534860 0.2938 226224 4: rs116801199 1 720381 G T 0.9578380 -0.300 0.007391344 0.7644 226626 BETA IMPUTATION_BETA 1: -0.006887298 TRUE 2: -0.004914490 TRUE 3: -0.007911603 TRUE 4: -0.002217403 TRUE Returning path to saved data. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval Sorting coordinates with 'data.table'. Filtering SNPs based on INFO score. 46 SNPs are below the INFO threshold of 0.9 and will be removed. Writing in tabular format ==> /tmp/RtmplW4rkv/info_filter.tsv.gz INFO_filter==0. Skipping INFO score filtering step. Filtering SNPs based on INFO score. All rows have INFO>=0.9 Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval Sorting coordinates with 'data.table'. 3 p-values are >1 which LDSC/MAGMA may not be able to handle. These will be converted to 1. 5 p-values are <0 which LDSC/MAGMA may not be able to handle. These will be converted to 0. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval Sorting coordinates with 'data.table'. 8 p-values are <=5e-324 which LDSC/MAGMA may not be able to handle. These will be converted to 0. Reading header. Tabular format detected. Reading header. Tabular format detected. Reading header. Tabular format detected. Reading header. VCF format detected.This will be converted to a standardised table format. Importing tabular file: /home/biocbuild/bbs-3.17-bioc/R/site-library/MungeSumstats/extdata/eduAttainOkbay.txt Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval Computing Z-score from P using formula: `sign(BETA)*sqrt(stats::qchisq(P,1,lower=FALSE)` Standardising column headers. First line of summary statistics file: SNP CHR BP A1 A2 FRQ BETA SE P Z newZ Computing Z-score from BETA ans SE using formula: `BETA/SE` ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf1bfc1510.tsv.gz Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf2ba42e5b Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName EAF Beta SE Pval CHR_BP_A2_A1 Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Summary statistics file does not have obvious CHR/BP columns. Checking to see if they are joined in another column. Column CHR_BP_A2_A1 has been separated into the columns CHR, BP, A2, A1 If this is the incorrect format for the column, update the column name to the correct format e.g.`CHR:BP:A2:A1` and format_sumstats(). Standardising column headers. First line of summary statistics file: SNP FRQ BETA SE P CHR BP A2 A1 Checking for incorrect base-pair positions Reordering so first three column headers are SNP, CHR and BP in this order. Reordering so the fourth and fifth columns are A1 and A2. Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Warning: When method is an integer, must be >0. 47 SNPs (50.5%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf1bfc1510.tsv.gz Summary statistics report: - 93 rows (100% of original 93 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.001 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 2: rs11210860 1 43982527 A G 0.36940 0.017 0.003 2.359e-10 3: rs34305371 1 72733610 A G 0.08769 0.035 0.005 3.762e-14 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf73cc5b42.tsv.gz Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf2ba42e5b Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Warning: When method is an integer, must be >0. 47 SNPs (50.5%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf73cc5b42.tsv.gz Summary statistics report: - 93 rows (100% of original 93 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.001 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 2: rs11210860 1 43982527 A G 0.36940 0.017 0.003 2.359e-10 3: rs34305371 1 72733610 A G 0.08769 0.035 0.005 3.762e-14 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf23e28ec3.tsv.gz Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf7d560b7d Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName EAF Beta SE Pval CHR_BP_A2_A1 Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Summary statistics file does not have obvious CHR/BP columns. Checking to see if they are joined in another column. Column CHR_BP_A2_A1 has been separated into the columns CHR, BP, A2, A1 If this is the incorrect format for the column, update the column name to the correct format e.g.`CHR:BP:A2:A1` and format_sumstats(). Standardising column headers. First line of summary statistics file: SNP FRQ BETA SE P CHR BP A2 A1 Checking for incorrect base-pair positions Reordering so first three column headers are SNP, CHR and BP in this order. Reordering so the fourth and fifth columns are A1 and A2. Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Warning: When method is an integer, must be >0. 47 SNPs (50.5%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf23e28ec3.tsv.gz Summary statistics report: - 93 rows (100% of original 93 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.002 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 2: rs11210860 1 43982527 A G 0.36940 0.017 0.003 2.359e-10 3: rs34305371 1 72733610 A G 0.08769 0.035 0.005 3.762e-14 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf47550047.tsv.gz Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf7d560b7d Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Warning: When method is an integer, must be >0. 47 SNPs (50.5%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf47550047.tsv.gz Summary statistics report: - 93 rows (100% of original 93 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.001 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 2: rs11210860 1 43982527 A G 0.36940 0.017 0.003 2.359e-10 3: rs34305371 1 72733610 A G 0.08769 0.035 0.005 3.762e-14 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf31e4d1a8.tsv.gz Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf22bca36a Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS EAF Beta SE Pval alleles allele Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Warning: Multiple columns in the sumstats file seem to relate to alleles A1>A2. The column ALLELES will be kept whereas the column(s) ALLELE will be removed. If this is not the correct column to keep, please remove all incorrect columns from those listed here before running `format_sumstats()`. Column ALLELES has been separated into the columns A1, A2 Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Reordering so first three column headers are SNP, CHR and BP in this order. Reordering so the fourth and fifth columns are A1 and A2. Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Warning: When method is an integer, must be >0. 47 SNPs (50.5%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf31e4d1a8.tsv.gz Summary statistics report: - 93 rows (100% of original 93 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.001 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 2: rs11210860 1 43982527 A G 0.36940 0.017 0.003 2.359e-10 3: rs34305371 1 72733610 A G 0.08769 0.035 0.005 3.762e-14 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf63cd08e1.tsv.gz Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf22bca36a Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Warning: When method is an integer, must be >0. 47 SNPs (50.5%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf63cd08e1.tsv.gz Summary statistics report: - 93 rows (100% of original 93 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.001 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 2: rs11210860 1 43982527 A G 0.36940 0.017 0.003 2.359e-10 3: rs34305371 1 72733610 A G 0.08769 0.035 0.005 3.762e-14 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf7fe06985.tsv.gz Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf286d26aa Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName A1 A2 EAF Beta SE Pval CHR_BP Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Summary statistics file does not have obvious CHR/BP columns. Checking to see if they are joined in another column. Column CHR_BP has been separated into the columns CHR, BP Standardising column headers. First line of summary statistics file: SNP A1 A2 FRQ BETA SE P CHR BP Checking for incorrect base-pair positions Reordering so first three column headers are SNP, CHR and BP in this order. Reordering so the fourth and fifth columns are A1 and A2. Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Warning: When method is an integer, must be >0. 47 SNPs (50.5%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf7fe06985.tsv.gz Summary statistics report: - 93 rows (100% of original 93 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.001 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 2: rs11210860 1 43982527 A G 0.36940 0.017 0.003 2.359e-10 3: rs34305371 1 72733610 A G 0.08769 0.035 0.005 3.762e-14 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf2659a1c1.tsv.gz Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf286d26aa Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Warning: When method is an integer, must be >0. 47 SNPs (50.5%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf2659a1c1.tsv.gz Summary statistics report: - 93 rows (100% of original 93 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.001 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 2: rs11210860 1 43982527 A G 0.36940 0.017 0.003 2.359e-10 3: rs34305371 1 72733610 A G 0.08769 0.035 0.005 3.762e-14 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf59c8fc23.tsv.gz Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf1ffb761c Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName A1 A2 EAF Beta SE Pval CHR_BP CHR_BP_2 Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Summary statistics file does not have obvious CHR/BP columns. Checking to see if they are joined in another column. Warning: Multiple columns in the sumstats file seem to relate to Chromosome:Base Pair position. The column CHR_BP_2 will be kept whereas the column(s) CHR_BP will be removed. If this is not the correct column to keep, please remove all incorrect columns from those listed here before running `format_sumstats()`. Column CHR_BP_2 has been separated into the columns CHR, BP Standardising column headers. First line of summary statistics file: SNP A1 A2 FRQ BETA SE P CHR BP Checking for incorrect base-pair positions Reordering so first three column headers are SNP, CHR and BP in this order. Reordering so the fourth and fifth columns are A1 and A2. Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Warning: When method is an integer, must be >0. 47 SNPs (50.5%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf59c8fc23.tsv.gz Summary statistics report: - 93 rows (100% of original 93 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.001 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 2: rs11210860 1 43982527 A G 0.36940 0.017 0.003 2.359e-10 3: rs34305371 1 72733610 A G 0.08769 0.035 0.005 3.762e-14 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf3d5a673e.tsv.gz Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf1ffb761c Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Warning: When method is an integer, must be >0. 47 SNPs (50.5%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf3d5a673e.tsv.gz Summary statistics report: - 93 rows (100% of original 93 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.001 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 2: rs11210860 1 43982527 A G 0.36940 0.017 0.003 2.359e-10 3: rs34305371 1 72733610 A G 0.08769 0.035 0.005 3.762e-14 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf2ddfb76a.tsv.gz Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf87f80e8 Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Warning: When method is an integer, must be >0. 47 SNPs (50.5%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf2ddfb76a.tsv.gz Summary statistics report: - 93 rows (100% of original 93 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.001 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 2: rs11210860 1 43982527 A G 0.36940 0.017 0.003 2.359e-10 3: rs34305371 1 72733610 A G 0.08769 0.035 0.005 3.762e-14 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf14c54c59.tsv.gz Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf6ab5dac Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Warning: When method is an integer, must be >0. 47 SNPs (50.5%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf14c54c59.tsv.gz Summary statistics report: - 93 rows (100% of original 93 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.001 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 2: rs11210860 1 43982527 A G 0.36940 0.017 0.003 2.359e-10 3: rs34305371 1 72733610 A G 0.08769 0.035 0.005 3.762e-14 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 Returning path to saved data. Setting sorted=FALSE (required when formatted=FALSE). ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf50e662db.tsv.gz Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval Assigning N=1000 for all SNPs. N already exists within sumstats_dt. [1] "Testing: compute_n='ldsc'" Computing effective sample size using the LDSC method: Neff = (N_CAS+N_CON) * (N_CAS/(N_CAS+N_CON)) / mean((N_CAS/(N_CAS+N_CON))[(N_CAS+N_CON)==max(N_CAS+N_CON)])) [1] "Testing: compute_n='giant'" Computing effective sample size using the GIANT method: Neff = 2 / (1/N_CAS + 1/N_CON) [1] "Testing: compute_n='metal'" Computing effective sample size using the METAL method: Neff = 4 / (1/N_CAS + 1/N_CON) [1] "Testing: compute_n='sum'" Computing sample size using the sum method: N = N_CAS + N_CON ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf685889c5.tsv.gz Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf2c0ef604 Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Warning: When method is an integer, must be >0. 47 SNPs (50.5%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf685889c5.tsv.gz Summary statistics report: - 93 rows (100% of original 93 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.001 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 2: rs11210860 1 43982527 A G 0.36940 0.017 0.003 2.359e-10 3: rs34305371 1 72733610 A G 0.08769 0.035 0.005 3.762e-14 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** ******::NOTE::****** - Log results will be saved to `tempdir()` by default. - This means all log data from the run will be deleted upon ending the R session. - To keep it, change `log_folder` to an actual directory (e.g. log_folder='./'). ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf1b8662cd.tsv.gz Log data to be saved to ==> /tmp/RtmplW4rkv Saving output messages to: /tmp/RtmplW4rkv/file341dcf1b8662cd_log_msg.txt Any runtime errors will be saved to: /tmp/RtmplW4rkv/file341dcf1b8662cd_log_output.txt Messages will not be printed to terminal. Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** ******::NOTE::****** - Log results will be saved to `tempdir()` by default. - This means all log data from the run will be deleted upon ending the R session. - To keep it, change `log_folder` to an actual directory (e.g. log_folder='./'). ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf1e5102e2.tsv.gz Log data to be saved to ==> /tmp/RtmplW4rkv Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf1b7e158e Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Warning: When method is an integer, must be >0. 47 SNPs (50.5%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf1e5102e2.tsv.gz Summary statistics report: - 93 rows (100% of original 93 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.001 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 2: rs11210860 1 43982527 A G 0.36940 0.017 0.003 2.359e-10 3: rs34305371 1 72733610 A G 0.08769 0.035 0.005 3.762e-14 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf45ab4762.tsv.gz Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf5e3d664b Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval Summary statistics report: - 186 rows - 93 unique variants - 140 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. 93 sumstat rows are duplicated. These duplicates will be removed. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Warning: When method is an integer, must be >0. 47 SNPs (50.5%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf45ab4762.tsv.gz Summary statistics report: - 93 rows (50% of original 186 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.001 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 2: rs11210860 1 43982527 A G 0.36940 0.017 0.003 2.359e-10 3: rs34305371 1 72733610 A G 0.08769 0.035 0.005 3.762e-14 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf321559c2.tsv.gz Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf5e3d664b Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Warning: When method is an integer, must be >0. 47 SNPs (50.5%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf321559c2.tsv.gz Summary statistics report: - 93 rows (100% of original 93 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.001 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 2: rs11210860 1 43982527 A G 0.36940 0.017 0.003 2.359e-10 3: rs34305371 1 72733610 A G 0.08769 0.035 0.005 3.762e-14 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf283813dd.tsv.gz Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf5e3d664b Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval Summary statistics report: - 94 rows - 94 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Checking for missing data. Checking for duplicate columns. Checking for duplicate SNPs from SNP ID. Checking for SNPs with duplicated base-pair positions. 1 base-pair positions are duplicated in the sumstats file. These duplicates will be removed. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Checking for bi-allelic SNPs. Loading SNPlocs data. Loading reference genome data. Preprocessing RSIDs. Validating RSIDs of 93 SNPs using BSgenome::snpsById... BSgenome::snpsById done in 21 seconds. Warning: When method is an integer, must be >0. 47 SNPs (50.5%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf283813dd.tsv.gz Summary statistics report: - 93 rows (98.9% of original 94 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.372 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 2: rs11210860 1 43982527 A G 0.36940 0.017 0.003 2.359e-10 3: rs34305371 1 72733610 A G 0.08769 0.035 0.005 3.762e-14 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf27c07610.tsv.gz Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf61c48c59 Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Filtering effect columns, ensuring none equal 0. 5 SNPs have effect values = 0 and will be removed Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Warning: When method is an integer, must be >0. 44 SNPs (50%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf27c07610.tsv.gz Summary statistics report: - 88 rows (94.6% of original 93 rows) - 88 unique variants - 65 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.001 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 2: rs11210860 1 43982527 A G 0.36940 0.017 0.003 2.359e-10 3: rs34305371 1 72733610 A G 0.08769 0.035 0.005 3.762e-14 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** ******::NOTE::****** - Log results will be saved to `tempdir()` by default. - This means all log data from the run will be deleted upon ending the R session. - To keep it, change `log_folder` to an actual directory (e.g. log_folder='./'). ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf359481bd.tsv.gz Log data to be saved to ==> /tmp/RtmplW4rkv Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf749d8da1 Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval FRQ Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs based on FRQ. 38 SNPs are below the FRQ threshold of 0.9 and will be removed. Writing in tabular format ==> /tmp/RtmplW4rkv/frq_filter.tsv.gz Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Warning: When method is an integer, must be >0. 55 SNPs (100%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf359481bd.tsv.gz Summary statistics report: - 55 rows (59.1% of original 93 rows) - 55 unique variants - 41 genome-wide significant variants (P<5e-8) - 16 chromosomes Done munging in 0.001 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 EAF BETA SE P FRQ 1: rs11210860 1 43982527 A G 0.36940 0.017 0.003 2.359e-10 1.863269 2: rs34305371 1 72733610 A G 0.08769 0.035 0.005 3.762e-14 1.169733 3: rs1008078 1 91189731 T C 0.37310 -0.016 0.003 6.005e-10 1.401423 4: rs61787263 1 98618714 T C 0.76120 0.016 0.003 5.391e-08 1.873332 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** ******::NOTE::****** - Log results will be saved to `tempdir()` by default. - This means all log data from the run will be deleted upon ending the R session. - To keep it, change `log_folder` to an actual directory (e.g. log_folder='./'). ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf441e1974.tsv.gz Log data to be saved to ==> /tmp/RtmplW4rkv Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf749d8da1 Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval FRQ Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs based on FRQ. 38 SNPs are below the FRQ threshold of 0.9 and will be removed. Writing in tabular format ==> /tmp/RtmplW4rkv/frq_filter.tsv.gz Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Warning: When method is an integer, must be >0. 55 SNPs (100%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=FALSE, the FRQ column will be renamed MAJOR_ALLELE_FRQ to differentiate the values from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf441e1974.tsv.gz Summary statistics report: - 55 rows (59.1% of original 93 rows) - 55 unique variants - 41 genome-wide significant variants (P<5e-8) - 16 chromosomes Done munging in 0.001 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 EAF BETA SE P 1: rs11210860 1 43982527 A G 0.36940 0.017 0.003 2.359e-10 2: rs34305371 1 72733610 A G 0.08769 0.035 0.005 3.762e-14 3: rs1008078 1 91189731 T C 0.37310 -0.016 0.003 6.005e-10 4: rs61787263 1 98618714 T C 0.76120 0.016 0.003 5.391e-08 MAJOR_ALLELE_FRQ 1: 1.863269 2: 1.169733 3: 1.401423 4: 1.873332 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf6dd086dc.tsv.gz Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf7bd2b4c4 Checking for empty columns. Standardising column headers. First line of summary statistics file: SNP CHR BP A1 A2 FRQ BETA SE P Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Warning: When method is an integer, must be >0. 47 SNPs (50.5%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf6dd086dc.tsv.gz Summary statistics report: - 93 rows (100% of original 93 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.001 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 2: rs11210860 1 43982527 A G 0.36940 0.017 0.003 2.359e-10 3: rs34305371 1 72733610 A G 0.08769 0.035 0.005 3.762e-14 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf7d359df3.tsv.gz Standardising column headers. First line of summary statistics file: SNP CHR BP A1 A2 Uniq.a1a2 EAF BETA P Summary statistics report: - 2 rows - 2 unique variants - 1 genome-wide significant variants (P<5e-8) - 2 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Ensuring all SNPs are on the reference genome. Loading SNPlocs data. Loading reference genome data. Preprocessing RSIDs. Validating RSIDs of 2 SNPs using BSgenome::snpsById... BSgenome::snpsById done in 20 seconds. Found 1 Indels. These won't be checked against the reference genome as it does not contain Indels. WARNING If your sumstat doesn't contain Indels, set the indel param to FALSE & rerun MungeSumstats::format_sumstats() Checking for correct direction of A1 (reference) and A2 (alternative allele). There are 1 SNPs where A1 doesn't match the reference genome. These will be flipped with their effect columns. Checking for missing data. Checking for duplicate columns. Checking for duplicate SNPs from SNP ID. Found 1 Indels. These won't be checked for duplicates based on RS ID as there can be multiples. WARNING If your sumstat doesn't contain Indels, set the indel param to FALSE & rerun MungeSumstats::format_sumstats() Checking for SNPs with duplicated base-pair positions. Found 1 Indels. These won't be checked for duplicates based on base-pair position as there can be multiples. WARNING If your sumstat doesn't contain Indels, set the indel param to FALSE & rerun MungeSumstats::format_sumstats() Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. SE is not present but can be imputed with BETA & P. Set impute_se=TRUE and rerun to do this. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Checking for bi-allelic SNPs. Warning: When method is an integer, must be >0. 1 SNPs (50%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf7d359df3.tsv.gz Summary statistics report: - 2 rows (100% of original 2 rows) - 2 unique variants - 1 genome-wide significant variants (P<5e-8) - 2 chromosomes Done munging in 0.372 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 UNIQ.A1A2 FRQ BETA 1: rs12987662 2 100821548 C A aa 0.6213000 -0.027000000 2: rs34589910 4 6364621 C CG 4:6364621_C_CG 0.0945334 -0.006257323 P 1: 2.693000e-24 2: 4.883341e-01 Returning data directly. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf4e785445.tsv.gz Standardising column headers. First line of summary statistics file: SNP CHR BP A1 A2 Uniq.a1a2 EAF BETA P Summary statistics report: - 3 rows - 3 unique variants - 1 genome-wide significant variants (P<5e-8) - 3 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. 2 SNP IDs appear to be made up of chr:bp, these will be replaced by their SNP ID from the reference genome Loading SNPlocs data. Found Indels. These won't be checked against the reference genome as it does not contain Indels. WARNING If your sumstat doesn't contain Indels, set the indel param to FALSE & rerun MungeSumstats::format_sumstats() Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Ensuring all SNPs are on the reference genome. Loading SNPlocs data. Loading reference genome data. Preprocessing RSIDs. Validating RSIDs of 2 SNPs using BSgenome::snpsById... BSgenome::snpsById done in 20 seconds. Checking for correct direction of A1 (reference) and A2 (alternative allele). There are 2 SNPs where A1 doesn't match the reference genome. These will be flipped with their effect columns. Checking for missing data. Checking for duplicate columns. Checking for duplicate SNPs from SNP ID. Checking for SNPs with duplicated base-pair positions. INFO column not available. Skipping INFO score filtering step. SE is not present but can be imputed with BETA & P. Set impute_se=TRUE and rerun to do this. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Checking for bi-allelic SNPs. Warning: When method is an integer, must be >0. 2 SNPs (100%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf4e785445.tsv.gz Summary statistics report: - 2 rows (66.7% of original 3 rows) - 2 unique variants - 1 genome-wide significant variants (P<5e-8) - 2 chromosomes Done munging in 0.36 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 UNIQ.A1A2 FRQ BETA P 1: rs12987662 2 100821548 C A aa 0.6213 -0.0270 2.693e-24 2: rs9320913 6 98584733 C A bb 0.5433 -0.0123 2.100e-07 Returning data directly. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf3b416d64.tsv Converting full summary stats file to tabix format for fast querying... Reading header. Ensuring file is bgzipped. Tabix-indexing file. Removing temporary .tsv file. Reading header. Reading entire file. Sorting coordinates with 'GenomicRanges'. Converting summary statistics to GenomicRanges. Sorting coordinates with 'data.table'. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** ******::NOTE::****** - Log results will be saved to `tempdir()` by default. - This means all log data from the run will be deleted upon ending the R session. - To keep it, change `log_folder` to an actual directory (e.g. log_folder='./'). ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf45479421.tsv.gz Log data to be saved to ==> /tmp/RtmplW4rkv Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcfeb7fc7d Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval INFO Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. Filtering SNPs based on INFO score. 38 SNPs are below the INFO threshold of 0.9 and will be removed. Writing in tabular format ==> /tmp/RtmplW4rkv/info_filter.tsv.gz Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Warning: When method is an integer, must be >0. 28 SNPs (50.9%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf45479421.tsv.gz Summary statistics report: - 55 rows (59.1% of original 93 rows) - 55 unique variants - 41 genome-wide significant variants (P<5e-8) - 16 chromosomes Done munging in 0.001 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P INFO 1: rs11210860 1 43982527 A G 0.36940 0.017 0.003 2.359e-10 1.863269 2: rs34305371 1 72733610 A G 0.08769 0.035 0.005 3.762e-14 1.169733 3: rs1008078 1 91189731 T C 0.37310 -0.016 0.003 6.005e-10 1.401423 4: rs61787263 1 98618714 T C 0.76120 0.016 0.003 5.391e-08 1.873332 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf7f30a935.tsv.gz Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf6aa87bdc Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Warning: When method is an integer, must be >0. 47 SNPs (50.5%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf7f30a935.tsv.gz Summary statistics report: - 93 rows (100% of original 93 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.001 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 2: rs11210860 1 43982527 A G 0.36940 0.017 0.003 2.359e-10 3: rs34305371 1 72733610 A G 0.08769 0.035 0.005 3.762e-14 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf7002ce8b.tsv.gz Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Warning: When method is an integer, must be >0. 47 SNPs (50.5%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf7002ce8b.tsv.gz Summary statistics report: - 93 rows (100% of original 93 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.001 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 2: rs11210860 1 43982527 A G 0.36940 0.017 0.003 2.359e-10 3: rs34305371 1 72733610 A G 0.08769 0.035 0.005 3.762e-14 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 Returning path to saved data. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval Sorting coordinates with 'data.table'. Performing data liftover from hg19 to hg38. Converting summary statistics to GenomicRanges. Downloading chain file from Ensembl. trying URL 'ftp://ftp.ensembl.org/pub/assembly_mapping/homo_sapiens/GRCh37_to_GRCh38.chain.gz' Content type 'unknown' length 285250 bytes (278 KB) ================================================== /tmp/RtmplW4rkv/GRCh37_to_GRCh38.chain.gz Reordering so first three column headers are SNP, CHR and BP in this order. Reordering so the fourth and fifth columns are A1 and A2. Performing data liftover from hg19 to hg38. Converting summary statistics to GenomicRanges. Using existing chain file from ensembl. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** ******::NOTE::****** - Log results will be saved to `tempdir()` by default. - This means all log data from the run will be deleted upon ending the R session. - To keep it, change `log_folder` to an actual directory (e.g. log_folder='./'). ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcfdcc16ff.tsv.gz Log data to be saved to ==> /tmp/RtmplW4rkv Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf609b1f33 Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Ensuring all SNPs are on the reference genome. Loading SNPlocs data. Loading reference genome data. Preprocessing RSIDs. Validating RSIDs of 93 SNPs using BSgenome::snpsById... BSgenome::snpsById done in 20 seconds. Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Warning: When method is an integer, must be >0. 47 SNPs (50.5%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Performing data liftover from hg19 to hg38. Converting summary statistics to GenomicRanges. Using existing chain file from ensembl. Reordering so first three column headers are SNP, CHR and BP in this order. Reordering so the fourth and fifth columns are A1 and A2. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcfdcc16ff.tsv.gz Summary statistics report: - 93 rows (100% of original 93 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.39 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P 1: rs301800 1 8430543 T C 0.17910 0.019 0.003 1.794e-08 2: rs11210860 1 43516856 A G 0.36940 0.017 0.003 2.359e-10 3: rs34305371 1 72267927 A G 0.08769 0.035 0.005 3.762e-14 4: rs2568955 1 72296486 T C 0.23690 -0.017 0.003 1.797e-08 IMPUTATION_gen_build 1: TRUE 2: TRUE 3: TRUE 4: TRUE Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** ******::NOTE::****** - Log results will be saved to `tempdir()` by default. - This means all log data from the run will be deleted upon ending the R session. - To keep it, change `log_folder` to an actual directory (e.g. log_folder='./'). ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf2b14178d.tsv.gz Log data to be saved to ==> /tmp/RtmplW4rkv Importing tabular file: /tmp/RtmplW4rkv/file341dcfdcc16ff.tsv.gz Checking for empty columns. Standardising column headers. First line of summary statistics file: SNP CHR BP A1 A2 FRQ BETA SE P IMPUTATION_gen_build Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Ensuring all SNPs are on the reference genome. Loading SNPlocs data. Loading reference genome data. Preprocessing RSIDs. Validating RSIDs of 93 SNPs using BSgenome::snpsById... BSgenome::snpsById done in 71 seconds. Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Warning: When method is an integer, must be >0. 47 SNPs (50.5%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Performing data liftover from hg38 to hg19. Converting summary statistics to GenomicRanges. Using existing chain file from ensembl. Reordering so first three column headers are SNP, CHR and BP in this order. Reordering so the fourth and fifth columns are A1 and A2. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf2b14178d.tsv.gz Summary statistics report: - 93 rows (100% of original 93 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 1.234 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 2: rs11210860 1 43982527 A G 0.36940 0.017 0.003 2.359e-10 3: rs34305371 1 72733610 A G 0.08769 0.035 0.005 3.762e-14 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 IMPUTATION_GEN_BUILD IMPUTATION_gen_build 1: TRUE TRUE 2: TRUE TRUE 3: TRUE TRUE 4: TRUE TRUE Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** ******::NOTE::****** - Log results will be saved to `tempdir()` by default. - This means all log data from the run will be deleted upon ending the R session. - To keep it, change `log_folder` to an actual directory (e.g. log_folder='./'). ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf1252f969.tsv.gz Log data to be saved to ==> /tmp/RtmplW4rkv Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf609b1f33 Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Ensuring all SNPs are on the reference genome. Loading SNPlocs data. Loading reference genome data. Preprocessing RSIDs. Validating RSIDs of 93 SNPs using BSgenome::snpsById... BSgenome::snpsById done in 22 seconds. Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Warning: When method is an integer, must be >0. 47 SNPs (50.5%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf1252f969.tsv.gz Summary statistics report: - 93 rows (100% of original 93 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.396 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 2: rs11210860 1 43982527 A G 0.36940 0.017 0.003 2.359e-10 3: rs34305371 1 72733610 A G 0.08769 0.035 0.005 3.762e-14 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 Returning path to saved data. [1] "/tmp/RtmplW4rkv/data/file1/file341dcf262ead13.tsv.gz" [1] "/tmp/RtmplW4rkv/data/file2/file341dcf2b459a03.tsv.gz" [1] "/tmp/RtmplW4rkv/data/file3/file341dcf3ecf35f7.tsv.gz" [1] "/tmp/RtmplW4rkv/data/file4/file341dcf7e3678d.tsv.gz" [1] "/tmp/RtmplW4rkv/data/file5/file341dcfbe0b936.tsv.gz" [1] "/tmp/RtmplW4rkv/data/file6/file341dcf75b31c10.tsv.gz" [1] "/tmp/RtmplW4rkv/data/file7/file341dcf24d98f6b.tsv.gz" [1] "/tmp/RtmplW4rkv/data/file8/file341dcf44cb514.tsv.gz" [1] "/tmp/RtmplW4rkv/data/file9/file341dcf5e6f1fdc.tsv.gz" [1] "/tmp/RtmplW4rkv/data/file10/file341dcf32a5a66a.tsv.gz" 10 file(s) found. Parsing info from 10 log file(s). ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcfc72b7ca.tsv.gz Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcfb70ad6f Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval Summary statistics report: - 93 rows - 92 unique variants - 69 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Checking for missing data. WARNING: 1 rows in sumstats file are missing data and will be removed. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Warning: When method is an integer, must be >0. 46 SNPs (50%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcfc72b7ca.tsv.gz Summary statistics report: - 92 rows (98.9% of original 93 rows) - 92 unique variants - 69 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.001 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P 1: rs10061788 5 87934707 A G 0.2164 0.021 0.004 2.464e-09 2: rs1007883 16 51163406 T C 0.3713 -0.015 0.003 5.326e-08 3: rs1008078 1 91189731 T C 0.3731 -0.016 0.003 6.005e-10 4: rs1043209 14 23373986 A G 0.6026 0.018 0.003 1.816e-11 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf3a7ec3fa.tsv.gz Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcfb70ad6f Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Warning: When method is an integer, must be >0. 47 SNPs (50.5%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf3a7ec3fa.tsv.gz Summary statistics report: - 93 rows (100% of original 93 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.001 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P 1: rs10061788 5 87934707 A G 0.2164 0.021 0.004 2.464e-09 2: rs1007883 16 51163406 T C 0.3713 -0.015 0.003 5.326e-08 3: rs1008078 1 91189731 T C 0.3731 -0.016 0.003 6.005e-10 4: rs1043209 14 23373986 A G 0.6026 0.018 0.003 1.816e-11 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf1325e043.tsv.gz Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 21 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Loading SNPlocs data. There is no Chromosome or Base Pair Position column found within the data. It must be inferred from other column information. Loading reference genome data. Preprocessing RSIDs. Validating RSIDs of 1 SNPs using BSgenome::snpsById... BSgenome::snpsById done in 1 seconds. Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Warning: When method is an integer, must be >0. 47 SNPs (50.5%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf1325e043.tsv.gz Summary statistics report: - 93 rows (100% of original 93 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.062 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P 1: rs10061788 5 87934707 A G 0.2164 0.021 0.004 2.464e-09 2: rs1007883 16 51163406 T C 0.3713 -0.015 0.003 5.326e-08 3: rs1008078 1 91189731 T C 0.3731 -0.016 0.003 6.005e-10 4: rs1043209 14 23373986 A G 0.6026 0.018 0.003 1.816e-11 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf5e4fd68f.tsv.gz Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf1f380ec5 Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. 1 SNPs found with multiple RSIDs on one row, the first will be taken. If you would rather remove these SNPs set `remove_multi_rs_snp=TRUE`. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Warning: When method is an integer, must be >0. 47 SNPs (50.5%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf5e4fd68f.tsv.gz Summary statistics report: - 93 rows (100% of original 93 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.001 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 2: rs11210860 1 43982527 A G 0.36940 0.017 0.003 2.359e-10 3: rs34305371 1 72733610 A G 0.08769 0.035 0.005 3.762e-14 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 convert_multi_rs_SNP 1: NA 2: NA 3: NA 4: NA Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf5f82552e.tsv.gz Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf1f380ec5 Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Warning: When method is an integer, must be >0. 47 SNPs (50.5%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf5f82552e.tsv.gz Summary statistics report: - 93 rows (100% of original 93 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.001 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 2: rs11210860 1 43982527 A G 0.36940 0.017 0.003 2.359e-10 3: rs34305371 1 72733610 A G 0.08769 0.035 0.005 3.762e-14 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** ******::NOTE::****** - Log results will be saved to `tempdir()` by default. - This means all log data from the run will be deleted upon ending the R session. - To keep it, change `log_folder` to an actual directory (e.g. log_folder='./'). ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf7275e30d.tsv.gz Log data to be saved to ==> /tmp/RtmplW4rkv Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf15f60e7b Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval Summary statistics report: - 93 rows - 92 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Writing in tabular format ==> /tmp/RtmplW4rkv/snp_multi_rs_one_row.tsv.gz 1 SNPs found with multiple RSIDs on one row, these will be removed. If you would rather take the first RS ID set `remove_multi_rs_snp`=FALSE Checking SNP RSIDs. 1 SNP IDs are not correctly formatted. These will be corrected from the reference genome. Loading SNPlocs data. Writing in tabular format ==> /tmp/RtmplW4rkv/snp_not_found_from_chr_bp.tsv.gz Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Ensuring all SNPs are on the reference genome. Loading SNPlocs data. Loading reference genome data. Preprocessing RSIDs. Validating RSIDs of 90 SNPs using BSgenome::snpsById... BSgenome::snpsById done in 25 seconds. 1 SNPs are not on the reference genome. These will be corrected from the reference genome. Loading SNPlocs data. Writing in tabular format ==> /tmp/RtmplW4rkv/snp_not_found_from_chr_bp_2.tsv.gz Loading SNPlocs data. Loading reference genome data. Preprocessing RSIDs. Validating RSIDs of 90 SNPs using BSgenome::snpsById... BSgenome::snpsById done in 24 seconds. Checking for correct direction of A1 (reference) and A2 (alternative allele). There are 43 SNPs where A1 doesn't match the reference genome. These will be flipped with their effect columns. Checking for missing data. WARNING: 1 rows in sumstats file are missing data and will be removed. Writing in tabular format ==> /tmp/RtmplW4rkv/missing_data.tsv.gz Checking for duplicate columns. Checking for duplicate SNPs from SNP ID. 1 RSIDs are duplicated in the sumstats file. These duplicates will be removed Writing in tabular format ==> /tmp/RtmplW4rkv/dup_snp_id.tsv.gz Checking for SNPs with duplicated base-pair positions. 1 base-pair positions are duplicated in the sumstats file. These duplicates will be removed. Writing in tabular format ==> /tmp/RtmplW4rkv/dup_base_pair_position.tsv.gz INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. 1 SNPs have SE values <= 0 and will be removed Writing in tabular format ==> /tmp/RtmplW4rkv/se_neg.tsv.gz Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Checking for strand ambiguous SNPs. 8 SNPs are strand-ambiguous alleles including 4 A/T and 4 C/G ambiguous SNPs. These will be removed Writing in tabular format ==> /tmp/RtmplW4rkv/snp_strand_ambiguous.tsv.gz Checking for bi-allelic SNPs. Warning: When method is an integer, must be >0. 54 SNPs (68.4%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf7275e30d.tsv.gz Summary statistics report: - 79 rows (84.9% of original 93 rows) - 79 unique variants - 57 genome-wide significant variants (P<5e-8) - 18 chromosomes Done munging in 0.88 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P IMPUTATION_SNP 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 NA 2: rs34305371 1 72733610 G A 0.91231 -0.035 0.005 3.762e-14 NA 3: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 NA 4: rs1008078 1 91189731 C T 0.62690 0.016 0.003 6.005e-10 NA flipped 1: NA 2: TRUE 3: NA 4: TRUE Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf3891e9f6.tsv.gz Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf7f4d523a Checking for empty columns. Standardising column headers. First line of summary statistics file: chromosome rs_id markername position_hg18 Effect_allele Other_allele EAF_HapMapCEU N_SMK Effect_SMK StdErr_SMK P_value_SMK N_NONSMK Effect_NonSMK StdErr_NonSMK P_value_NonSMK Summary statistics report: - 5 rows - 5 unique variants - 1 chromosomes Checking for multi-GWAS. WARNING: Multiple traits found in sumstats file only one of which can be analysed: SMK, NONSMK Standardising column headers. First line of summary statistics file: CHR SNP MARKERNAME POSITION_HG18 A2 A1 EAF_HAPMAPCEU N EFFECT STDERR P_VALUE N_NONSMK EFFECT_NONSMK STDERR_NONSMK P_VALUE_NONSMK Checking for multiple RSIDs on one row. Checking SNP RSIDs. 1 SNP IDs are not correctly formatted and will be removed. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Summary statistics file does not have obvious CHR/BP columns. Checking to see if they are joined in another column. Column MARKERNAME has been separated into the columns CHR, BP Standardising column headers. First line of summary statistics file: CHR SNP POSITION_HG18 A2 A1 EAF_HAPMAPCEU N BETA SE P N_NONSMK EFFECT_NONSMK STDERR_NONSMK P_VALUE_NONSMK BP Checking for incorrect base-pair positions Reordering so first three column headers are SNP, CHR and BP in this order. Reordering so the fourth and fifth columns are A1 and A2. Checking for missing data. Checking for duplicate columns. Ensuring that the N column is all integers. The sumstats N column is not all integers, this could effect downstream analysis. These will be converted to integers. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Making X/Y/MT CHR uppercase. N already exists within sumstats_dt. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf3891e9f6.tsv.gz Summary statistics report: - 4 rows (80% of original 5 rows) - 4 unique variants - 0 genome-wide significant variants (P<5e-8) - 1 chromosomes Done munging in 0.001 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 POSITION_HG18 EAF_HAPMAPCEU N BETA 1: rs1000050 chr1 161003087 C T 161003087 0.9000 36257 0.0001 2: rs1000073 chr1 155522020 G A 155522020 0.3136 36335 0.0046 3: rs1000075 chr1 94939420 C T 94939420 0.3583 38959 -0.0013 4: rs1000085 chr1 66630503 G C 66630503 0.1667 38761 0.0053 SE P N_NONSMK EFFECT_NONSMK STDERR_NONSMK P_VALUE_NONSMK 1: 0.0109 0.9931 127514 0.0058 0.0059 0.3307 2: 0.0083 0.5812 126780 0.0038 0.0045 0.3979 3: 0.0082 0.8687 147567 -0.0043 0.0044 0.3259 4: 0.0095 0.5746 147259 -0.0034 0.0052 0.5157 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf50d92126.tsv.gz Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcfd923727 Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval N N_fixed Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Checking for missing data. Checking for duplicate columns. Ensuring that the N column is all integers. The sumstats N column is not all integers, this could effect downstream analysis. These will be converted to integers. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. N already exists within sumstats_dt. 47 SNPs (50.5%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf50d92126.tsv.gz Summary statistics report: - 93 rows (100% of original 93 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.001 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P N N_FIXED 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 5 5 2: rs11210860 1 43982527 A G 0.36940 0.017 0.003 2.359e-10 1 1 3: rs34305371 1 72733610 A G 0.08769 0.035 0.005 3.762e-14 1 1 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 7 7 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** ******::NOTE::****** - Log results will be saved to `tempdir()` by default. - This means all log data from the run will be deleted upon ending the R session. - To keep it, change `log_folder` to an actual directory (e.g. log_folder='./'). ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf14592d05.tsv.gz Log data to be saved to ==> /tmp/RtmplW4rkv Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf31110f8e Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval N Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Checking for missing data. Checking for duplicate columns. The sumstats N column is not all integers, this could effect downstream analysis.These will NOT be converted to integers. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. 1 SNPs have N values 5 standard deviations above the mean and will be removed Writing in tabular format ==> /tmp/RtmplW4rkv/n_large.tsv.gz Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. N already exists within sumstats_dt. 47 SNPs (51.1%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf14592d05.tsv.gz Summary statistics report: - 92 rows (98.9% of original 93 rows) - 92 unique variants - 69 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.001 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P N 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 3 2: rs11210860 1 43982527 A G 0.36940 0.017 0.003 2.359e-10 5 3: rs34305371 1 72733610 A G 0.08769 0.035 0.005 3.762e-14 3 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 3 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** ******::NOTE::****** - Log results will be saved to `tempdir()` by default. - This means all log data from the run will be deleted upon ending the R session. - To keep it, change `log_folder` to an actual directory (e.g. log_folder='./'). ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf593dbe8e.tsv.gz Log data to be saved to ==> /tmp/RtmplW4rkv Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf31110f8e Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval N Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Checking for missing data. Checking for duplicate columns. The sumstats N column is not all integers, this could effect downstream analysis.These will NOT be converted to integers. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. 1 SNPs have N values 5 standard deviations above the mean and will be removed Writing in tabular format ==> /tmp/RtmplW4rkv/n_large.tsv.gz Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. N already exists within sumstats_dt. 47 SNPs (51.1%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf593dbe8e.tsv.gz Summary statistics report: - 92 rows (98.9% of original 93 rows) - 92 unique variants - 69 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.001 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P N 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 3 2: rs11210860 1 43982527 A G 0.36940 0.017 0.003 2.359e-10 5 3: rs34305371 1 72733610 A G 0.08769 0.035 0.005 3.762e-14 3 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 3 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** ******::NOTE::****** - Log results will be saved to `tempdir()` by default. - This means all log data from the run will be deleted upon ending the R session. - To keep it, change `log_folder` to an actual directory (e.g. log_folder='./'). ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf4eff52ff.tsv.gz Log data to be saved to ==> /tmp/RtmplW4rkv Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf31110f8e Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval N Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Checking for missing data. Checking for duplicate columns. The sumstats N column is not all integers, this could effect downstream analysis.These will NOT be converted to integers. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. 1 SNPs have N values 5 standard deviations above the mean and will be removed Writing in tabular format ==> /tmp/RtmplW4rkv/n_large.tsv.gz Removing rows where is.na(N) 0 SNPs have N values that are NA and will be removed. Writing in tabular format ==> /tmp/RtmplW4rkv/n_null.tsv.gz Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. N already exists within sumstats_dt. 47 SNPs (51.1%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf4eff52ff.tsv.gz Summary statistics report: - 92 rows (98.9% of original 93 rows) - 92 unique variants - 69 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.004 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P N 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 3 2: rs11210860 1 43982527 A G 0.36940 0.017 0.003 2.359e-10 5 3: rs34305371 1 72733610 A G 0.08769 0.035 0.005 3.762e-14 3 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 3 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** ******::NOTE::****** - Log results will be saved to `tempdir()` by default. - This means all log data from the run will be deleted upon ending the R session. - To keep it, change `log_folder` to an actual directory (e.g. log_folder='./'). ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf25f56607.tsv.gz Log data to be saved to ==> /tmp/RtmplW4rkv Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf22771f4 Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS EAF Beta SE Pval Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking for incorrect base-pair positions WARNING: No A2 column found in the data, multi-allelic can't not be accurately chosen (as any of the choices could be valid). bi_allelic_filter has been forced to TRUE. Loading SNPlocs data. There is no A1 or A2 allele information column found within the data. It must be inferred from other column information. Loading reference genome data. Preprocessing RSIDs. Validating RSIDs of 93 SNPs using BSgenome::snpsById... BSgenome::snpsById done in 22 seconds. Deriving both A1 and A2 from reference genome WARNING: Inferring the alternative allele (A2) from the reference genome. In some instances, there are more than one alternative allele. Arbitrarily, only the first will be kept. See column `alt_alleles` in your returned sumstats file for all alternative alleles. Writing in tabular format ==> /tmp/RtmplW4rkv/alleles_not_found_from_snp.tsv.gz Checking for missing data. Checking for duplicate columns. Checking for duplicate SNPs from SNP ID. Checking for SNPs with duplicated base-pair positions. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Checking for bi-allelic SNPs. Warning: When method is an integer, must be >0. 47 SNPs (50.5%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf25f56607.tsv.gz Summary statistics report: - 93 rows (100% of original 93 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.398 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P alt_alleles 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 C 2: rs11210860 1 43982527 G A 0.36940 0.017 0.003 2.359e-10 A 3: rs34305371 1 72733610 G A 0.08769 0.035 0.005 3.762e-14 A 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 C IMPUTATION_A1 IMPUTATION_A2 1: TRUE TRUE 2: TRUE TRUE 3: TRUE TRUE 4: TRUE TRUE Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** ******::NOTE::****** - Log results will be saved to `tempdir()` by default. - This means all log data from the run will be deleted upon ending the R session. - To keep it, change `log_folder` to an actual directory (e.g. log_folder='./'). ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf1ad4eef.tsv.gz Log data to be saved to ==> /tmp/RtmplW4rkv Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf22771f4 Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A2 EAF Beta SE Pval Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A2 is uppercase Checking for incorrect base-pair positions Loading SNPlocs data. There is no A1 or A2 allele information column found within the data. It must be inferred from other column information. Loading reference genome data. Preprocessing RSIDs. Validating RSIDs of 93 SNPs using BSgenome::snpsById... BSgenome::snpsById done in 27 seconds. One of A1/A2 are missing, allele flipping will be tested Deriving A1 from reference genome Writing in tabular format ==> /tmp/RtmplW4rkv/alleles_not_found_from_snp.tsv.gz Checking for correct direction of A1 (reference) and A2 (alternative allele). There are 46 SNPs where A1 doesn't match the reference genome. These will be flipped with their effect columns. Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Warning: When method is an integer, must be >0. 47 SNPs (50.5%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf1ad4eef.tsv.gz Summary statistics report: - 93 rows (100% of original 93 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.485 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P IMPUTATION_A1 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 TRUE 2: rs11210860 1 43982527 G G 0.36940 -0.017 0.003 2.359e-10 TRUE 3: rs34305371 1 72733610 G G 0.08769 -0.035 0.005 3.762e-14 TRUE 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 TRUE flipped 1: NA 2: TRUE 3: TRUE 4: NA Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** ******::NOTE::****** - Log results will be saved to `tempdir()` by default. - This means all log data from the run will be deleted upon ending the R session. - To keep it, change `log_folder` to an actual directory (e.g. log_folder='./'). ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf3548759.tsv.gz Log data to be saved to ==> /tmp/RtmplW4rkv Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf22771f4 Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 EAF Beta SE Pval Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking for incorrect base-pair positions WARNING: No A2 column found in the data, multi-allelic can't not be accurately chosen (as any of the choices could be valid). bi_allelic_filter has been forced to TRUE. Loading SNPlocs data. There is no A1 or A2 allele information column found within the data. It must be inferred from other column information. Loading reference genome data. Preprocessing RSIDs. Validating RSIDs of 93 SNPs using BSgenome::snpsById... BSgenome::snpsById done in 25 seconds. One of A1/A2 are missing, allele flipping will be tested Deriving A2 from reference genome WARNING: Inferring the alternative allele (A2) from the reference genome. In some instances, there are more than one alternative allele. Arbitrarily, only the first will be kept. See column `alt_alleles` in your returned sumstats file for all alternative alleles. Writing in tabular format ==> /tmp/RtmplW4rkv/alleles_not_found_from_snp.tsv.gz Checking for correct direction of A1 (reference) and A2 (alternative allele). Checking for missing data. Checking for duplicate columns. Checking for duplicate SNPs from SNP ID. Checking for SNPs with duplicated base-pair positions. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Checking for bi-allelic SNPs. Warning: When method is an integer, must be >0. 47 SNPs (50.5%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf3548759.tsv.gz Summary statistics report: - 93 rows (100% of original 93 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.456 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P alt_alleles 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 C 2: rs11210860 1 43982527 A A 0.36940 0.017 0.003 2.359e-10 A 3: rs34305371 1 72733610 A A 0.08769 0.035 0.005 3.762e-14 A 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 C IMPUTATION_A2 1: TRUE 2: TRUE 3: TRUE 4: TRUE Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf147a8eba.tsv.gz Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf22771f4 Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Checking for correct direction of A1 (reference) and A2 (alternative allele). Loading SNPlocs data. Loading reference genome data. Preprocessing RSIDs. Validating RSIDs of 93 SNPs using BSgenome::snpsById... BSgenome::snpsById done in 27 seconds. There are 46 SNPs where A1 doesn't match the reference genome. These will be flipped with their effect columns. Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Warning: When method is an integer, must be >0. 47 SNPs (50.5%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf147a8eba.tsv.gz Summary statistics report: - 93 rows (100% of original 93 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.478 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 2: rs11210860 1 43982527 G A 0.36940 -0.017 0.003 2.359e-10 3: rs34305371 1 72733610 G A 0.08769 -0.035 0.005 3.762e-14 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf45ed4388.tsv.gz Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf7207119b Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName POS A1 A2 EAF Beta SE Pval Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Summary statistics file does not have obvious CHR/BP columns. Checking to see if they are joined in another column. Standardising column headers. First line of summary statistics file: SNP BP A1 A2 FRQ BETA SE P Loading SNPlocs data. There is no Chromosome or Base Pair Position column found within the data. It must be inferred from other column information. Loading reference genome data. Preprocessing RSIDs. Validating RSIDs of 93 SNPs using BSgenome::snpsById... BSgenome::snpsById done in 54 seconds. Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Warning: When method is an integer, must be >0. 47 SNPs (50.5%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf45ed4388.tsv.gz Summary statistics report: - 93 rows (100% of original 93 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.926 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 2: rs11210860 1 43982527 A G 0.36940 0.017 0.003 2.359e-10 3: rs34305371 1 72733610 A G 0.08769 0.035 0.005 3.762e-14 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** ******::NOTE::****** - Log results will be saved to `tempdir()` by default. - This means all log data from the run will be deleted upon ending the R session. - To keep it, change `log_folder` to an actual directory (e.g. log_folder='./'). ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf5603474d.tsv.gz Log data to be saved to ==> /tmp/RtmplW4rkv Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcfb8461e7 Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName A1 A2 EAF Beta SE Pval Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Summary statistics file does not have obvious CHR/BP columns. Checking to see if they are joined in another column. Standardising column headers. First line of summary statistics file: SNP A1 A2 FRQ BETA SE P Loading SNPlocs data. There is no Chromosome or Base Pair Position column found within the data. It must be inferred from other column information. Loading reference genome data. Preprocessing RSIDs. Validating RSIDs of 93 SNPs using BSgenome::snpsById... BSgenome::snpsById done in 90 seconds. Writing in tabular format ==> /tmp/RtmplW4rkv/chr_bp_not_found_from_snp.tsv.gz Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Warning: When method is an integer, must be >0. 47 SNPs (50.5%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf5603474d.tsv.gz Summary statistics report: - 93 rows (100% of original 93 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 1.592 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 2: rs11210860 1 43982527 A G 0.36940 0.017 0.003 2.359e-10 3: rs34305371 1 72733610 A G 0.08769 0.035 0.005 3.762e-14 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf63902d7e.tsv.gz Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf7062ad2f Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. 1 SNP IDs are not correctly formatted. These will be corrected from the reference genome. Loading SNPlocs data. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Warning: When method is an integer, must be >0. 47 SNPs (50.5%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf63902d7e.tsv.gz Summary statistics report: - 93 rows (100% of original 93 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.017 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 2: rs11210860 1 43982527 A G 0.36940 0.017 0.003 2.359e-10 3: rs34305371 1 72733610 A G 0.08769 0.035 0.005 3.762e-14 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf5b1c6867.tsv.gz Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf7062ad2f Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName CHR POS A1 A2 EAF Beta SE Pval Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Checking for incorrect base-pair positions Checking for missing data. Checking for duplicate columns. Checking for duplicated rows. INFO column not available. Skipping INFO score filtering step. Filtering SNPs, ensuring SE>0. Ensuring all SNPs have N<5 std dev above mean. Removing 'chr' prefix from CHR. Making X/Y/MT CHR uppercase. Warning: When method is an integer, must be >0. 47 SNPs (50.5%) have FRQ values > 0.5. Conventionally the FRQ column is intended to show the minor/effect allele frequency. The FRQ column was mapped from one of the following from the inputted summary statistics file: FRQ, EAF, FREQUENCY, FRQ_U, F_U, MAF, FREQ, FREQ_TESTED_ALLELE, FRQ_TESTED_ALLELE, FREQ_EFFECT_ALLELE, FRQ_EFFECT_ALLELE, EFFECT_ALLELE_FREQUENCY, EFFECT_ALLELE_FREQ, EFFECT_ALLELE_FRQ, A1FREQ, A1FRQ, A2FREQ, A2FRQ, ALLELE_FREQUENCY, ALLELE_FREQ, ALLELE_FRQ, AF, MINOR_AF, EFFECT_AF, A2_AF, EFF_AF, ALT_AF, ALTERNATIVE_AF, INC_AF, A_2_AF, TESTED_AF, AF1, ALLELEFREQ, ALT_FREQ, EAF_HRC, EFFECTALLELEFREQ, FREQ.A1.1000G.EUR, FREQ.A1.ESP.EUR, FREQ.ALLELE1.HAPMAPCEU, FREQ.B, FREQ1, FREQ1.HAPMAP, FREQ_EUROPEAN_1000GENOMES, FREQ_HAPMAP, FREQ_TESTED_ALLELE_IN_HRS, FRQ_A1, FRQ_U_113154, FRQ_U_31358, FRQ_U_344901, FRQ_U_43456, POOLED_ALT_AF, AF_ALT, AF.ALT, AF-ALT, ALT.AF, ALT-AF, A2.AF, A2-AF, AF.EFF, AF_EFF, AF_EFF As frq_is_maf=TRUE, the FRQ column will not be renamed. If the FRQ values were intended to represent major allele frequency, set frq_is_maf=FALSE to rename the column as MAJOR_ALLELE_FRQ and differentiate it from minor/effect allele frequency. Sorting coordinates with 'data.table'. Writing in tabular format ==> /tmp/RtmplW4rkv/file341dcf5b1c6867.tsv.gz Summary statistics report: - 93 rows (100% of original 93 rows) - 93 unique variants - 70 genome-wide significant variants (P<5e-8) - 20 chromosomes Done munging in 0.004 minutes. Successfully finished preparing sumstats file, preview: Reading header. SNP CHR BP A1 A2 FRQ BETA SE P 1: rs301800 1 8490603 T C 0.17910 0.019 0.003 1.794e-08 2: rs11210860 1 43982527 A G 0.36940 0.017 0.003 2.359e-10 3: rs34305371 1 72733610 A G 0.08769 0.035 0.005 3.762e-14 4: rs2568955 1 72762169 T C 0.23690 -0.017 0.003 1.797e-08 Returning path to saved data. ******::NOTE::****** - Formatted results will be saved to `tempdir()` by default. - This means all formatted summary stats will be deleted upon ending the R session. - To keep formatted summary stats, change `save_path` ( e.g. `save_path=file.path('./formatted',basename(path))` ), or make sure to copy files elsewhere after processing ( e.g. `file.copy(save_path, './formatted/' )`. ******************** Formatted summary statistics will be saved to ==> /tmp/RtmplW4rkv/file341dcf498f57b6.tsv.gz Reading header. Tabular format detected. Importing tabular file: /tmp/RtmplW4rkv/file341dcf6f046275 Checking for empty columns. Standardising column headers. First line of summary statistics file: MarkerName A1 A2 EAF Beta SE Pval Summary statistics report: - 93 rows - 93 unique variants - 70 genome-wide significant variants (P<5e-8) Checking for multi-GWAS. Checking for multiple RSIDs on one row. Checking SNP RSIDs. 1 SNP IDs appear to be made up of chr:bp, these will be replaced by their SNP ID from the reference genome Loading SNPlocs data. 1 SNP IDs are not correctly formatted and will be removed. Checking for merged allele column. Checking A1 is uppercase Checking A2 is uppercase Summary statistics file does not have obvious CHR/BP columns. Checking to see if they are joined in another column. Standardising column headers. First line of summary statistics file: SNP A1 A2 FRQ BETA SE P Loading SNPlocs data. There is no Chromosome or Base Pair Position column found within the data. It must be inferred from other column information. Loading reference genome data. Preprocessing RSIDs. Validating RSIDs of 92 SNPs using BSgenome::snpsById... Killed
MungeSumstats.Rcheck/MungeSumstats-Ex.timings
name | user | system | elapsed | |
compute_nsize | 0.095 | 0.000 | 0.096 | |
download_vcf | 0 | 0 | 0 | |
find_sumstats | 0 | 0 | 0 | |
format_sumstats | 42.848 | 5.583 | 48.733 | |
formatted_example | 0.046 | 0.000 | 0.046 | |
get_genome_builds | 79.906 | 7.203 | 87.525 | |
import_sumstats | 0.001 | 0.000 | 0.001 | |
index_tabular | 0.038 | 0.011 | 0.049 | |
index_vcf | 0.028 | 0.012 | 0.040 | |
liftover | 1.032 | 0.093 | 3.352 | |
list_sumstats | 0.002 | 0.000 | 0.002 | |
load_snp_loc_data | 0 | 0 | 0 | |
parse_logs | 0.005 | 0.004 | 0.009 | |
read_header | 0.003 | 0.000 | 0.002 | |
read_sumstats | 0.006 | 0.000 | 0.006 | |
read_vcf | 1.760 | 0.044 | 1.803 | |
standardise_header | 0.014 | 0.000 | 0.014 | |
vcf2df | 0.597 | 0.000 | 0.598 | |
write_sumstats | 0.007 | 0.000 | 0.007 | |