Back to Multiple platform build/check report for BioC 3.9
ABCDEFGHIJKLMNOPQR[S]TUVWXYZ

CHECK report for SNPRelate on tokay2

This page was generated on 2019-10-16 12:31:01 -0400 (Wed, 16 Oct 2019).

Package 1552/1741HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
SNPRelate 1.18.1
Xiuwen Zheng
Snapshot Date: 2019-10-15 17:01:26 -0400 (Tue, 15 Oct 2019)
URL: https://git.bioconductor.org/packages/SNPRelate
Branch: RELEASE_3_9
Last Commit: 81c581b
Last Changed Date: 2019-07-03 14:00:19 -0400 (Wed, 03 Jul 2019)
malbec2 Linux (Ubuntu 18.04.2 LTS) / x86_64  OK  OK  OK UNNEEDED, same version exists in internal repository
tokay2 Windows Server 2012 R2 Standard / x64  OK  OK [ OK ] OK UNNEEDED, same version exists in internal repository
celaya2 OS X 10.11.6 El Capitan / x86_64  OK  OK  OK  OK UNNEEDED, same version exists in internal repository

Summary

Package: SNPRelate
Version: 1.18.1
Command: C:\Users\biocbuild\bbs-3.9-bioc\R\bin\R.exe CMD check --force-multiarch --install=check:SNPRelate.install-out.txt --library=C:\Users\biocbuild\bbs-3.9-bioc\R\library --no-vignettes --timings SNPRelate_1.18.1.tar.gz
StartedAt: 2019-10-16 07:14:26 -0400 (Wed, 16 Oct 2019)
EndedAt: 2019-10-16 07:19:19 -0400 (Wed, 16 Oct 2019)
EllapsedTime: 293.4 seconds
RetCode: 0
Status:  OK  
CheckDir: SNPRelate.Rcheck
Warnings: 0

Command output

##############################################################################
##############################################################################
###
### Running command:
###
###   C:\Users\biocbuild\bbs-3.9-bioc\R\bin\R.exe CMD check --force-multiarch --install=check:SNPRelate.install-out.txt --library=C:\Users\biocbuild\bbs-3.9-bioc\R\library --no-vignettes --timings SNPRelate_1.18.1.tar.gz
###
##############################################################################
##############################################################################


* using log directory 'C:/Users/biocbuild/bbs-3.9-bioc/meat/SNPRelate.Rcheck'
* using R version 3.6.1 (2019-07-05)
* using platform: x86_64-w64-mingw32 (64-bit)
* using session charset: ISO8859-1
* using option '--no-vignettes'
* checking for file 'SNPRelate/DESCRIPTION' ... OK
* checking extension type ... Package
* this is package 'SNPRelate' version '1.18.1'
* 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 whether package 'SNPRelate' 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
* loading checks for arch 'i386'
** 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
* loading checks for arch 'x64'
** 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 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 line endings in C/C++/Fortran sources/headers ... OK
* checking line endings in Makefiles ... OK
* checking compilation flags in Makevars ... OK
* checking for GNU extensions in Makefiles ... OK
* checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
* checking compiled code ... NOTE
Note: information on .o files for i386 is not available
Note: information on .o files for x64 is not available
File 'C:/Users/biocbuild/bbs-3.9-bioc/R/library/SNPRelate/libs/i386/SNPRelate.dll':
  Found 'abort', possibly from 'abort' (C), 'runtime' (Fortran)
  Found 'exit', possibly from 'exit' (C), 'stop' (Fortran)
  Found 'printf', possibly from 'printf' (C)
File 'C:/Users/biocbuild/bbs-3.9-bioc/R/library/SNPRelate/libs/x64/SNPRelate.dll':
  Found 'abort', possibly from 'abort' (C), 'runtime' (Fortran)
  Found 'exit', possibly from 'exit' (C), 'stop' (Fortran)
  Found 'printf', possibly from 'printf' (C)

Compiled code should not call entry points which might terminate R nor
write to stdout/stderr instead of to the console, nor use Fortran I/O
nor system RNGs. The detected symbols are linked into the code but
might come from libraries and not actually be called.

See 'Writing portable packages' in the 'Writing R Extensions' manual.
* checking files in 'vignettes' ... OK
* checking examples ...
** running examples for arch 'i386' ... OK
** running examples for arch 'x64' ... OK
* checking for unstated dependencies in 'tests' ... OK
* checking tests ...
** running tests for arch 'i386' ...
  Running 'runTests.R'
 OK
** running tests for arch 'x64' ...
  Running 'runTests.R'
 OK
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in 'inst/doc' ... OK
* checking running R code from vignettes ... SKIPPED
* checking re-building of vignette outputs ... SKIPPED
* checking PDF version of manual ... OK
* DONE

Status: 1 NOTE
See
  'C:/Users/biocbuild/bbs-3.9-bioc/meat/SNPRelate.Rcheck/00check.log'
for details.



Installation output

SNPRelate.Rcheck/00install.out

##############################################################################
##############################################################################
###
### Running command:
###
###   C:\cygwin\bin\curl.exe -O https://malbec2.bioconductor.org/BBS/3.9/bioc/src/contrib/SNPRelate_1.18.1.tar.gz && rm -rf SNPRelate.buildbin-libdir && mkdir SNPRelate.buildbin-libdir && C:\Users\biocbuild\bbs-3.9-bioc\R\bin\R.exe CMD INSTALL --merge-multiarch --build --library=SNPRelate.buildbin-libdir SNPRelate_1.18.1.tar.gz && C:\Users\biocbuild\bbs-3.9-bioc\R\bin\R.exe CMD INSTALL SNPRelate_1.18.1.zip && rm SNPRelate_1.18.1.tar.gz SNPRelate_1.18.1.zip
###
##############################################################################
##############################################################################


  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 1252k  100 1252k    0     0  11.9M      0 --:--:-- --:--:-- --:--:-- 12.7M

install for i386

* installing *source* package 'SNPRelate' ...
** using staged installation
** libs
C:/Rtools/mingw_32/bin/g++  -I"C:/Users/BIOCBU~1/BBS-3~1.9-B/R/include" -DNDEBUG -DUSING_R -I. -I"C:/Users/biocbuild/bbs-3.9-bioc/R/library/gdsfmt/include"   -I"C:/extsoft/include"     -O2 -Wall  -mtune=generic -c ConvToGDS.cpp -o ConvToGDS.o
C:/Rtools/mingw_32/bin/gcc  -I"C:/Users/BIOCBU~1/BBS-3~1.9-B/R/include" -DNDEBUG -DUSING_R -I. -I"C:/Users/biocbuild/bbs-3.9-bioc/R/library/gdsfmt/include"   -I"C:/extsoft/include"     -O3 -Wall  -std=gnu99 -mtune=generic -c R_SNPRelate.c -o R_SNPRelate.o
C:/Rtools/mingw_32/bin/g++  -I"C:/Users/BIOCBU~1/BBS-3~1.9-B/R/include" -DNDEBUG -DUSING_R -I. -I"C:/Users/biocbuild/bbs-3.9-bioc/R/library/gdsfmt/include"   -I"C:/extsoft/include"     -O2 -Wall  -mtune=generic -c SNPRelate.cpp -o SNPRelate.o
C:/Rtools/mingw_32/bin/g++  -I"C:/Users/BIOCBU~1/BBS-3~1.9-B/R/include" -DNDEBUG -DUSING_R -I. -I"C:/Users/biocbuild/bbs-3.9-bioc/R/library/gdsfmt/include"   -I"C:/extsoft/include"     -O2 -Wall  -mtune=generic -c ThreadPool.cpp -o ThreadPool.o
C:/Rtools/mingw_32/bin/g++  -I"C:/Users/BIOCBU~1/BBS-3~1.9-B/R/include" -DNDEBUG -DUSING_R -I. -I"C:/Users/biocbuild/bbs-3.9-bioc/R/library/gdsfmt/include"   -I"C:/extsoft/include"     -O2 -Wall  -mtune=generic -c dGenGWAS.cpp -o dGenGWAS.o
C:/Rtools/mingw_32/bin/g++  -I"C:/Users/BIOCBU~1/BBS-3~1.9-B/R/include" -DNDEBUG -DUSING_R -I. -I"C:/Users/biocbuild/bbs-3.9-bioc/R/library/gdsfmt/include"   -I"C:/extsoft/include"     -O2 -Wall  -mtune=generic -c dVect.cpp -o dVect.o
C:/Rtools/mingw_32/bin/g++  -I"C:/Users/BIOCBU~1/BBS-3~1.9-B/R/include" -DNDEBUG -DUSING_R -I. -I"C:/Users/biocbuild/bbs-3.9-bioc/R/library/gdsfmt/include"   -I"C:/extsoft/include"     -O2 -Wall  -mtune=generic -c genBeta.cpp -o genBeta.o
C:/Rtools/mingw_32/bin/g++  -I"C:/Users/BIOCBU~1/BBS-3~1.9-B/R/include" -DNDEBUG -DUSING_R -I. -I"C:/Users/biocbuild/bbs-3.9-bioc/R/library/gdsfmt/include"   -I"C:/extsoft/include"     -O2 -Wall  -mtune=generic -c genEIGMIX.cpp -o genEIGMIX.o
C:/Rtools/mingw_32/bin/g++  -I"C:/Users/BIOCBU~1/BBS-3~1.9-B/R/include" -DNDEBUG -DUSING_R -I. -I"C:/Users/biocbuild/bbs-3.9-bioc/R/library/gdsfmt/include"   -I"C:/extsoft/include"     -O2 -Wall  -mtune=generic -c genFst.cpp -o genFst.o
C:/Rtools/mingw_32/bin/g++  -I"C:/Users/BIOCBU~1/BBS-3~1.9-B/R/include" -DNDEBUG -DUSING_R -I. -I"C:/Users/biocbuild/bbs-3.9-bioc/R/library/gdsfmt/include"   -I"C:/extsoft/include"     -O2 -Wall  -mtune=generic -c genHWE.cpp -o genHWE.o
C:/Rtools/mingw_32/bin/g++  -I"C:/Users/BIOCBU~1/BBS-3~1.9-B/R/include" -DNDEBUG -DUSING_R -I. -I"C:/Users/biocbuild/bbs-3.9-bioc/R/library/gdsfmt/include"   -I"C:/extsoft/include"     -O2 -Wall  -mtune=generic -c genIBD.cpp -o genIBD.o
C:/Rtools/mingw_32/bin/g++  -I"C:/Users/BIOCBU~1/BBS-3~1.9-B/R/include" -DNDEBUG -DUSING_R -I. -I"C:/Users/biocbuild/bbs-3.9-bioc/R/library/gdsfmt/include"   -I"C:/extsoft/include"     -O2 -Wall  -mtune=generic -c genIBS.cpp -o genIBS.o
C:/Rtools/mingw_32/bin/g++  -I"C:/Users/BIOCBU~1/BBS-3~1.9-B/R/include" -DNDEBUG -DUSING_R -I. -I"C:/Users/biocbuild/bbs-3.9-bioc/R/library/gdsfmt/include"   -I"C:/extsoft/include"     -O2 -Wall  -mtune=generic -c genKING.cpp -o genKING.o
C:/Rtools/mingw_32/bin/g++  -I"C:/Users/BIOCBU~1/BBS-3~1.9-B/R/include" -DNDEBUG -DUSING_R -I. -I"C:/Users/biocbuild/bbs-3.9-bioc/R/library/gdsfmt/include"   -I"C:/extsoft/include"     -O2 -Wall  -mtune=generic -c genLD.cpp -o genLD.o
C:/Rtools/mingw_32/bin/g++  -I"C:/Users/BIOCBU~1/BBS-3~1.9-B/R/include" -DNDEBUG -DUSING_R -I. -I"C:/Users/biocbuild/bbs-3.9-bioc/R/library/gdsfmt/include"   -I"C:/extsoft/include"     -O2 -Wall  -mtune=generic -c genPCA.cpp -o genPCA.o
C:/Rtools/mingw_32/bin/g++  -I"C:/Users/BIOCBU~1/BBS-3~1.9-B/R/include" -DNDEBUG -DUSING_R -I. -I"C:/Users/biocbuild/bbs-3.9-bioc/R/library/gdsfmt/include"   -I"C:/extsoft/include"     -O2 -Wall  -mtune=generic -c genSlideWin.cpp -o genSlideWin.o
C:/Rtools/mingw_32/bin/g++ -shared -s -static-libgcc -o SNPRelate.dll tmp.def ConvToGDS.o R_SNPRelate.o SNPRelate.o ThreadPool.o dGenGWAS.o dVect.o genBeta.o genEIGMIX.o genFst.o genHWE.o genIBD.o genIBS.o genKING.o genLD.o genPCA.o genSlideWin.o -LC:/Users/BIOCBU~1/BBS-3~1.9-B/R/bin/i386 -lRlapack -LC:/Users/BIOCBU~1/BBS-3~1.9-B/R/bin/i386 -lRblas -lgfortran -lm -lquadmath -LC:/extsoft/lib/i386 -LC:/extsoft/lib -LC:/Users/BIOCBU~1/BBS-3~1.9-B/R/bin/i386 -lR
installing to C:/Users/biocbuild/bbs-3.9-bioc/meat/SNPRelate.buildbin-libdir/00LOCK-SNPRelate/00new/SNPRelate/libs/i386
** R
** data
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package 'SNPRelate'
    finding HTML links ... done
    SNPGDSFileClass-class                   html  
    SNPRelate-package                       html  
    hapmap_geno                             html  
    snpgdsAdmixPlot                         html  
    snpgdsAdmixProp                         html  
    snpgdsAlleleSwitch                      html  
    snpgdsApartSelection                    html  
    snpgdsBED2GDS                           html  
    finding level-2 HTML links ... done

    snpgdsClose                             html  
    snpgdsCombineGeno                       html  
    snpgdsCreateGeno                        html  
    snpgdsCreateGenoSet                     html  
    snpgdsCutTree                           html  
    snpgdsDiss                              html  
    snpgdsDrawTree                          html  
    snpgdsEIGMIX                            html  
    snpgdsErrMsg                            html  
    snpgdsExampleFileName                   html  
    snpgdsFst                               html  
    snpgdsGDS2BED                           html  
    snpgdsGDS2Eigen                         html  
    snpgdsGDS2PED                           html  
    snpgdsGEN2GDS                           html  
    snpgdsGRM                               html  
    snpgdsGetGeno                           html  
    snpgdsHCluster                          html  
    snpgdsHWE                               html  
    snpgdsIBDKING                           html  
    snpgdsIBDMLE                            html  
    snpgdsIBDMLELogLik                      html  
    snpgdsIBDMoM                            html  
    snpgdsIBDSelection                      html  
    snpgdsIBS                               html  
    snpgdsIBSNum                            html  
    snpgdsIndInb                            html  
    snpgdsIndInbCoef                        html  
    snpgdsIndivBeta                         html  
    snpgdsLDMat                             html  
    snpgdsLDpair                            html  
    snpgdsLDpruning                         html  
    snpgdsMergeGRM                          html  
    snpgdsOpen                              html  
    snpgdsOption                            html  
    snpgdsPCA                               html  
    snpgdsPCACorr                           html  
    snpgdsPCASNPLoading                     html  
    snpgdsPCASampLoading                    html  
    snpgdsPED2GDS                           html  
    snpgdsPairIBD                           html  
    snpgdsPairIBDMLELogLik                  html  
    snpgdsPairScore                         html  
    snpgdsSNPList                           html  
    snpgdsSNPListClass                      html  
    snpgdsSNPListIntersect                  html  
    snpgdsSNPRateFreq                       html  
    snpgdsSampMissRate                      html  
    snpgdsSelectSNP                         html  
    snpgdsSlidingWindow                     html  
    snpgdsSummary                           html  
    snpgdsTranspose                         html  
    snpgdsVCF2GDS                           html  
    snpgdsVCF2GDS_R                         html  
** 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

install for x64

* installing *source* package 'SNPRelate' ...
** libs
C:/Rtools/mingw_64/bin/g++  -I"C:/Users/BIOCBU~1/BBS-3~1.9-B/R/include" -DNDEBUG -DUSING_R -I. -I"C:/Users/biocbuild/bbs-3.9-bioc/R/library/gdsfmt/include"   -I"C:/extsoft/include"     -O2 -Wall  -mtune=generic -c ConvToGDS.cpp -o ConvToGDS.o
C:/Rtools/mingw_64/bin/gcc  -I"C:/Users/BIOCBU~1/BBS-3~1.9-B/R/include" -DNDEBUG -DUSING_R -I. -I"C:/Users/biocbuild/bbs-3.9-bioc/R/library/gdsfmt/include"   -I"C:/extsoft/include"     -O2 -Wall  -std=gnu99 -mtune=generic -c R_SNPRelate.c -o R_SNPRelate.o
C:/Rtools/mingw_64/bin/g++  -I"C:/Users/BIOCBU~1/BBS-3~1.9-B/R/include" -DNDEBUG -DUSING_R -I. -I"C:/Users/biocbuild/bbs-3.9-bioc/R/library/gdsfmt/include"   -I"C:/extsoft/include"     -O2 -Wall  -mtune=generic -c SNPRelate.cpp -o SNPRelate.o
C:/Rtools/mingw_64/bin/g++  -I"C:/Users/BIOCBU~1/BBS-3~1.9-B/R/include" -DNDEBUG -DUSING_R -I. -I"C:/Users/biocbuild/bbs-3.9-bioc/R/library/gdsfmt/include"   -I"C:/extsoft/include"     -O2 -Wall  -mtune=generic -c ThreadPool.cpp -o ThreadPool.o
C:/Rtools/mingw_64/bin/g++  -I"C:/Users/BIOCBU~1/BBS-3~1.9-B/R/include" -DNDEBUG -DUSING_R -I. -I"C:/Users/biocbuild/bbs-3.9-bioc/R/library/gdsfmt/include"   -I"C:/extsoft/include"     -O2 -Wall  -mtune=generic -c dGenGWAS.cpp -o dGenGWAS.o
C:/Rtools/mingw_64/bin/g++  -I"C:/Users/BIOCBU~1/BBS-3~1.9-B/R/include" -DNDEBUG -DUSING_R -I. -I"C:/Users/biocbuild/bbs-3.9-bioc/R/library/gdsfmt/include"   -I"C:/extsoft/include"     -O2 -Wall  -mtune=generic -c dVect.cpp -o dVect.o
C:/Rtools/mingw_64/bin/g++  -I"C:/Users/BIOCBU~1/BBS-3~1.9-B/R/include" -DNDEBUG -DUSING_R -I. -I"C:/Users/biocbuild/bbs-3.9-bioc/R/library/gdsfmt/include"   -I"C:/extsoft/include"     -O2 -Wall  -mtune=generic -c genBeta.cpp -o genBeta.o
C:/Rtools/mingw_64/bin/g++  -I"C:/Users/BIOCBU~1/BBS-3~1.9-B/R/include" -DNDEBUG -DUSING_R -I. -I"C:/Users/biocbuild/bbs-3.9-bioc/R/library/gdsfmt/include"   -I"C:/extsoft/include"     -O2 -Wall  -mtune=generic -c genEIGMIX.cpp -o genEIGMIX.o
C:/Rtools/mingw_64/bin/g++  -I"C:/Users/BIOCBU~1/BBS-3~1.9-B/R/include" -DNDEBUG -DUSING_R -I. -I"C:/Users/biocbuild/bbs-3.9-bioc/R/library/gdsfmt/include"   -I"C:/extsoft/include"     -O2 -Wall  -mtune=generic -c genFst.cpp -o genFst.o
C:/Rtools/mingw_64/bin/g++  -I"C:/Users/BIOCBU~1/BBS-3~1.9-B/R/include" -DNDEBUG -DUSING_R -I. -I"C:/Users/biocbuild/bbs-3.9-bioc/R/library/gdsfmt/include"   -I"C:/extsoft/include"     -O2 -Wall  -mtune=generic -c genHWE.cpp -o genHWE.o
C:/Rtools/mingw_64/bin/g++  -I"C:/Users/BIOCBU~1/BBS-3~1.9-B/R/include" -DNDEBUG -DUSING_R -I. -I"C:/Users/biocbuild/bbs-3.9-bioc/R/library/gdsfmt/include"   -I"C:/extsoft/include"     -O2 -Wall  -mtune=generic -c genIBD.cpp -o genIBD.o
C:/Rtools/mingw_64/bin/g++  -I"C:/Users/BIOCBU~1/BBS-3~1.9-B/R/include" -DNDEBUG -DUSING_R -I. -I"C:/Users/biocbuild/bbs-3.9-bioc/R/library/gdsfmt/include"   -I"C:/extsoft/include"     -O2 -Wall  -mtune=generic -c genIBS.cpp -o genIBS.o
C:/Rtools/mingw_64/bin/g++  -I"C:/Users/BIOCBU~1/BBS-3~1.9-B/R/include" -DNDEBUG -DUSING_R -I. -I"C:/Users/biocbuild/bbs-3.9-bioc/R/library/gdsfmt/include"   -I"C:/extsoft/include"     -O2 -Wall  -mtune=generic -c genKING.cpp -o genKING.o
C:/Rtools/mingw_64/bin/g++  -I"C:/Users/BIOCBU~1/BBS-3~1.9-B/R/include" -DNDEBUG -DUSING_R -I. -I"C:/Users/biocbuild/bbs-3.9-bioc/R/library/gdsfmt/include"   -I"C:/extsoft/include"     -O2 -Wall  -mtune=generic -c genLD.cpp -o genLD.o
C:/Rtools/mingw_64/bin/g++  -I"C:/Users/BIOCBU~1/BBS-3~1.9-B/R/include" -DNDEBUG -DUSING_R -I. -I"C:/Users/biocbuild/bbs-3.9-bioc/R/library/gdsfmt/include"   -I"C:/extsoft/include"     -O2 -Wall  -mtune=generic -c genPCA.cpp -o genPCA.o
C:/Rtools/mingw_64/bin/g++  -I"C:/Users/BIOCBU~1/BBS-3~1.9-B/R/include" -DNDEBUG -DUSING_R -I. -I"C:/Users/biocbuild/bbs-3.9-bioc/R/library/gdsfmt/include"   -I"C:/extsoft/include"     -O2 -Wall  -mtune=generic -c genSlideWin.cpp -o genSlideWin.o
C:/Rtools/mingw_64/bin/g++ -shared -s -static-libgcc -o SNPRelate.dll tmp.def ConvToGDS.o R_SNPRelate.o SNPRelate.o ThreadPool.o dGenGWAS.o dVect.o genBeta.o genEIGMIX.o genFst.o genHWE.o genIBD.o genIBS.o genKING.o genLD.o genPCA.o genSlideWin.o -LC:/Users/BIOCBU~1/BBS-3~1.9-B/R/bin/x64 -lRlapack -LC:/Users/BIOCBU~1/BBS-3~1.9-B/R/bin/x64 -lRblas -lgfortran -lm -lquadmath -LC:/extsoft/lib/x64 -LC:/extsoft/lib -LC:/Users/BIOCBU~1/BBS-3~1.9-B/R/bin/x64 -lR
installing to C:/Users/biocbuild/bbs-3.9-bioc/meat/SNPRelate.buildbin-libdir/SNPRelate/libs/x64
** testing if installed package can be loaded
* MD5 sums
packaged installation of 'SNPRelate' as SNPRelate_1.18.1.zip
* DONE (SNPRelate)
* installing to library 'C:/Users/biocbuild/bbs-3.9-bioc/R/library'
package 'SNPRelate' successfully unpacked and MD5 sums checked

Tests output

SNPRelate.Rcheck/tests_i386/runTests.Rout


R version 3.6.1 (2019-07-05) -- "Action of the Toes"
Copyright (C) 2019 The R Foundation for Statistical Computing
Platform: i386-w64-mingw32/i386 (32-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.

> BiocGenerics:::testPackage("SNPRelate")
SNPRelate
Genetic Relationship Matrix (GRM, GCTA):
Excluding 8,088 SNPs (non-autosomes or non-selection)
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 1,000 SNPs
    using 1 (CPU) core
GRM Calculation:    the sum of all selected genotypes (0,1,2) = 282597
CPU capabilities:
Wed Oct 16 07:17:01 2019    (internal increment: 11612)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Saving to the GDS file:

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 1s
Wed Oct 16 07:17:02 2019    Done.
Genetic Relationship Matrix (GRM, GCTA):
Excluding 7,088 SNPs (non-autosomes or non-selection)
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 2,000 SNPs
    using 1 (CPU) core
GRM Calculation:    the sum of all selected genotypes (0,1,2) = 559412
CPU capabilities:
Wed Oct 16 07:17:02 2019    (internal increment: 11612)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Saving to the GDS file:

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:17:03 2019    Done.
Genetic Relationship Matrix (GRM, GCTA):
Excluding 5,288 SNPs (non-autosomes or non-selection)
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 3,800 SNPs
    using 1 (CPU) core
GRM Calculation:    the sum of all selected genotypes (0,1,2) = 1066957
CPU capabilities:
Wed Oct 16 07:17:03 2019    (internal increment: 11612)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 1s
Saving to the GDS file:

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:17:04 2019    Done.
GRM merging:
    open 'tmp1.gds' (1,000 variants)
    open 'tmp2.gds' (2,000 variants)
    open 'tmp3.gds' (3,800 variants)
Weight: 0.147059, 0.294118, 0.558824
Output: tmp.gds

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 1s
Genetic Relationship Matrix (GRM, GCTA):
Excluding 2,288 SNPs (non-autosomes or non-selection)
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 6,800 SNPs
    using 1 (CPU) core
GRM Calculation:    the sum of all selected genotypes (0,1,2) = 1908966
CPU capabilities:
Wed Oct 16 07:17:05 2019    (internal increment: 11612)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 1s
Wed Oct 16 07:17:06 2019    Done.
Genetic Relationship Matrix (GRM, IndivBeta):
Excluding 8,088 SNPs (non-autosomes or non-selection)
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 1,000 SNPs
    using 1 (CPU) core
GRM Calculation:    the sum of all selected genotypes (0,1,2) = 282597
CPU capabilities:
Wed Oct 16 07:17:06 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 1s
Saving to the GDS file:

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 1s
Wed Oct 16 07:17:08 2019    Done.
Genetic Relationship Matrix (GRM, IndivBeta):
Excluding 7,088 SNPs (non-autosomes or non-selection)
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 2,000 SNPs
    using 1 (CPU) core
GRM Calculation:    the sum of all selected genotypes (0,1,2) = 559412
CPU capabilities:
Wed Oct 16 07:17:08 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 2s
Saving to the GDS file:

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:17:10 2019    Done.
Genetic Relationship Matrix (GRM, IndivBeta):
Excluding 5,288 SNPs (non-autosomes or non-selection)
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 3,800 SNPs
    using 1 (CPU) core
GRM Calculation:    the sum of all selected genotypes (0,1,2) = 1066957
CPU capabilities:
Wed Oct 16 07:17:10 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 2s
Saving to the GDS file:

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:17:12 2019    Done.
GRM merging:
    open 'tmp1.gds' (1,000 variants)
    open 'tmp2.gds' (2,000 variants)
    open 'tmp3.gds' (3,800 variants)
Weight: 0.147059, 0.294118, 0.558824
Output: tmp.gds

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Writing ...

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Genetic Relationship Matrix (GRM, IndivBeta):
Excluding 2,288 SNPs (non-autosomes or non-selection)
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 6,800 SNPs
    using 1 (CPU) core
GRM Calculation:    the sum of all selected genotypes (0,1,2) = 1908966
CPU capabilities:
Wed Oct 16 07:17:13 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 2s
Wed Oct 16 07:17:15 2019    Done.
Linkage Disequilibrium (LD) estimation on genotypes:
Working space: 279 samples, 1000 SNPs
    using 1 (CPU) core.
    method: covariance
LD matrix:    the sum of all selected genotypes (0,1,2) = 283058
Linkage Disequilibrium (LD) estimation on genotypes:
Working space: 279 samples, 1000 SNPs
    using 1 (CPU) core.
    method: correlation
LD matrix:    the sum of all selected genotypes (0,1,2) = 283058
FUNCTION: SNPGDSFileClass
FUNCTION: SNPRelate-package
Start file conversion from PLINK BED to SNP GDS ...
    BED file: "C:/Users/biocbuild/bbs-3.9-bioc/R/library/SNPRelate/extdata/plinkhapmap.bed.gz"
        SNP-major mode (Sample X SNP), 45.7K
    FAM file: "C:/Users/biocbuild/bbs-3.9-bioc/R/library/SNPRelate/extdata/plinkhapmap.fam.gz"
    BIM file: "C:/Users/biocbuild/bbs-3.9-bioc/R/library/SNPRelate/extdata/plinkhapmap.bim.gz"
Wed Oct 16 07:17:19 2019     (store sample id, snp id, position, and chromosome)
    start writing: 60 samples, 5000 SNPs ...

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:17:19 2019 	Done.
Optimize the access efficiency ...
Clean up the fragments of GDS file:
    open the file 'HapMap.gds' (98.1K)
    # of fragments: 38
    save to 'HapMap.gds.tmp'
    rename 'HapMap.gds.tmp' (97.8K, reduced: 240B)
    # of fragments: 18
Principal Component Analysis (PCA) on genotypes:
Excluding 203 SNPs on non-autosomes
Excluding 28 SNPs (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 60 samples, 4,769 SNPs
    using 1 (CPU) core
PCA:    the sum of all selected genotypes (0,1,2) = 124273
CPU capabilities:
Wed Oct 16 07:17:19 2019    (internal increment: 53996)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:17:19 2019    Begin (eigenvalues and eigenvectors)
Wed Oct 16 07:17:19 2019    Done.
IBD analysis (PLINK method of moment) on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core
PLINK IBD:    the sum of all selected genotypes (0,1,2) = 2446510
Wed Oct 16 07:17:20 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 1s
Wed Oct 16 07:17:22 2019    Done.
Identity-By-State (IBS) analysis on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core
IBS:    the sum of all selected genotypes (0,1,2) = 2446510
Wed Oct 16 07:17:22 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 2s
Wed Oct 16 07:17:24 2019    Done.
Linkage Disequilibrium (LD) estimation on genotypes:
Working space: 279 samples, 200 SNPs
    using 1 (CPU) core.
    method: composite
LD matrix:    the sum of all selected genotypes (0,1,2) = 55417
FUNCTION: hapmap_geno
FUNCTION: snpgdsAdmixPlot
Eigen-analysis on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core
Eigen-analysis:    the sum of all selected genotypes (0,1,2) = 2446510
CPU capabilities:
Wed Oct 16 07:17:24 2019    (internal increment: 11612)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 1s
Wed Oct 16 07:17:25 2019    Begin (eigenvalues and eigenvectors)
Wed Oct 16 07:17:25 2019    Done.
FUNCTION: snpgdsAdmixProp
Eigen-analysis on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core
Eigen-analysis:    the sum of all selected genotypes (0,1,2) = 2446510
CPU capabilities:
Wed Oct 16 07:17:25 2019    (internal increment: 11612)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 1s
Wed Oct 16 07:17:26 2019    Begin (eigenvalues and eigenvectors)
Wed Oct 16 07:17:26 2019    Done.
FUNCTION: snpgdsAlleleSwitch
Strand-switching at 50 SNP locus/loci.
Unable to determine switching at 10 SNP locus/loci.
FUNCTION: snpgdsApartSelection
Wed Oct 16 07:17:27 2019	Chromosome 1, # of SNPs: 367
Wed Oct 16 07:17:27 2019	Chromosome 2, # of SNPs: 367
Wed Oct 16 07:17:27 2019	Chromosome 3, # of SNPs: 317
Wed Oct 16 07:17:27 2019	Chromosome 4, # of SNPs: 295
Wed Oct 16 07:17:27 2019	Chromosome 5, # of SNPs: 295
Wed Oct 16 07:17:27 2019	Chromosome 6, # of SNPs: 283
Wed Oct 16 07:17:27 2019	Chromosome 7, # of SNPs: 245
Wed Oct 16 07:17:27 2019	Chromosome 8, # of SNPs: 234
Wed Oct 16 07:17:27 2019	Chromosome 9, # of SNPs: 202
Wed Oct 16 07:17:27 2019	Chromosome 10, # of SNPs: 224
Wed Oct 16 07:17:27 2019	Chromosome 11, # of SNPs: 223
Wed Oct 16 07:17:27 2019	Chromosome 12, # of SNPs: 208
Wed Oct 16 07:17:27 2019	Chromosome 13, # of SNPs: 172
Wed Oct 16 07:17:27 2019	Chromosome 14, # of SNPs: 147
Wed Oct 16 07:17:27 2019	Chromosome 15, # of SNPs: 121
Wed Oct 16 07:17:27 2019	Chromosome 16, # of SNPs: 129
Wed Oct 16 07:17:27 2019	Chromosome 17, # of SNPs: 116
Wed Oct 16 07:17:27 2019	Chromosome 18, # of SNPs: 129
Wed Oct 16 07:17:27 2019	Chromosome 19, # of SNPs: 73
Wed Oct 16 07:17:27 2019	Chromosome 20, # of SNPs: 106
Wed Oct 16 07:17:27 2019	Chromosome 21, # of SNPs: 62
Wed Oct 16 07:17:27 2019	Chromosome 22, # of SNPs: 51
Wed Oct 16 07:17:27 2019	Chromosome 23, # of SNPs: 204
Total # of SNPs selected:4570
FUNCTION: snpgdsBED2GDS
Start file conversion from PLINK BED to SNP GDS ...
    BED file: "C:/Users/biocbuild/bbs-3.9-bioc/R/library/SNPRelate/extdata/plinkhapmap.bed.gz"
        SNP-major mode (Sample X SNP), 45.7K
    FAM file: "C:/Users/biocbuild/bbs-3.9-bioc/R/library/SNPRelate/extdata/plinkhapmap.fam.gz"
    BIM file: "C:/Users/biocbuild/bbs-3.9-bioc/R/library/SNPRelate/extdata/plinkhapmap.bim.gz"
Wed Oct 16 07:17:27 2019     (store sample id, snp id, position, and chromosome)
    start writing: 60 samples, 5000 SNPs ...

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:17:27 2019 	Done.
Optimize the access efficiency ...
Clean up the fragments of GDS file:
    open the file 'HapMap.gds' (98.1K)
    # of fragments: 38
    save to 'HapMap.gds.tmp'
    rename 'HapMap.gds.tmp' (97.8K, reduced: 240B)
    # of fragments: 18
FUNCTION: snpgdsClose
FUNCTION: snpgdsCombineGeno
Create a GDS genotype file:
The new dataset consists of 10 samples and 3000 SNPs
    write sample.id
    write snp.id
    write snp.rs.id
    write snp.position
    write snp.chromosome
    write snp.allele
SNP genotypes are stored in SNP-major mode (Sample X SNP).
Create a GDS genotype file:
The new dataset consists of 20 samples and 3000 SNPs
    write sample.id
    write snp.id
    write snp.rs.id
    write snp.position
    write snp.chromosome
    write snp.allele
SNP genotypes are stored in SNP-major mode (Sample X SNP).
Merge SNP GDS files:
    open 't1.gds' ...
        10 samples, 3000 SNPs
    open 't2.gds' ...
        20 samples, 3000 SNPs
Concatenating samples (mapping to the first GDS file) ...
    reference: 3000 SNPs (100.0%)
    file 2: 0 allele flips, 0 ambiguous locus/loci
        [no flip]: 3000
    create 'test.gds': 30 samples, 3000 SNPs
    FileFormat = SNP_ARRAY
    writing genotypes ...
Clean up the fragments of GDS file:
    open the file 'test.gds' (46.2K)
    # of fragments: 32
    save to 'test.gds.tmp'
    rename 'test.gds.tmp' (46.0K, reduced: 204B)
    # of fragments: 15
Done.
Create a GDS genotype file:
The new dataset consists of 279 samples and 100 SNPs
    write sample.id
    write snp.id
    write snp.rs.id
    write snp.position
    write snp.chromosome
    write snp.allele
SNP genotypes are stored in SNP-major mode (Sample X SNP).
Create a GDS genotype file:
The new dataset consists of 279 samples and 200 SNPs
    write sample.id
    write snp.id
    write snp.rs.id
    write snp.position
    write snp.chromosome
    write snp.allele
SNP genotypes are stored in SNP-major mode (Sample X SNP).
Merge SNP GDS files:
    open 't1.gds' ...
        279 samples, 100 SNPs
    open 't2.gds' ...
        279 samples, 200 SNPs
Concatenating SNPs ...
    create 'test.gds': 279 samples, 300 SNPs
    FileFormat = SNP_ARRAY
    writing genotypes ...
Clean up the fragments of GDS file:
    open the file 'test.gds' (19.1K)
    # of fragments: 32
    save to 'test.gds.tmp'
    rename 'test.gds.tmp' (18.9K, reduced: 204B)
    # of fragments: 15
Done.
FUNCTION: snpgdsCreateGeno
Principal Component Analysis (PCA) on genotypes:
Excluding 42 SNPs on non-autosomes
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 958 SNPs
    using 1 (CPU) core
PCA:    the sum of all selected genotypes (0,1,2) = 264760
CPU capabilities:
Wed Oct 16 07:17:27 2019    (internal increment: 11612)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 1s
Wed Oct 16 07:17:28 2019    Begin (eigenvalues and eigenvectors)
Wed Oct 16 07:17:28 2019    Done.
FUNCTION: snpgdsCreateGenoSet
SNP pruning based on LD:
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core
    sliding window: 500,000 basepairs, Inf SNPs
    |LD| threshold: 0.2
    method: composite
Chromosome 1: 76.12%, 545/716
Chromosome 2: 72.78%, 540/742
Chromosome 3: 74.71%, 455/609
Chromosome 4: 73.49%, 413/562
Chromosome 5: 76.86%, 435/566
Chromosome 6: 75.75%, 428/565
Chromosome 7: 75.42%, 356/472
Chromosome 8: 71.11%, 347/488
Chromosome 9: 77.88%, 324/416
Chromosome 10: 74.12%, 358/483
Chromosome 11: 77.85%, 348/447
Chromosome 12: 76.81%, 328/427
Chromosome 13: 76.16%, 262/344
Chromosome 14: 76.60%, 216/282
Chromosome 15: 76.34%, 200/262
Chromosome 16: 72.66%, 202/278
Chromosome 17: 73.91%, 153/207
Chromosome 18: 73.68%, 196/266
Chromosome 19: 85.00%, 102/120
Chromosome 20: 71.62%, 164/229
Chromosome 21: 76.98%, 97/126
Chromosome 22: 75.86%, 88/116
6,557 markers are selected in total.
Create a GDS genotype file:
The new dataset consists of 279 samples and 6557 SNPs
    write sample.id
    write snp.id
    write snp.rs.id
    write snp.position
    write snp.chromosome
    write snp.allele
SNP genotypes are stored in SNP-major mode (Sample X SNP).
FUNCTION: snpgdsCutTree
Individual dissimilarity analysis on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core
Dissimilarity:    the sum of all selected genotypes (0,1,2) = 2446510
Dissimilarity:	Wed Oct 16 07:17:29 2019	0%
Dissimilarity:	Wed Oct 16 07:17:30 2019	100%
Determine groups by permutation (Z threshold: 15, outlier threshold: 5):
Create 3 groups.
Create 4 groups.
FUNCTION: snpgdsDiss
Individual dissimilarity analysis on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core
Dissimilarity:    the sum of all selected genotypes (0,1,2) = 2446510
Dissimilarity:	Wed Oct 16 07:17:32 2019	0%
Dissimilarity:	Wed Oct 16 07:17:33 2019	100%
Determine groups by permutation (Z threshold: 15, outlier threshold: 5):
Create 3 groups.
FUNCTION: snpgdsDrawTree
Individual dissimilarity analysis on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core
Dissimilarity:    the sum of all selected genotypes (0,1,2) = 2446510
Dissimilarity:	Wed Oct 16 07:17:34 2019	0%
Dissimilarity:	Wed Oct 16 07:17:35 2019	100%
Determine groups by permutation (Z threshold: 15, outlier threshold: 5):
Create 3 groups.
FUNCTION: snpgdsEIGMIX
Eigen-analysis on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core
Eigen-analysis:    the sum of all selected genotypes (0,1,2) = 2446510
CPU capabilities:
Wed Oct 16 07:17:36 2019    (internal increment: 11612)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 1s
Wed Oct 16 07:17:37 2019    Begin (eigenvalues and eigenvectors)
Wed Oct 16 07:17:37 2019    Done.
FUNCTION: snpgdsErrMsg
FUNCTION: snpgdsExampleFileName
FUNCTION: snpgdsFst
Fst estimation on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
Method: Weir & Cockerham, 1984
# of Populations: 4
    CEU (92), HCB (47), JPT (47), YRI (93)
Fst estimation on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
Method: Weir & Hill, 2002
# of Populations: 4
    CEU (92), HCB (47), JPT (47), YRI (93)
FUNCTION: snpgdsGDS2BED
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: 0.95)
Converting from GDS to PLINK binary PED:
Working space: 279 samples, 8722 SNPs
Output a BIM file.
Output a BED file ...
		Wed Oct 16 07:17:37 2019	0%
		Wed Oct 16 07:17:37 2019	100%
Done.
FUNCTION: snpgdsGDS2Eigen
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: 0.95)
Converting from GDS to EIGENSOFT:
	save to *.snp: 8722 snps
	save to *.ind: 279 samples
	Output: 	Wed Oct 16 07:17:37 2019	0%
	Output: 	Wed Oct 16 07:17:38 2019	100%
Done.
FUNCTION: snpgdsGDS2PED
Converting from GDS to PLINK PED:
	Output a MAP file DONE.
	Output a PED file ...
		Output: 	Wed Oct 16 07:17:38 2019	0%
		Output: 	Wed Oct 16 07:17:38 2019	100%
FUNCTION: snpgdsGEN2GDS
running snpgdsGEN2GDS ...
FUNCTION: snpgdsGRM
Genetic Relationship Matrix (GRM, GCTA):
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core
GRM Calculation:    the sum of all selected genotypes (0,1,2) = 2446510
CPU capabilities:
Wed Oct 16 07:17:39 2019    (internal increment: 11612)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:17:39 2019    Done.
Genetic Relationship Matrix (GRM, GCTA):
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core
GRM Calculation:    the sum of all selected genotypes (0,1,2) = 2446510
CPU capabilities:
Wed Oct 16 07:17:39 2019    (internal increment: 11612)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 1s
Saving to the GDS file:

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:17:40 2019    Done.
FUNCTION: snpgdsGetGeno
Genotype matrix: 1000 SNPs X 279 samples
Genotype matrix: 279 samples X 1000 SNPs
FUNCTION: snpgdsHCluster
Individual dissimilarity analysis on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core
Dissimilarity:    the sum of all selected genotypes (0,1,2) = 2446510
Dissimilarity:	Wed Oct 16 07:17:41 2019	0%
Dissimilarity:	Wed Oct 16 07:17:42 2019	100%
Determine groups by permutation (Z threshold: 15, outlier threshold: 5):
Create 3 groups.
FUNCTION: snpgdsHWE
Keeping 716 SNPs according to chromosome 1
Excluding 160 SNPs (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
FUNCTION: snpgdsIBDKING
IBD analysis (KING method of moment) on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1,217 SNPs (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 92 samples, 7,506 SNPs
    using 1 (CPU) core
No family is specified, and all individuals are treated as singletons.
Relationship inference in the presence of population stratification.
KING IBD:    the sum of all selected genotypes (0,1,2) = 702139
CPU capabilities:
Wed Oct 16 07:17:43 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:17:43 2019    Done.
IBD analysis (KING method of moment) on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1,217 SNPs (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 92 samples, 7,506 SNPs
    using 1 (CPU) core
No family is specified, and all individuals are treated as singletons.
Relationship inference in the presence of population stratification.
KING IBD:    the sum of all selected genotypes (0,1,2) = 702139
CPU capabilities:
Wed Oct 16 07:17:43 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:17:43 2019    Done.
IBD analysis (KING method of moment) on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1,217 SNPs (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 92 samples, 7,506 SNPs
    using 1 (CPU) core
# of families: 20, and within- and between-family relationship are estimated differently.
Relationship inference in the presence of population stratification.
KING IBD:    the sum of all selected genotypes (0,1,2) = 702139
CPU capabilities:
Wed Oct 16 07:17:45 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 1s
Wed Oct 16 07:17:46 2019    Done.
IBD analysis (KING method of moment) on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1,217 SNPs (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 92 samples, 7,506 SNPs
    using 1 (CPU) core
Relationship inference in a homogeneous population.
KING IBD:    the sum of all selected genotypes (0,1,2) = 702139
Wed Oct 16 07:17:46 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:17:46 2019    Done.
IBD analysis (KING method of moment) on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1,217 SNPs (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 92 samples, 7,506 SNPs
    using 1 (CPU) core
Relationship inference in a homogeneous population.
KING IBD:    the sum of all selected genotypes (0,1,2) = 702139
Wed Oct 16 07:17:46 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 1s
Wed Oct 16 07:17:47 2019    Done.
FUNCTION: snpgdsIBDMLE
SNP pruning based on LD:
Excluding 365 SNPs on non-autosomes
Excluding 1,581 SNPs (monomorphic: TRUE, MAF: 0.05, missing rate: 0.05)
Working space: 30 samples, 7,142 SNPs
    using 1 (CPU) core
    sliding window: 500,000 basepairs, Inf SNPs
    |LD| threshold: 0.2
    method: composite
Chromosome 1: 54.75%, 392/716
Chromosome 2: 54.31%, 403/742
Chromosome 3: 55.99%, 341/609
Chromosome 4: 56.58%, 318/562
Chromosome 5: 56.36%, 319/566
Chromosome 6: 52.74%, 298/565
Chromosome 7: 56.14%, 265/472
Chromosome 8: 51.84%, 253/488
Chromosome 9: 54.81%, 228/416
Chromosome 10: 49.90%, 241/483
Chromosome 11: 54.81%, 245/447
Chromosome 12: 54.80%, 234/427
Chromosome 13: 53.49%, 184/344
Chromosome 14: 56.03%, 158/282
Chromosome 15: 54.58%, 143/262
Chromosome 16: 54.68%, 152/278
Chromosome 17: 55.56%, 115/207
Chromosome 18: 55.64%, 148/266
Chromosome 19: 66.67%, 80/120
Chromosome 20: 53.28%, 122/229
Chromosome 21: 50.79%, 64/126
Chromosome 22: 51.72%, 60/116
4,763 markers are selected in total.
Identity-By-Descent analysis (MLE) on genotypes:
Excluding 8,838 SNPs (non-autosomes or non-selection)
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 30 samples, 250 SNPs
    using 1 (CPU) core
MLE IBD:    the sum of all selected genotypes (0,1,2) = 7775
MLE IBD:	Wed Oct 16 07:17:47 2019	0%
MLE IBD:	Wed Oct 16 07:17:48 2019	100%
Identity-By-Descent analysis (MLE) on genotypes:
Excluding 8,838 SNPs (non-autosomes or non-selection)
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 25 samples, 250 SNPs
    using 1 (CPU) core
Specifying allele frequencies, mean: 0.519, sd: 0.291
MLE IBD:    the sum of all selected genotypes (0,1,2) = 6471
MLE IBD:	Wed Oct 16 07:17:49 2019	0%
MLE IBD:	Wed Oct 16 07:17:49 2019	100%
FUNCTION: snpgdsIBDMLELogLik
SNP pruning based on LD:
Excluding 365 SNPs on non-autosomes
Excluding 1,581 SNPs (monomorphic: TRUE, MAF: 0.05, missing rate: 0.05)
Working space: 30 samples, 7,142 SNPs
    using 1 (CPU) core
    sliding window: 500,000 basepairs, Inf SNPs
    |LD| threshold: 0.2
    method: composite
Chromosome 1: 54.75%, 392/716
Chromosome 2: 54.31%, 403/742
Chromosome 3: 55.99%, 341/609
Chromosome 4: 56.58%, 318/562
Chromosome 5: 56.36%, 319/566
Chromosome 6: 52.74%, 298/565
Chromosome 7: 56.14%, 265/472
Chromosome 8: 51.84%, 253/488
Chromosome 9: 54.81%, 228/416
Chromosome 10: 49.90%, 241/483
Chromosome 11: 54.81%, 245/447
Chromosome 12: 54.80%, 234/427
Chromosome 13: 53.49%, 184/344
Chromosome 14: 56.03%, 158/282
Chromosome 15: 54.58%, 143/262
Chromosome 16: 54.68%, 152/278
Chromosome 17: 55.56%, 115/207
Chromosome 18: 55.64%, 148/266
Chromosome 19: 66.67%, 80/120
Chromosome 20: 53.28%, 122/229
Chromosome 21: 50.79%, 64/126
Chromosome 22: 51.72%, 60/116
4,763 markers are selected in total.
Identity-By-Descent analysis (MLE) on genotypes:
Excluding 8,838 SNPs (non-autosomes or non-selection)
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 30 samples, 250 SNPs
    using 1 (CPU) core
MLE IBD:    the sum of all selected genotypes (0,1,2) = 7775
MLE IBD:	Wed Oct 16 07:17:49 2019	0%
MLE IBD:	Wed Oct 16 07:17:50 2019	100%
Identity-By-Descent analysis (MLE) on genotypes:
Excluding 8,838 SNPs (non-autosomes or non-selection)
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 25 samples, 250 SNPs
    using 1 (CPU) core
Specifying allele frequencies, mean: 0.519, sd: 0.291
MLE IBD:    the sum of all selected genotypes (0,1,2) = 6471
MLE IBD:	Wed Oct 16 07:17:50 2019	0%
MLE IBD:	Wed Oct 16 07:17:51 2019	100%
FUNCTION: snpgdsIBDMoM
IBD analysis (PLINK method of moment) on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1,217 SNPs (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 92 samples, 7,506 SNPs
    using 1 (CPU) core
PLINK IBD:    the sum of all selected genotypes (0,1,2) = 702139
Wed Oct 16 07:17:51 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:17:51 2019    Done.
IBD analysis (PLINK method of moment) on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 563 SNPs (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 93 samples, 8,160 SNPs
    using 1 (CPU) core
PLINK IBD:    the sum of all selected genotypes (0,1,2) = 755648
Wed Oct 16 07:17:51 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:17:51 2019    Done.
IBD analysis (PLINK method of moment) on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 563 SNPs (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 93 samples, 8,160 SNPs
    using 1 (CPU) core
Specifying allele frequencies, mean: 0.500, sd: 0.315
*** A correction factor based on allele count is not used, since the allele frequencies are specified.
PLINK IBD:    the sum of all selected genotypes (0,1,2) = 755648
Wed Oct 16 07:17:51 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:17:51 2019    Done.
IBD analysis (PLINK method of moment) on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 563 SNPs (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 25 samples, 8,160 SNPs
    using 1 (CPU) core
Specifying allele frequencies, mean: 0.500, sd: 0.315
*** A correction factor based on allele count is not used, since the allele frequencies are specified.
PLINK IBD:    the sum of all selected genotypes (0,1,2) = 203285
Wed Oct 16 07:17:51 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:17:51 2019    Done.
FUNCTION: snpgdsIBDSelection
IBD analysis (PLINK method of moment) on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 563 SNPs (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 93 samples, 8,160 SNPs
    using 1 (CPU) core
PLINK IBD:    the sum of all selected genotypes (0,1,2) = 755648
Wed Oct 16 07:17:52 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:17:52 2019    Done.
FUNCTION: snpgdsIBS
Identity-By-State (IBS) analysis on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core
IBS:    the sum of all selected genotypes (0,1,2) = 2446510
Wed Oct 16 07:17:52 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 2s
Wed Oct 16 07:17:54 2019    Done.
FUNCTION: snpgdsIBSNum
Identity-By-State (IBS) analysis on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core
IBS:    the sum of all selected genotypes (0,1,2) = 2446510
Wed Oct 16 07:17:54 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 2s
Wed Oct 16 07:17:56 2019    Done.
FUNCTION: snpgdsIndInb
Estimating individual inbreeding coefficients:
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
FUNCTION: snpgdsIndInbCoef
FUNCTION: snpgdsIndivBeta
Individual Inbreeding and Relatedness (beta estimator):
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core
Individual Beta:    the sum of all selected genotypes (0,1,2) = 2446510
CPU capabilities:
Wed Oct 16 07:17:56 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 2s
Wed Oct 16 07:17:58 2019    Done.
FUNCTION: snpgdsLDMat
Linkage Disequilibrium (LD) estimation on genotypes:
Working space: 279 samples, 203 SNPs
    using 1 (CPU) core.
    method: composite
LD matrix:    the sum of all selected genotypes (0,1,2) = 56582
Linkage Disequilibrium (LD) estimation on genotypes:
Working space: 279 samples, 203 SNPs
    using 1 (CPU) core.
    sliding window size: 203 
    method: composite
LD matrix:    the sum of all selected genotypes (0,1,2) = 56582
FUNCTION: snpgdsLDpair
FUNCTION: snpgdsLDpruning
SNP pruning based on LD:
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core
    sliding window: 500,000 basepairs, Inf SNPs
    |LD| threshold: 0.2
    method: composite
Chromosome 1: 76.12%, 545/716
Chromosome 2: 72.78%, 540/742
Chromosome 3: 74.71%, 455/609
Chromosome 4: 73.49%, 413/562
Chromosome 5: 76.86%, 435/566
Chromosome 6: 75.75%, 428/565
Chromosome 7: 75.42%, 356/472
Chromosome 8: 71.11%, 347/488
Chromosome 9: 77.88%, 324/416
Chromosome 10: 74.12%, 358/483
Chromosome 11: 77.85%, 348/447
Chromosome 12: 76.81%, 328/427
Chromosome 13: 76.16%, 262/344
Chromosome 14: 76.60%, 216/282
Chromosome 15: 76.34%, 200/262
Chromosome 16: 72.66%, 202/278
Chromosome 17: 73.91%, 153/207
Chromosome 18: 73.68%, 196/266
Chromosome 19: 85.00%, 102/120
Chromosome 20: 71.62%, 164/229
Chromosome 21: 76.98%, 97/126
Chromosome 22: 75.86%, 88/116
6,557 markers are selected in total.
FUNCTION: snpgdsMergeGRM
Genetic Relationship Matrix (GRM, GCTA):
Excluding 2,288 SNPs (non-autosomes or non-selection)
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 6,800 SNPs
    using 1 (CPU) core
GRM Calculation:    the sum of all selected genotypes (0,1,2) = 1908966
CPU capabilities:
Wed Oct 16 07:17:59 2019    (internal increment: 11612)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 1s
Wed Oct 16 07:18:00 2019    Done.
Genetic Relationship Matrix (GRM, GCTA):
Excluding 5,688 SNPs (non-autosomes or non-selection)
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 3,400 SNPs
    using 1 (CPU) core
GRM Calculation:    the sum of all selected genotypes (0,1,2) = 951558
CPU capabilities:
Wed Oct 16 07:18:00 2019    (internal increment: 11612)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 1s
Saving to the GDS file:

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:01 2019    Done.
Genetic Relationship Matrix (GRM, GCTA):
Excluding 5,688 SNPs (non-autosomes or non-selection)
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 3,400 SNPs
    using 1 (CPU) core
GRM Calculation:    the sum of all selected genotypes (0,1,2) = 957408
CPU capabilities:
Wed Oct 16 07:18:01 2019    (internal increment: 11612)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 1s
Saving to the GDS file:

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:02 2019    Done.
GRM merging:
    open 'tmp1.gds' (3,400 variants)
    open 'tmp2.gds' (3,400 variants)
Weight: 0.5, 0.5
Output: tmp.gds

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
GRM merging:
    open 'tmp1.gds' (3,400 variants)
    open 'tmp2.gds' (3,400 variants)
Weight: 0.5, 0.5

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 1s
FUNCTION: snpgdsOpen
FUNCTION: snpgdsOption
FUNCTION: snpgdsPCA
Principal Component Analysis (PCA) on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core
PCA:    the sum of all selected genotypes (0,1,2) = 2446510
CPU capabilities:
Wed Oct 16 07:18:03 2019    (internal increment: 11612)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:03 2019    Begin (eigenvalues and eigenvectors)
Wed Oct 16 07:18:03 2019    Done.
FUNCTION: snpgdsPCACorr
Principal Component Analysis (PCA) on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core
PCA:    the sum of all selected genotypes (0,1,2) = 2446510
CPU capabilities:
Wed Oct 16 07:18:04 2019    (internal increment: 11612)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:04 2019    Begin (eigenvalues and eigenvectors)
Wed Oct 16 07:18:04 2019    Done.
SNP Correlation:
Working space: 279 samples, 9088 SNPs
    using 1 (CPU) core
    using the top 4 eigenvectors
Correlation:    the sum of all selected genotypes (0,1,2) = 2553065
Wed Oct 16 07:18:04 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:04 2019    Done.
SNP Correlation:
Working space: 279 samples, 9088 SNPs
    using 1 (CPU) core
    using the top 4 eigenvectors
Creating 'test.gds' ...
Correlation:    the sum of all selected genotypes (0,1,2) = 2553065
Wed Oct 16 07:18:04 2019

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:04 2019    Done.
FUNCTION: snpgdsPCASNPLoading
Principal Component Analysis (PCA) on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core
PCA:    the sum of all selected genotypes (0,1,2) = 2446510
CPU capabilities:
Wed Oct 16 07:18:05 2019    (internal increment: 11612)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:05 2019    Begin (eigenvalues and eigenvectors)
Wed Oct 16 07:18:05 2019    Done.
SNP loading:
Working space: 279 samples, 8722 SNPs
    using 1 (CPU) core
    using the top 8 eigenvectors
SNP Loading:    the sum of all selected genotypes (0,1,2) = 2446510
Wed Oct 16 07:18:05 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:05 2019    Done.
FUNCTION: snpgdsPCASampLoading
Principal Component Analysis (PCA) on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core
PCA:    the sum of all selected genotypes (0,1,2) = 2446510
CPU capabilities:
Wed Oct 16 07:18:06 2019    (internal increment: 11612)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:06 2019    Begin (eigenvalues and eigenvectors)
Wed Oct 16 07:18:06 2019    Done.
SNP loading:
Working space: 279 samples, 8722 SNPs
    using 1 (CPU) core
    using the top 8 eigenvectors
SNP Loading:    the sum of all selected genotypes (0,1,2) = 2446510
Wed Oct 16 07:18:06 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:06 2019    Done.
Sample loading:
Working space: 100 samples, 8722 SNPs
    using 1 (CPU) core
    using the top 8 eigenvectors
Sample Loading:    the sum of all selected genotypes (0,1,2) = 878146
Wed Oct 16 07:18:06 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:06 2019    Done.
FUNCTION: snpgdsPED2GDS
Converting from GDS to PLINK PED:
	Output a MAP file DONE.
	Output a PED file ...
		Output: 	Wed Oct 16 07:18:06 2019	0%
		Output: 	Wed Oct 16 07:18:07 2019	100%
PLINK PED/MAP to GDS Format:
Import 9088 variants from 'tmp.map'
Chromosome:
  1  10  11  12  13  14  15  16  17  18  19   2  20  21  22   3   4   5   6   7 
716 483 447 427 344 282 262 278 207 266 120 742 229 126 116 609 562 566 565 472 
  8   9   X 
488 416 365 
Reading 'tmp.ped'
Output: 'test.gds'
Import 279 samples
Transpose the genotypic matrix ...
Done.
Optimize the access efficiency ...
Clean up the fragments of GDS file:
    open the file 'test.gds' (1.3M)
    # of fragments: 50
    save to 'test.gds.tmp'
    rename 'test.gds.tmp' (711.4K, reduced: 618.7K)
    # of fragments: 26
FUNCTION: snpgdsPairIBD
SNP pruning based on LD:
Excluding 365 SNPs on non-autosomes
Excluding 1,646 SNPs (monomorphic: TRUE, MAF: 0.05, missing rate: 0.05)
Working space: 93 samples, 7,077 SNPs
    using 1 (CPU) core
    sliding window: 500,000 basepairs, Inf SNPs
    |LD| threshold: 0.2
    method: composite
Chromosome 1: 62.29%, 446/716
Chromosome 2: 62.67%, 465/742
Chromosome 3: 59.93%, 365/609
Chromosome 4: 64.23%, 361/562
Chromosome 5: 62.37%, 353/566
Chromosome 6: 59.82%, 338/565
Chromosome 7: 63.14%, 298/472
Chromosome 8: 57.58%, 281/488
Chromosome 9: 62.98%, 262/416
Chromosome 10: 60.46%, 292/483
Chromosome 11: 63.09%, 282/447
Chromosome 12: 62.76%, 268/427
Chromosome 13: 63.08%, 217/344
Chromosome 14: 63.83%, 180/282
Chromosome 15: 63.74%, 167/262
Chromosome 16: 62.23%, 173/278
Chromosome 17: 65.70%, 136/207
Chromosome 18: 59.40%, 158/266
Chromosome 19: 68.33%, 82/120
Chromosome 20: 66.38%, 152/229
Chromosome 21: 61.11%, 77/126
Chromosome 22: 57.76%, 67/116
5,420 markers are selected in total.
Identity-By-Descent analysis (MLE) on genotypes:
Excluding 8,838 SNPs (non-autosomes or non-selection)
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 25 samples, 250 SNPs
    using 1 (CPU) core
Specifying allele frequencies, mean: 0.486, sd: 0.284
MLE IBD:    the sum of all selected genotypes (0,1,2) = 6112
MLE IBD:	Wed Oct 16 07:18:09 2019	0%
MLE IBD:	Wed Oct 16 07:18:10 2019	100%
IBD analysis (PLINK method of moment) on genotypes:
Excluding 8,838 SNPs (non-autosomes or non-selection)
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 25 samples, 250 SNPs
    using 1 (CPU) core
Specifying allele frequencies, mean: 0.486, sd: 0.284
*** A correction factor based on allele count is not used, since the allele frequencies are specified.
PLINK IBD:    the sum of all selected genotypes (0,1,2) = 6112
Wed Oct 16 07:18:10 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:10 2019    Done.
Identity-By-Descent analysis (MLE) on genotypes:
Excluding 8,838 SNPs (non-autosomes or non-selection)
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 25 samples, 250 SNPs
    using 1 (CPU) core
Specifying allele frequencies, mean: 0.486, sd: 0.284
MLE IBD:    the sum of all selected genotypes (0,1,2) = 6112
MLE IBD:	Wed Oct 16 07:18:10 2019	0%
MLE IBD:	Wed Oct 16 07:18:10 2019	100%
Genotype matrix: 250 SNPs X 25 samples
[1] -370.7482
[1] -402.2141
[1] -383.7897
[1] -377.9084
[1] -381.3139
[1] -397.5581
[1] -378.3344
[1] -370.703
[1] -376.103
[1] -377.7911
[1] -375.5425
[1] -373.13
[1] -383.6992
[1] -393.5194
[1] -371.9843
[1] -369.6468
[1] -374.5139
[1] -377.841
[1] -387.5622
[1] -377.1646
[1] -377.4659
[1] -375.2204
[1] -372.0639
[1] -379.816
FUNCTION: snpgdsPairIBDMLELogLik
SNP pruning based on LD:
Excluding 365 SNPs on non-autosomes
Excluding 1,646 SNPs (monomorphic: TRUE, MAF: 0.05, missing rate: 0.05)
Working space: 93 samples, 7,077 SNPs
    using 1 (CPU) core
    sliding window: 500,000 basepairs, Inf SNPs
    |LD| threshold: 0.2
    method: composite
Chromosome 1: 62.29%, 446/716
Chromosome 2: 62.67%, 465/742
Chromosome 3: 59.93%, 365/609
Chromosome 4: 64.23%, 361/562
Chromosome 5: 62.37%, 353/566
Chromosome 6: 59.82%, 338/565
Chromosome 7: 63.14%, 298/472
Chromosome 8: 57.58%, 281/488
Chromosome 9: 62.98%, 262/416
Chromosome 10: 60.46%, 292/483
Chromosome 11: 63.09%, 282/447
Chromosome 12: 62.76%, 268/427
Chromosome 13: 63.08%, 217/344
Chromosome 14: 63.83%, 180/282
Chromosome 15: 63.74%, 167/262
Chromosome 16: 62.23%, 173/278
Chromosome 17: 65.70%, 136/207
Chromosome 18: 59.40%, 158/266
Chromosome 19: 68.33%, 82/120
Chromosome 20: 66.38%, 152/229
Chromosome 21: 61.11%, 77/126
Chromosome 22: 57.76%, 67/116
5,420 markers are selected in total.
Identity-By-Descent analysis (MLE) on genotypes:
Excluding 8,838 SNPs (non-autosomes or non-selection)
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 25 samples, 250 SNPs
    using 1 (CPU) core
Specifying allele frequencies, mean: 0.486, sd: 0.284
MLE IBD:    the sum of all selected genotypes (0,1,2) = 6112
MLE IBD:	Wed Oct 16 07:18:11 2019	0%
MLE IBD:	Wed Oct 16 07:18:12 2019	100%
IBD analysis (PLINK method of moment) on genotypes:
Excluding 8,838 SNPs (non-autosomes or non-selection)
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 25 samples, 250 SNPs
    using 1 (CPU) core
Specifying allele frequencies, mean: 0.486, sd: 0.284
*** A correction factor based on allele count is not used, since the allele frequencies are specified.
PLINK IBD:    the sum of all selected genotypes (0,1,2) = 6112
Wed Oct 16 07:18:12 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:12 2019    Done.
Genotype matrix: 250 SNPs X 25 samples
[1] -370.7482
[1] -402.2141
[1] -383.7897
[1] -377.9084
[1] -381.3139
[1] -397.5581
[1] -378.3344
[1] -370.703
[1] -376.103
[1] -377.7911
[1] -375.5425
[1] -373.13
[1] -383.6992
[1] -393.5194
[1] -371.9843
[1] -369.6468
[1] -374.5139
[1] -377.841
[1] -387.5622
[1] -377.1646
[1] -377.4659
[1] -375.2204
[1] -372.0639
[1] -379.816
FUNCTION: snpgdsPairScore
Excluding 365 SNPs on non-autosomes
Working space: 120 samples, 8723 SNPs
Method: IBS
Genotype Score:    the sum of all selected genotypes (0,1,2) = 1050236
Working space: 120 samples, 8723 SNPs
Method: IBS
Genotype Score:    the sum of all selected genotypes (0,1,2) = 1050236
Working space: 120 samples, 8723 SNPs
Method: IBS
Genotype Score:    the sum of all selected genotypes (0,1,2) = 1050236
Working space: 120 samples, 8723 SNPs
Method: IBS
Genotype Score:    the sum of all selected genotypes (0,1,2) = 1050236
Working space: 120 samples, 8723 SNPs
Method: IBS
Output: C:\Users\biocbuild\bbs-3.9-bioc\meat\SNPRelate.Rcheck\tests_i386\tmp.gds
Genotype Score:    the sum of all selected genotypes (0,1,2) = 1050236
FUNCTION: snpgdsSNPList
FUNCTION: snpgdsSNPListClass
FUNCTION: snpgdsSNPListIntersect
FUNCTION: snpgdsSNPRateFreq
FUNCTION: snpgdsSampMissRate
FUNCTION: snpgdsSelectSNP
Excluding 365 SNPs on non-autosomes
Excluding 1,221 SNPs (monomorphic: TRUE, MAF: 0.05, missing rate: 0.95)
FUNCTION: snpgdsSlidingWindow
Sliding Window Analysis:
Excluding 8 SNPs (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 9,080 SNPs
    using 1 (CPU) core
    window size: 500000, shift: 100000 (basepair)
Chromosome Set: 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23
Wed Oct 16 07:18:13 2019, Chromosome 1 (716 SNPs), 2448 windows
Wed Oct 16 07:18:13 2019, Chromosome 2 (742 SNPs), 2416 windows
Wed Oct 16 07:18:13 2019, Chromosome 3 (609 SNPs), 1985 windows
Wed Oct 16 07:18:13 2019, Chromosome 4 (562 SNPs), 1894 windows
Wed Oct 16 07:18:13 2019, Chromosome 5 (566 SNPs), 1797 windows
Wed Oct 16 07:18:13 2019, Chromosome 6 (565 SNPs), 1694 windows
Wed Oct 16 07:18:13 2019, Chromosome 7 (472 SNPs), 1573 windows
Wed Oct 16 07:18:13 2019, Chromosome 8 (488 SNPs), 1445 windows
Wed Oct 16 07:18:13 2019, Chromosome 9 (416 SNPs), 1393 windows
Wed Oct 16 07:18:13 2019, Chromosome 10 (483 SNPs), 1343 windows
Wed Oct 16 07:18:13 2019, Chromosome 11 (447 SNPs), 1338 windows
Wed Oct 16 07:18:13 2019, Chromosome 12 (427 SNPs), 1316 windows
Wed Oct 16 07:18:13 2019, Chromosome 13 (344 SNPs), 948 windows
Wed Oct 16 07:18:13 2019, Chromosome 14 (281 SNPs), 847 windows
Wed Oct 16 07:18:13 2019, Chromosome 15 (262 SNPs), 774 windows
Wed Oct 16 07:18:13 2019, Chromosome 16 (278 SNPs), 873 windows
Wed Oct 16 07:18:13 2019, Chromosome 17 (207 SNPs), 773 windows
Wed Oct 16 07:18:13 2019, Chromosome 18 (266 SNPs), 753 windows
Wed Oct 16 07:18:13 2019, Chromosome 19 (120 SNPs), 627 windows
Wed Oct 16 07:18:13 2019, Chromosome 20 (229 SNPs), 602 windows
Wed Oct 16 07:18:13 2019, Chromosome 21 (126 SNPs), 311 windows
Wed Oct 16 07:18:13 2019, Chromosome 22 (116 SNPs), 312 windows
Wed Oct 16 07:18:13 2019, Chromosome 23 (358 SNPs), 1507 windows
Wed Oct 16 07:18:13 2019 	Done.
FUNCTION: snpgdsSummary
The file name: C:\Users\biocbuild\bbs-3.9-bioc\R\library\SNPRelate\extdata\hapmap_geno.gds 
The total number of samples: 279 
The total number of SNPs: 9088 
SNP genotypes are stored in SNP-major mode (Sample X SNP).
FUNCTION: snpgdsTranspose
The file name: C:\Users\biocbuild\bbs-3.9-bioc\meat\SNPRelate.Rcheck\tests_i386\test.gds 
The total number of samples: 279 
The total number of SNPs: 9088 
SNP genotypes are stored in SNP-major mode (Sample X SNP).
SNP genotypes: 279 samples, 9088 SNPs
Genotype matrix is being transposed ...
Clean up the fragments of GDS file:
    open the file 'test.gds' (1.3M)
    # of fragments: 28
    save to 'test.gds.tmp'
    rename 'test.gds.tmp' (709.6K, reduced: 619.1K)
    # of fragments: 26
The file name: C:\Users\biocbuild\bbs-3.9-bioc\meat\SNPRelate.Rcheck\tests_i386\test.gds 
The total number of samples: 279 
The total number of SNPs: 9088 
SNP genotypes are stored in individual-major mode (SNP X Sample).
FUNCTION: snpgdsVCF2GDS
##fileformat=VCFv4.1
##fileDate=20090805
##source=myImputationProgramV3.1
##reference=file:///seq/references/1000GenomesPilot-NCBI36.fasta
##contig=
##phasing=partial
##INFO=
##INFO=
##INFO=
##INFO=
##INFO=
##INFO=
##FILTER=
##FILTER=
##FORMAT=
##FORMAT=
##FORMAT=
##FORMAT=
#CHROM	POS	ID	REF	ALT	QUAL	FILTER	INFO	FORMAT	NA00001	NA00002	NA00003
20	14370	rs6054257	G	A	29	PASS	NS=3;DP=14;AF=0.5;DB;H2	GT:GQ:DP:HQ	0|0:48:1:51,51	1|0:48:8:51,51	1/1:43:5:.,.
20	17330	.	T	A	3	q10	NS=3;DP=11;AF=0.017	GT:GQ:DP:HQ	0|0:49:3:58,50	0|1:3:5:65,3	0/0:41:3
20	1110696	rs6040355	A	G,T	67	PASS	NS=2;DP=10;AF=0.333,0.667;AA=T;DB	GT:GQ:DP:HQ	1|2:21:6:23,27	2|1:2:0:18,2	2/2:35:4
20	1230237	.	T	.	47	PASS	NS=3;DP=13;AA=T	GT:GQ:DP:HQ	0|0:54:7:56,60	0|0:48:4:51,51	0/0:61:2
20	1234567	microsat1	GTC	G,GTCT	50	PASS	NS=3;DP=9;AA=G	GT:GQ:DP	0/1:35:4	0/2:17:2	1/1:40:3
Start file conversion from VCF to SNP GDS ...
Method: exacting biallelic SNPs
Number of samples: 3
Parsing "C:/Users/biocbuild/bbs-3.9-bioc/R/library/SNPRelate/extdata/sequence.vcf" ...
	import 2 variants.
+ genotype   { Bit2 3x2, 2B } *
Optimize the access efficiency ...
Clean up the fragments of GDS file:
    open the file 'test1.gds' (2.9K)
    # of fragments: 46
    save to 'test1.gds.tmp'
    rename 'test1.gds.tmp' (2.6K, reduced: 312B)
    # of fragments: 20
The file name: C:\Users\biocbuild\bbs-3.9-bioc\meat\SNPRelate.Rcheck\tests_i386\test1.gds 
The total number of samples: 3 
The total number of SNPs: 2 
SNP genotypes are stored in SNP-major mode (Sample X SNP).
Start file conversion from VCF to SNP GDS ...
Method: exacting biallelic SNPs
Number of samples: 3
Parsing "C:/Users/biocbuild/bbs-3.9-bioc/R/library/SNPRelate/extdata/sequence.vcf" ...
	import 2 variants.
+ genotype   { Bit2 3x2, 2B } *
SNP genotypes: 3 samples, 2 SNPs
Genotype matrix is being transposed ...
Optimize the access efficiency ...
Clean up the fragments of GDS file:
    open the file 'test2.gds' (3.0K)
    # of fragments: 48
    save to 'test2.gds.tmp'
    rename 'test2.gds.tmp' (2.6K, reduced: 417B)
    # of fragments: 20
The file name: C:\Users\biocbuild\bbs-3.9-bioc\meat\SNPRelate.Rcheck\tests_i386\test2.gds 
The total number of samples: 3 
The total number of SNPs: 2 
SNP genotypes are stored in individual-major mode (SNP X Sample).
Start file conversion from VCF to SNP GDS ...
Method: dosage (0,1,2) of reference allele for all variant sites
Number of samples: 3
Parsing "C:/Users/biocbuild/bbs-3.9-bioc/R/library/SNPRelate/extdata/sequence.vcf" ...
	import 5 variants.
+ genotype   { Bit2 3x5, 4B } *
SNP genotypes: 3 samples, 5 SNPs
Genotype matrix is being transposed ...
Optimize the access efficiency ...
Clean up the fragments of GDS file:
    open the file 'test3.gds' (3.1K)
    # of fragments: 48
    save to 'test3.gds.tmp'
    rename 'test3.gds.tmp' (2.7K, reduced: 419B)
    # of fragments: 20
Some of 'snp.allele' are not standard (e.g., A/G,T).
The file name: C:\Users\biocbuild\bbs-3.9-bioc\meat\SNPRelate.Rcheck\tests_i386\test3.gds 
The total number of samples: 3 
The total number of SNPs: 5 
SNP genotypes are stored in individual-major mode (SNP X Sample).
The number of valid samples: 3 
The number of biallelic unique SNPs: 2 
Start file conversion from VCF to SNP GDS ...
Method: dosage (0,1,2) of reference allele for all variant sites
Number of samples: 3
Parsing "C:/Users/biocbuild/bbs-3.9-bioc/R/library/SNPRelate/extdata/sequence.vcf" ...
	import 5 variants.
+ genotype   { Bit2 3x5, 4B } *
Optimize the access efficiency ...
Clean up the fragments of GDS file:
    open the file 'test4.gds' (3.0K)
    # of fragments: 46
    save to 'test4.gds.tmp'
    rename 'test4.gds.tmp' (2.7K, reduced: 312B)
    # of fragments: 20
Some of 'snp.allele' are not standard (e.g., A/G,T).
The file name: C:\Users\biocbuild\bbs-3.9-bioc\meat\SNPRelate.Rcheck\tests_i386\test4.gds 
The total number of samples: 3 
The total number of SNPs: 5 
SNP genotypes are stored in SNP-major mode (Sample X SNP).
The number of valid samples: 3 
The number of biallelic unique SNPs: 2 
Start file conversion from VCF to SNP GDS ...
Method: dosage (0,1,2) of reference allele for all variant sites
Number of samples: 3
Parsing "C:/Users/biocbuild/bbs-3.9-bioc/R/library/SNPRelate/extdata/sequence.vcf" ...
	import 5 variants.
+ genotype   { Bit2 3x5, 4B } *
Optimize the access efficiency ...
Clean up the fragments of GDS file:
    open the file 'test5.gds' (3.0K)
    # of fragments: 46
    save to 'test5.gds.tmp'
    rename 'test5.gds.tmp' (2.7K, reduced: 312B)
    # of fragments: 20
Some of 'snp.allele' are not standard (e.g., T/A,G).
The file name: C:\Users\biocbuild\bbs-3.9-bioc\meat\SNPRelate.Rcheck\tests_i386\test5.gds 
The total number of samples: 3 
The total number of SNPs: 5 
SNP genotypes are stored in SNP-major mode (Sample X SNP).
The number of valid samples: 3 
The number of biallelic unique SNPs: 2 
FUNCTION: snpgdsVCF2GDS_R
##fileformat=VCFv4.1
##fileDate=20090805
##source=myImputationProgramV3.1
##reference=file:///seq/references/1000GenomesPilot-NCBI36.fasta
##contig=
##phasing=partial
##INFO=
##INFO=
##INFO=
##INFO=
##INFO=
##INFO=
##FILTER=
##FILTER=
##FORMAT=
##FORMAT=
##FORMAT=
##FORMAT=
#CHROM	POS	ID	REF	ALT	QUAL	FILTER	INFO	FORMAT	NA00001	NA00002	NA00003
20	14370	rs6054257	G	A	29	PASS	NS=3;DP=14;AF=0.5;DB;H2	GT:GQ:DP:HQ	0|0:48:1:51,51	1|0:48:8:51,51	1/1:43:5:.,.
20	17330	.	T	A	3	q10	NS=3;DP=11;AF=0.017	GT:GQ:DP:HQ	0|0:49:3:58,50	0|1:3:5:65,3	0/0:41:3
20	1110696	rs6040355	A	G,T	67	PASS	NS=2;DP=10;AF=0.333,0.667;AA=T;DB	GT:GQ:DP:HQ	1|2:21:6:23,27	2|1:2:0:18,2	2/2:35:4
20	1230237	.	T	.	47	PASS	NS=3;DP=13;AA=T	GT:GQ:DP:HQ	0|0:54:7:56,60	0|0:48:4:51,51	0/0:61:2
20	1234567	microsat1	GTC	G,GTCT	50	PASS	NS=3;DP=9;AA=G	GT:GQ:DP	0/1:35:4	0/2:17:2	1/1:40:3
Start snpgdsVCF2GDS ...
	Extracting bi-allelic and polymorhpic SNPs.
	Scanning ...
	file: C:/Users/biocbuild/bbs-3.9-bioc/R/library/SNPRelate/extdata/sequence.vcf
	content: 5 rows x 12 columns
Wed Oct 16 07:18:14 2019 	store sample id, snp id, position, and chromosome.
	start writing: 3 samples, 2 SNPs ...
	file: C:/Users/biocbuild/bbs-3.9-bioc/R/library/SNPRelate/extdata/sequence.vcf
[1] 1
Wed Oct 16 07:18:14 2019 	Done.
The file name: C:\Users\biocbuild\bbs-3.9-bioc\meat\SNPRelate.Rcheck\tests_i386\test1.gds 
The total number of samples: 3 
The total number of SNPs: 2 
SNP genotypes are stored in SNP-major mode (Sample X SNP).
Start snpgdsVCF2GDS ...
	Extracting bi-allelic and polymorhpic SNPs.
	Scanning ...
	file: C:/Users/biocbuild/bbs-3.9-bioc/R/library/SNPRelate/extdata/sequence.vcf
	content: 5 rows x 12 columns
Wed Oct 16 07:18:14 2019 	store sample id, snp id, position, and chromosome.
	start writing: 3 samples, 2 SNPs ...
	file: C:/Users/biocbuild/bbs-3.9-bioc/R/library/SNPRelate/extdata/sequence.vcf
[1] 1
Wed Oct 16 07:18:14 2019 	Done.
The file name: C:\Users\biocbuild\bbs-3.9-bioc\meat\SNPRelate.Rcheck\tests_i386\test2.gds 
The total number of samples: 3 
The total number of SNPs: 2 
SNP genotypes are stored in SNP-major mode (Sample X SNP).
Start snpgdsVCF2GDS ...
	Storing dosage of the reference allele for all variant sites, including bi-allelic SNPs, multi-allelic SNPs, indels and structural variants.
	Scanning ...
	file: C:/Users/biocbuild/bbs-3.9-bioc/R/library/SNPRelate/extdata/sequence.vcf
	content: 5 rows x 12 columns
Wed Oct 16 07:18:14 2019 	store sample id, snp id, position, and chromosome.
	start writing: 3 samples, 5 SNPs ...
	file: C:/Users/biocbuild/bbs-3.9-bioc/R/library/SNPRelate/extdata/sequence.vcf
Wed Oct 16 07:18:14 2019 	Done.
Some of 'snp.allele' are not standard (e.g., A/G,T).
The file name: C:\Users\biocbuild\bbs-3.9-bioc\meat\SNPRelate.Rcheck\tests_i386\test3.gds 
The total number of samples: 3 
The total number of SNPs: 5 
SNP genotypes are stored in SNP-major mode (Sample X SNP).
The number of valid samples: 3 
The number of biallelic unique SNPs: 2 
Start snpgdsVCF2GDS ...
	Storing dosage of the reference allele for all variant sites, including bi-allelic SNPs, multi-allelic SNPs, indels and structural variants.
	Scanning ...
	file: C:/Users/biocbuild/bbs-3.9-bioc/R/library/SNPRelate/extdata/sequence.vcf
	content: 5 rows x 12 columns
Wed Oct 16 07:18:14 2019 	store sample id, snp id, position, and chromosome.
	start writing: 3 samples, 5 SNPs ...
	file: C:/Users/biocbuild/bbs-3.9-bioc/R/library/SNPRelate/extdata/sequence.vcf
Wed Oct 16 07:18:14 2019 	Done.
Some of 'snp.allele' are not standard (e.g., A/G,T).
The file name: C:\Users\biocbuild\bbs-3.9-bioc\meat\SNPRelate.Rcheck\tests_i386\test4.gds 
The total number of samples: 3 
The total number of SNPs: 5 
SNP genotypes are stored in SNP-major mode (Sample X SNP).
The number of valid samples: 3 
The number of biallelic unique SNPs: 2 
SNP Correlation:
Working space: 90 samples, 9088 SNPs
    using 1 (CPU) core
    using the top 2 eigenvectors
Correlation:    the sum of all selected genotypes (0,1,2) = 824424
Wed Oct 16 07:18:18 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:18 2019    Done.
SNP Correlation:
Working space: 90 samples, 9088 SNPs
    using 1 (CPU) core
    using the top 2 eigenvectors
Creating 'test.gds' ...
Correlation:    the sum of all selected genotypes (0,1,2) = 824424
Wed Oct 16 07:18:18 2019

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:18 2019    Done.
SNP loading:
Working space: 90 samples, 8695 SNPs
    using 1 (CPU) core
    using the top 8 eigenvectors
SNP Loading:    the sum of all selected genotypes (0,1,2) = 787449
Wed Oct 16 07:18:18 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:18 2019    Done.
Sample loading:
Working space: 100 samples, 8695 SNPs
    using 1 (CPU) core
    using the top 8 eigenvectors
Sample Loading:    the sum of all selected genotypes (0,1,2) = 875255
Wed Oct 16 07:18:18 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:18 2019    Done.
SNP Correlation:
Working space: 90 samples, 9088 SNPs
    using 2 (CPU) cores
    using the top 2 eigenvectors
Correlation:    the sum of all selected genotypes (0,1,2) = 824424
Wed Oct 16 07:18:18 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:18 2019    Done.
SNP Correlation:
Working space: 90 samples, 9088 SNPs
    using 2 (CPU) cores
    using the top 2 eigenvectors
Creating 'test.gds' ...
Correlation:    the sum of all selected genotypes (0,1,2) = 824424
Wed Oct 16 07:18:18 2019

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:18 2019    Done.
SNP loading:
Working space: 90 samples, 8695 SNPs
    using 1 (CPU) core
    using the top 8 eigenvectors
SNP Loading:    the sum of all selected genotypes (0,1,2) = 787449
Wed Oct 16 07:18:18 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:18 2019    Done.
Sample loading:
Working space: 100 samples, 8695 SNPs
    using 1 (CPU) core
    using the top 8 eigenvectors
Sample Loading:    the sum of all selected genotypes (0,1,2) = 875255
Wed Oct 16 07:18:18 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:18 2019    Done.


RUNIT TEST PROTOCOL -- Wed Oct 16 07:18:19 2019 
*********************************************** 
Number of test functions: 13 
Number of errors: 0 
Number of failures: 0 

 
1 Test Suite : 
SNPRelate RUnit Tests - 13 test functions, 0 errors, 0 failures
Number of test functions: 13 
Number of errors: 0 
Number of failures: 0 
> 
> proc.time()
   user  system elapsed 
  76.87    2.82   79.79 

SNPRelate.Rcheck/tests_x64/runTests.Rout


R version 3.6.1 (2019-07-05) -- "Action of the Toes"
Copyright (C) 2019 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (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.

> BiocGenerics:::testPackage("SNPRelate")
SNPRelate -- supported by Streaming SIMD Extensions 2 (SSE2)
Genetic Relationship Matrix (GRM, GCTA):
Excluding 8,088 SNPs (non-autosomes or non-selection)
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 1,000 SNPs
    using 1 (CPU) core
GRM Calculation:    the sum of all selected genotypes (0,1,2) = 282597
CPU capabilities: Double-Precision SSE2
Wed Oct 16 07:18:21 2019    (internal increment: 11612)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Saving to the GDS file:

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 1s
Wed Oct 16 07:18:22 2019    Done.
Genetic Relationship Matrix (GRM, GCTA):
Excluding 7,088 SNPs (non-autosomes or non-selection)
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 2,000 SNPs
    using 1 (CPU) core
GRM Calculation:    the sum of all selected genotypes (0,1,2) = 559412
CPU capabilities: Double-Precision SSE2
Wed Oct 16 07:18:22 2019    (internal increment: 11612)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Saving to the GDS file:

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:22 2019    Done.
Genetic Relationship Matrix (GRM, GCTA):
Excluding 5,288 SNPs (non-autosomes or non-selection)
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 3,800 SNPs
    using 1 (CPU) core
GRM Calculation:    the sum of all selected genotypes (0,1,2) = 1066957
CPU capabilities: Double-Precision SSE2
Wed Oct 16 07:18:22 2019    (internal increment: 11612)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 1s
Saving to the GDS file:

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:23 2019    Done.
GRM merging:
    open 'tmp1.gds' (1,000 variants)
    open 'tmp2.gds' (2,000 variants)
    open 'tmp3.gds' (3,800 variants)
Weight: 0.147059, 0.294118, 0.558824
Output: tmp.gds

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Genetic Relationship Matrix (GRM, GCTA):
Excluding 2,288 SNPs (non-autosomes or non-selection)
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 6,800 SNPs
    using 1 (CPU) core
GRM Calculation:    the sum of all selected genotypes (0,1,2) = 1908966
CPU capabilities: Double-Precision SSE2
Wed Oct 16 07:18:23 2019    (internal increment: 11612)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 1s
Wed Oct 16 07:18:24 2019    Done.
Genetic Relationship Matrix (GRM, IndivBeta):
Excluding 8,088 SNPs (non-autosomes or non-selection)
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 1,000 SNPs
    using 1 (CPU) core
GRM Calculation:    the sum of all selected genotypes (0,1,2) = 282597
CPU capabilities: Double-Precision SSE2
Wed Oct 16 07:18:24 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Saving to the GDS file:

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:24 2019    Done.
Genetic Relationship Matrix (GRM, IndivBeta):
Excluding 7,088 SNPs (non-autosomes or non-selection)
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 2,000 SNPs
    using 1 (CPU) core
GRM Calculation:    the sum of all selected genotypes (0,1,2) = 559412
CPU capabilities: Double-Precision SSE2
Wed Oct 16 07:18:24 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 1s
Saving to the GDS file:

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:25 2019    Done.
Genetic Relationship Matrix (GRM, IndivBeta):
Excluding 5,288 SNPs (non-autosomes or non-selection)
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 3,800 SNPs
    using 1 (CPU) core
GRM Calculation:    the sum of all selected genotypes (0,1,2) = 1066957
CPU capabilities: Double-Precision SSE2
Wed Oct 16 07:18:25 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 1s
Saving to the GDS file:

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:26 2019    Done.
GRM merging:
    open 'tmp1.gds' (1,000 variants)
    open 'tmp2.gds' (2,000 variants)
    open 'tmp3.gds' (3,800 variants)
Weight: 0.147059, 0.294118, 0.558824
Output: tmp.gds

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Writing ...

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Genetic Relationship Matrix (GRM, IndivBeta):
Excluding 2,288 SNPs (non-autosomes or non-selection)
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 6,800 SNPs
    using 1 (CPU) core
GRM Calculation:    the sum of all selected genotypes (0,1,2) = 1908966
CPU capabilities: Double-Precision SSE2
Wed Oct 16 07:18:26 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 1s
Wed Oct 16 07:18:27 2019    Done.
Linkage Disequilibrium (LD) estimation on genotypes:
Working space: 279 samples, 1000 SNPs
    using 1 (CPU) core.
    method: covariance
LD matrix:    the sum of all selected genotypes (0,1,2) = 283058
Linkage Disequilibrium (LD) estimation on genotypes:
Working space: 279 samples, 1000 SNPs
    using 1 (CPU) core.
    method: correlation
LD matrix:    the sum of all selected genotypes (0,1,2) = 283058
FUNCTION: SNPGDSFileClass
FUNCTION: SNPRelate-package
Start file conversion from PLINK BED to SNP GDS ...
    BED file: "C:/Users/biocbuild/bbs-3.9-bioc/R/library/SNPRelate/extdata/plinkhapmap.bed.gz"
        SNP-major mode (Sample X SNP), 45.7K
    FAM file: "C:/Users/biocbuild/bbs-3.9-bioc/R/library/SNPRelate/extdata/plinkhapmap.fam.gz"
    BIM file: "C:/Users/biocbuild/bbs-3.9-bioc/R/library/SNPRelate/extdata/plinkhapmap.bim.gz"
Wed Oct 16 07:18:31 2019     (store sample id, snp id, position, and chromosome)
    start writing: 60 samples, 5000 SNPs ...

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:31 2019 	Done.
Optimize the access efficiency ...
Clean up the fragments of GDS file:
    open the file 'HapMap.gds' (98.1K)
    # of fragments: 38
    save to 'HapMap.gds.tmp'
    rename 'HapMap.gds.tmp' (97.8K, reduced: 240B)
    # of fragments: 18
Principal Component Analysis (PCA) on genotypes:
Excluding 203 SNPs on non-autosomes
Excluding 28 SNPs (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 60 samples, 4,769 SNPs
    using 1 (CPU) core
PCA:    the sum of all selected genotypes (0,1,2) = 124273
CPU capabilities: Double-Precision SSE2
Wed Oct 16 07:18:31 2019    (internal increment: 53996)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:31 2019    Begin (eigenvalues and eigenvectors)
Wed Oct 16 07:18:31 2019    Done.
IBD analysis (PLINK method of moment) on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core
PLINK IBD:    the sum of all selected genotypes (0,1,2) = 2446510
Wed Oct 16 07:18:31 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:31 2019    Done.
Identity-By-State (IBS) analysis on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core
IBS:    the sum of all selected genotypes (0,1,2) = 2446510
Wed Oct 16 07:18:32 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:32 2019    Done.
Linkage Disequilibrium (LD) estimation on genotypes:
Working space: 279 samples, 200 SNPs
    using 1 (CPU) core.
    method: composite
LD matrix:    the sum of all selected genotypes (0,1,2) = 55417
FUNCTION: hapmap_geno
FUNCTION: snpgdsAdmixPlot
Eigen-analysis on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core
Eigen-analysis:    the sum of all selected genotypes (0,1,2) = 2446510
CPU capabilities: Double-Precision SSE2
Wed Oct 16 07:18:32 2019    (internal increment: 11612)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 1s
Wed Oct 16 07:18:33 2019    Begin (eigenvalues and eigenvectors)
Wed Oct 16 07:18:33 2019    Done.
FUNCTION: snpgdsAdmixProp
Eigen-analysis on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core
Eigen-analysis:    the sum of all selected genotypes (0,1,2) = 2446510
CPU capabilities: Double-Precision SSE2
Wed Oct 16 07:18:33 2019    (internal increment: 11612)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:33 2019    Begin (eigenvalues and eigenvectors)
Wed Oct 16 07:18:33 2019    Done.
FUNCTION: snpgdsAlleleSwitch
Strand-switching at 50 SNP locus/loci.
Unable to determine switching at 10 SNP locus/loci.
FUNCTION: snpgdsApartSelection
Wed Oct 16 07:18:33 2019	Chromosome 1, # of SNPs: 367
Wed Oct 16 07:18:33 2019	Chromosome 2, # of SNPs: 367
Wed Oct 16 07:18:33 2019	Chromosome 3, # of SNPs: 317
Wed Oct 16 07:18:33 2019	Chromosome 4, # of SNPs: 295
Wed Oct 16 07:18:33 2019	Chromosome 5, # of SNPs: 295
Wed Oct 16 07:18:33 2019	Chromosome 6, # of SNPs: 283
Wed Oct 16 07:18:34 2019	Chromosome 7, # of SNPs: 245
Wed Oct 16 07:18:34 2019	Chromosome 8, # of SNPs: 234
Wed Oct 16 07:18:34 2019	Chromosome 9, # of SNPs: 202
Wed Oct 16 07:18:34 2019	Chromosome 10, # of SNPs: 224
Wed Oct 16 07:18:34 2019	Chromosome 11, # of SNPs: 223
Wed Oct 16 07:18:34 2019	Chromosome 12, # of SNPs: 208
Wed Oct 16 07:18:34 2019	Chromosome 13, # of SNPs: 172
Wed Oct 16 07:18:34 2019	Chromosome 14, # of SNPs: 147
Wed Oct 16 07:18:34 2019	Chromosome 15, # of SNPs: 121
Wed Oct 16 07:18:34 2019	Chromosome 16, # of SNPs: 129
Wed Oct 16 07:18:34 2019	Chromosome 17, # of SNPs: 116
Wed Oct 16 07:18:34 2019	Chromosome 18, # of SNPs: 129
Wed Oct 16 07:18:34 2019	Chromosome 19, # of SNPs: 73
Wed Oct 16 07:18:34 2019	Chromosome 20, # of SNPs: 106
Wed Oct 16 07:18:34 2019	Chromosome 21, # of SNPs: 62
Wed Oct 16 07:18:34 2019	Chromosome 22, # of SNPs: 51
Wed Oct 16 07:18:34 2019	Chromosome 23, # of SNPs: 204
Total # of SNPs selected:4570
FUNCTION: snpgdsBED2GDS
Start file conversion from PLINK BED to SNP GDS ...
    BED file: "C:/Users/biocbuild/bbs-3.9-bioc/R/library/SNPRelate/extdata/plinkhapmap.bed.gz"
        SNP-major mode (Sample X SNP), 45.7K
    FAM file: "C:/Users/biocbuild/bbs-3.9-bioc/R/library/SNPRelate/extdata/plinkhapmap.fam.gz"
    BIM file: "C:/Users/biocbuild/bbs-3.9-bioc/R/library/SNPRelate/extdata/plinkhapmap.bim.gz"
Wed Oct 16 07:18:34 2019     (store sample id, snp id, position, and chromosome)
    start writing: 60 samples, 5000 SNPs ...

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:34 2019 	Done.
Optimize the access efficiency ...
Clean up the fragments of GDS file:
    open the file 'HapMap.gds' (98.1K)
    # of fragments: 38
    save to 'HapMap.gds.tmp'
    rename 'HapMap.gds.tmp' (97.8K, reduced: 240B)
    # of fragments: 18
FUNCTION: snpgdsClose
FUNCTION: snpgdsCombineGeno
Create a GDS genotype file:
The new dataset consists of 10 samples and 3000 SNPs
    write sample.id
    write snp.id
    write snp.rs.id
    write snp.position
    write snp.chromosome
    write snp.allele
SNP genotypes are stored in SNP-major mode (Sample X SNP).
Create a GDS genotype file:
The new dataset consists of 20 samples and 3000 SNPs
    write sample.id
    write snp.id
    write snp.rs.id
    write snp.position
    write snp.chromosome
    write snp.allele
SNP genotypes are stored in SNP-major mode (Sample X SNP).
Merge SNP GDS files:
    open 't1.gds' ...
        10 samples, 3000 SNPs
    open 't2.gds' ...
        20 samples, 3000 SNPs
Concatenating samples (mapping to the first GDS file) ...
    reference: 3000 SNPs (100.0%)
    file 2: 0 allele flips, 0 ambiguous locus/loci
        [no flip]: 3000
    create 'test.gds': 30 samples, 3000 SNPs
    FileFormat = SNP_ARRAY
    writing genotypes ...
Clean up the fragments of GDS file:
    open the file 'test.gds' (46.2K)
    # of fragments: 32
    save to 'test.gds.tmp'
    rename 'test.gds.tmp' (46.0K, reduced: 204B)
    # of fragments: 15
Done.
Create a GDS genotype file:
The new dataset consists of 279 samples and 100 SNPs
    write sample.id
    write snp.id
    write snp.rs.id
    write snp.position
    write snp.chromosome
    write snp.allele
SNP genotypes are stored in SNP-major mode (Sample X SNP).
Create a GDS genotype file:
The new dataset consists of 279 samples and 200 SNPs
    write sample.id
    write snp.id
    write snp.rs.id
    write snp.position
    write snp.chromosome
    write snp.allele
SNP genotypes are stored in SNP-major mode (Sample X SNP).
Merge SNP GDS files:
    open 't1.gds' ...
        279 samples, 100 SNPs
    open 't2.gds' ...
        279 samples, 200 SNPs
Concatenating SNPs ...
    create 'test.gds': 279 samples, 300 SNPs
    FileFormat = SNP_ARRAY
    writing genotypes ...
Clean up the fragments of GDS file:
    open the file 'test.gds' (19.1K)
    # of fragments: 32
    save to 'test.gds.tmp'
    rename 'test.gds.tmp' (18.9K, reduced: 204B)
    # of fragments: 15
Done.
FUNCTION: snpgdsCreateGeno
Principal Component Analysis (PCA) on genotypes:
Excluding 42 SNPs on non-autosomes
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 958 SNPs
    using 1 (CPU) core
PCA:    the sum of all selected genotypes (0,1,2) = 264760
CPU capabilities: Double-Precision SSE2
Wed Oct 16 07:18:34 2019    (internal increment: 11612)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 1s
Wed Oct 16 07:18:35 2019    Begin (eigenvalues and eigenvectors)
Wed Oct 16 07:18:35 2019    Done.
FUNCTION: snpgdsCreateGenoSet
SNP pruning based on LD:
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core
    sliding window: 500,000 basepairs, Inf SNPs
    |LD| threshold: 0.2
    method: composite
Chromosome 1: 76.12%, 545/716
Chromosome 2: 72.78%, 540/742
Chromosome 3: 74.71%, 455/609
Chromosome 4: 73.49%, 413/562
Chromosome 5: 76.86%, 435/566
Chromosome 6: 75.75%, 428/565
Chromosome 7: 75.42%, 356/472
Chromosome 8: 71.11%, 347/488
Chromosome 9: 77.88%, 324/416
Chromosome 10: 74.12%, 358/483
Chromosome 11: 77.85%, 348/447
Chromosome 12: 76.81%, 328/427
Chromosome 13: 76.16%, 262/344
Chromosome 14: 76.60%, 216/282
Chromosome 15: 76.34%, 200/262
Chromosome 16: 72.66%, 202/278
Chromosome 17: 73.91%, 153/207
Chromosome 18: 73.68%, 196/266
Chromosome 19: 85.00%, 102/120
Chromosome 20: 71.62%, 164/229
Chromosome 21: 76.98%, 97/126
Chromosome 22: 75.86%, 88/116
6,557 markers are selected in total.
Create a GDS genotype file:
The new dataset consists of 279 samples and 6557 SNPs
    write sample.id
    write snp.id
    write snp.rs.id
    write snp.position
    write snp.chromosome
    write snp.allele
SNP genotypes are stored in SNP-major mode (Sample X SNP).
FUNCTION: snpgdsCutTree
Individual dissimilarity analysis on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core
Dissimilarity:    the sum of all selected genotypes (0,1,2) = 2446510
Dissimilarity:	Wed Oct 16 07:18:35 2019	0%
Dissimilarity:	Wed Oct 16 07:18:36 2019	100%
Determine groups by permutation (Z threshold: 15, outlier threshold: 5):
Create 3 groups.
Create 4 groups.
FUNCTION: snpgdsDiss
Individual dissimilarity analysis on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core
Dissimilarity:    the sum of all selected genotypes (0,1,2) = 2446510
Dissimilarity:	Wed Oct 16 07:18:37 2019	0%
Dissimilarity:	Wed Oct 16 07:18:38 2019	100%
Determine groups by permutation (Z threshold: 15, outlier threshold: 5):
Create 3 groups.
FUNCTION: snpgdsDrawTree
Individual dissimilarity analysis on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core
Dissimilarity:    the sum of all selected genotypes (0,1,2) = 2446510
Dissimilarity:	Wed Oct 16 07:18:39 2019	0%
Dissimilarity:	Wed Oct 16 07:18:40 2019	100%
Determine groups by permutation (Z threshold: 15, outlier threshold: 5):
Create 3 groups.
FUNCTION: snpgdsEIGMIX
Eigen-analysis on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core
Eigen-analysis:    the sum of all selected genotypes (0,1,2) = 2446510
CPU capabilities: Double-Precision SSE2
Wed Oct 16 07:18:40 2019    (internal increment: 11612)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 1s
Wed Oct 16 07:18:41 2019    Begin (eigenvalues and eigenvectors)
Wed Oct 16 07:18:41 2019    Done.
FUNCTION: snpgdsErrMsg
FUNCTION: snpgdsExampleFileName
FUNCTION: snpgdsFst
Fst estimation on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
Method: Weir & Cockerham, 1984
# of Populations: 4
    CEU (92), HCB (47), JPT (47), YRI (93)
Fst estimation on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
Method: Weir & Hill, 2002
# of Populations: 4
    CEU (92), HCB (47), JPT (47), YRI (93)
FUNCTION: snpgdsGDS2BED
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: 0.95)
Converting from GDS to PLINK binary PED:
Working space: 279 samples, 8722 SNPs
Output a BIM file.
Output a BED file ...
		Wed Oct 16 07:18:41 2019	0%
		Wed Oct 16 07:18:41 2019	100%
Done.
FUNCTION: snpgdsGDS2Eigen
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: 0.95)
Converting from GDS to EIGENSOFT:
	save to *.snp: 8722 snps
	save to *.ind: 279 samples
	Output: 	Wed Oct 16 07:18:41 2019	0%
	Output: 	Wed Oct 16 07:18:41 2019	100%
Done.
FUNCTION: snpgdsGDS2PED
Converting from GDS to PLINK PED:
	Output a MAP file DONE.
	Output a PED file ...
		Output: 	Wed Oct 16 07:18:41 2019	0%
		Output: 	Wed Oct 16 07:18:41 2019	100%
FUNCTION: snpgdsGEN2GDS
running snpgdsGEN2GDS ...
FUNCTION: snpgdsGRM
Genetic Relationship Matrix (GRM, GCTA):
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core
GRM Calculation:    the sum of all selected genotypes (0,1,2) = 2446510
CPU capabilities: Double-Precision SSE2
Wed Oct 16 07:18:42 2019    (internal increment: 11612)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:42 2019    Done.
Genetic Relationship Matrix (GRM, GCTA):
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core
GRM Calculation:    the sum of all selected genotypes (0,1,2) = 2446510
CPU capabilities: Double-Precision SSE2
Wed Oct 16 07:18:42 2019    (internal increment: 11612)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Saving to the GDS file:

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:42 2019    Done.
FUNCTION: snpgdsGetGeno
Genotype matrix: 1000 SNPs X 279 samples
Genotype matrix: 279 samples X 1000 SNPs
FUNCTION: snpgdsHCluster
Individual dissimilarity analysis on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core
Dissimilarity:    the sum of all selected genotypes (0,1,2) = 2446510
Dissimilarity:	Wed Oct 16 07:18:43 2019	0%
Dissimilarity:	Wed Oct 16 07:18:44 2019	100%
Determine groups by permutation (Z threshold: 15, outlier threshold: 5):
Create 3 groups.
FUNCTION: snpgdsHWE
Keeping 716 SNPs according to chromosome 1
Excluding 160 SNPs (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
FUNCTION: snpgdsIBDKING
IBD analysis (KING method of moment) on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1,217 SNPs (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 92 samples, 7,506 SNPs
    using 1 (CPU) core
No family is specified, and all individuals are treated as singletons.
Relationship inference in the presence of population stratification.
KING IBD:    the sum of all selected genotypes (0,1,2) = 702139
CPU capabilities: Double-Precision SSE2
Wed Oct 16 07:18:45 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:45 2019    Done.
IBD analysis (KING method of moment) on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1,217 SNPs (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 92 samples, 7,506 SNPs
    using 1 (CPU) core
No family is specified, and all individuals are treated as singletons.
Relationship inference in the presence of population stratification.
KING IBD:    the sum of all selected genotypes (0,1,2) = 702139
CPU capabilities: Double-Precision SSE2
Wed Oct 16 07:18:45 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:45 2019    Done.
IBD analysis (KING method of moment) on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1,217 SNPs (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 92 samples, 7,506 SNPs
    using 1 (CPU) core
# of families: 20, and within- and between-family relationship are estimated differently.
Relationship inference in the presence of population stratification.
KING IBD:    the sum of all selected genotypes (0,1,2) = 702139
CPU capabilities: Double-Precision SSE2
Wed Oct 16 07:18:46 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:46 2019    Done.
IBD analysis (KING method of moment) on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1,217 SNPs (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 92 samples, 7,506 SNPs
    using 1 (CPU) core
Relationship inference in a homogeneous population.
KING IBD:    the sum of all selected genotypes (0,1,2) = 702139
Wed Oct 16 07:18:46 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:46 2019    Done.
IBD analysis (KING method of moment) on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1,217 SNPs (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 92 samples, 7,506 SNPs
    using 1 (CPU) core
Relationship inference in a homogeneous population.
KING IBD:    the sum of all selected genotypes (0,1,2) = 702139
Wed Oct 16 07:18:46 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:46 2019    Done.
FUNCTION: snpgdsIBDMLE
SNP pruning based on LD:
Excluding 365 SNPs on non-autosomes
Excluding 1,581 SNPs (monomorphic: TRUE, MAF: 0.05, missing rate: 0.05)
Working space: 30 samples, 7,142 SNPs
    using 1 (CPU) core
    sliding window: 500,000 basepairs, Inf SNPs
    |LD| threshold: 0.2
    method: composite
Chromosome 1: 54.75%, 392/716
Chromosome 2: 54.31%, 403/742
Chromosome 3: 55.99%, 341/609
Chromosome 4: 56.58%, 318/562
Chromosome 5: 56.36%, 319/566
Chromosome 6: 52.74%, 298/565
Chromosome 7: 56.14%, 265/472
Chromosome 8: 51.84%, 253/488
Chromosome 9: 54.81%, 228/416
Chromosome 10: 49.90%, 241/483
Chromosome 11: 54.81%, 245/447
Chromosome 12: 54.57%, 233/427
Chromosome 13: 53.49%, 184/344
Chromosome 14: 56.03%, 158/282
Chromosome 15: 54.58%, 143/262
Chromosome 16: 54.68%, 152/278
Chromosome 17: 55.56%, 115/207
Chromosome 18: 55.64%, 148/266
Chromosome 19: 66.67%, 80/120
Chromosome 20: 53.28%, 122/229
Chromosome 21: 50.79%, 64/126
Chromosome 22: 51.72%, 60/116
4,762 markers are selected in total.
Identity-By-Descent analysis (MLE) on genotypes:
Excluding 8,838 SNPs (non-autosomes or non-selection)
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 30 samples, 250 SNPs
    using 1 (CPU) core
MLE IBD:    the sum of all selected genotypes (0,1,2) = 7859
MLE IBD:	Wed Oct 16 07:18:46 2019	0%
MLE IBD:	Wed Oct 16 07:18:47 2019	100%
Identity-By-Descent analysis (MLE) on genotypes:
Excluding 8,838 SNPs (non-autosomes or non-selection)
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 25 samples, 250 SNPs
    using 1 (CPU) core
Specifying allele frequencies, mean: 0.525, sd: 0.288
MLE IBD:    the sum of all selected genotypes (0,1,2) = 6545
MLE IBD:	Wed Oct 16 07:18:47 2019	0%
MLE IBD:	Wed Oct 16 07:18:48 2019	100%
FUNCTION: snpgdsIBDMLELogLik
SNP pruning based on LD:
Excluding 365 SNPs on non-autosomes
Excluding 1,581 SNPs (monomorphic: TRUE, MAF: 0.05, missing rate: 0.05)
Working space: 30 samples, 7,142 SNPs
    using 1 (CPU) core
    sliding window: 500,000 basepairs, Inf SNPs
    |LD| threshold: 0.2
    method: composite
Chromosome 1: 54.75%, 392/716
Chromosome 2: 54.31%, 403/742
Chromosome 3: 55.99%, 341/609
Chromosome 4: 56.58%, 318/562
Chromosome 5: 56.36%, 319/566
Chromosome 6: 52.74%, 298/565
Chromosome 7: 56.14%, 265/472
Chromosome 8: 51.84%, 253/488
Chromosome 9: 54.81%, 228/416
Chromosome 10: 49.90%, 241/483
Chromosome 11: 54.81%, 245/447
Chromosome 12: 54.57%, 233/427
Chromosome 13: 53.49%, 184/344
Chromosome 14: 56.03%, 158/282
Chromosome 15: 54.58%, 143/262
Chromosome 16: 54.68%, 152/278
Chromosome 17: 55.56%, 115/207
Chromosome 18: 55.64%, 148/266
Chromosome 19: 66.67%, 80/120
Chromosome 20: 53.28%, 122/229
Chromosome 21: 50.79%, 64/126
Chromosome 22: 51.72%, 60/116
4,762 markers are selected in total.
Identity-By-Descent analysis (MLE) on genotypes:
Excluding 8,838 SNPs (non-autosomes or non-selection)
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 30 samples, 250 SNPs
    using 1 (CPU) core
MLE IBD:    the sum of all selected genotypes (0,1,2) = 7859
MLE IBD:	Wed Oct 16 07:18:48 2019	0%
MLE IBD:	Wed Oct 16 07:18:49 2019	100%
Identity-By-Descent analysis (MLE) on genotypes:
Excluding 8,838 SNPs (non-autosomes or non-selection)
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 25 samples, 250 SNPs
    using 1 (CPU) core
Specifying allele frequencies, mean: 0.525, sd: 0.288
MLE IBD:    the sum of all selected genotypes (0,1,2) = 6545
MLE IBD:	Wed Oct 16 07:18:49 2019	0%
MLE IBD:	Wed Oct 16 07:18:49 2019	100%
FUNCTION: snpgdsIBDMoM
IBD analysis (PLINK method of moment) on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1,217 SNPs (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 92 samples, 7,506 SNPs
    using 1 (CPU) core
PLINK IBD:    the sum of all selected genotypes (0,1,2) = 702139
Wed Oct 16 07:18:49 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:49 2019    Done.
IBD analysis (PLINK method of moment) on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 563 SNPs (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 93 samples, 8,160 SNPs
    using 1 (CPU) core
PLINK IBD:    the sum of all selected genotypes (0,1,2) = 755648
Wed Oct 16 07:18:49 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:49 2019    Done.
IBD analysis (PLINK method of moment) on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 563 SNPs (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 93 samples, 8,160 SNPs
    using 1 (CPU) core
Specifying allele frequencies, mean: 0.500, sd: 0.315
*** A correction factor based on allele count is not used, since the allele frequencies are specified.
PLINK IBD:    the sum of all selected genotypes (0,1,2) = 755648
Wed Oct 16 07:18:49 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:49 2019    Done.
IBD analysis (PLINK method of moment) on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 563 SNPs (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 25 samples, 8,160 SNPs
    using 1 (CPU) core
Specifying allele frequencies, mean: 0.500, sd: 0.315
*** A correction factor based on allele count is not used, since the allele frequencies are specified.
PLINK IBD:    the sum of all selected genotypes (0,1,2) = 203285
Wed Oct 16 07:18:49 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:49 2019    Done.
FUNCTION: snpgdsIBDSelection
IBD analysis (PLINK method of moment) on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 563 SNPs (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 93 samples, 8,160 SNPs
    using 1 (CPU) core
PLINK IBD:    the sum of all selected genotypes (0,1,2) = 755648
Wed Oct 16 07:18:49 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:49 2019    Done.
FUNCTION: snpgdsIBS
Identity-By-State (IBS) analysis on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core
IBS:    the sum of all selected genotypes (0,1,2) = 2446510
Wed Oct 16 07:18:49 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 1s
Wed Oct 16 07:18:50 2019    Done.
FUNCTION: snpgdsIBSNum
Identity-By-State (IBS) analysis on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core
IBS:    the sum of all selected genotypes (0,1,2) = 2446510
Wed Oct 16 07:18:50 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:50 2019    Done.
FUNCTION: snpgdsIndInb
Estimating individual inbreeding coefficients:
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
FUNCTION: snpgdsIndInbCoef
FUNCTION: snpgdsIndivBeta
Individual Inbreeding and Relatedness (beta estimator):
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core
Individual Beta:    the sum of all selected genotypes (0,1,2) = 2446510
CPU capabilities: Double-Precision SSE2
Wed Oct 16 07:18:50 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:50 2019    Done.
FUNCTION: snpgdsLDMat
Linkage Disequilibrium (LD) estimation on genotypes:
Working space: 279 samples, 203 SNPs
    using 1 (CPU) core.
    method: composite
LD matrix:    the sum of all selected genotypes (0,1,2) = 56582
Linkage Disequilibrium (LD) estimation on genotypes:
Working space: 279 samples, 203 SNPs
    using 1 (CPU) core.
    sliding window size: 203 
    method: composite
LD matrix:    the sum of all selected genotypes (0,1,2) = 56582
FUNCTION: snpgdsLDpair
FUNCTION: snpgdsLDpruning
SNP pruning based on LD:
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core
    sliding window: 500,000 basepairs, Inf SNPs
    |LD| threshold: 0.2
    method: composite
Chromosome 1: 76.12%, 545/716
Chromosome 2: 72.78%, 540/742
Chromosome 3: 74.71%, 455/609
Chromosome 4: 73.49%, 413/562
Chromosome 5: 76.86%, 435/566
Chromosome 6: 75.75%, 428/565
Chromosome 7: 75.42%, 356/472
Chromosome 8: 71.11%, 347/488
Chromosome 9: 77.88%, 324/416
Chromosome 10: 74.12%, 358/483
Chromosome 11: 77.85%, 348/447
Chromosome 12: 76.81%, 328/427
Chromosome 13: 76.16%, 262/344
Chromosome 14: 76.60%, 216/282
Chromosome 15: 76.34%, 200/262
Chromosome 16: 72.66%, 202/278
Chromosome 17: 73.91%, 153/207
Chromosome 18: 73.68%, 196/266
Chromosome 19: 85.00%, 102/120
Chromosome 20: 71.62%, 164/229
Chromosome 21: 76.98%, 97/126
Chromosome 22: 75.86%, 88/116
6,557 markers are selected in total.
FUNCTION: snpgdsMergeGRM
Genetic Relationship Matrix (GRM, GCTA):
Excluding 2,288 SNPs (non-autosomes or non-selection)
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 6,800 SNPs
    using 1 (CPU) core
GRM Calculation:    the sum of all selected genotypes (0,1,2) = 1908966
CPU capabilities: Double-Precision SSE2
Wed Oct 16 07:18:51 2019    (internal increment: 11612)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:51 2019    Done.
Genetic Relationship Matrix (GRM, GCTA):
Excluding 5,688 SNPs (non-autosomes or non-selection)
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 3,400 SNPs
    using 1 (CPU) core
GRM Calculation:    the sum of all selected genotypes (0,1,2) = 951558
CPU capabilities: Double-Precision SSE2
Wed Oct 16 07:18:51 2019    (internal increment: 11612)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 1s
Saving to the GDS file:

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:52 2019    Done.
Genetic Relationship Matrix (GRM, GCTA):
Excluding 5,688 SNPs (non-autosomes or non-selection)
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 3,400 SNPs
    using 1 (CPU) core
GRM Calculation:    the sum of all selected genotypes (0,1,2) = 957408
CPU capabilities: Double-Precision SSE2
Wed Oct 16 07:18:52 2019    (internal increment: 11612)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Saving to the GDS file:

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:52 2019    Done.
GRM merging:
    open 'tmp1.gds' (3,400 variants)
    open 'tmp2.gds' (3,400 variants)
Weight: 0.5, 0.5
Output: tmp.gds

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 1s
GRM merging:
    open 'tmp1.gds' (3,400 variants)
    open 'tmp2.gds' (3,400 variants)
Weight: 0.5, 0.5

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
FUNCTION: snpgdsOpen
FUNCTION: snpgdsOption
FUNCTION: snpgdsPCA
Principal Component Analysis (PCA) on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core
PCA:    the sum of all selected genotypes (0,1,2) = 2446510
CPU capabilities: Double-Precision SSE2
Wed Oct 16 07:18:53 2019    (internal increment: 11612)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:53 2019    Begin (eigenvalues and eigenvectors)
Wed Oct 16 07:18:53 2019    Done.
FUNCTION: snpgdsPCACorr
Principal Component Analysis (PCA) on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core
PCA:    the sum of all selected genotypes (0,1,2) = 2446510
CPU capabilities: Double-Precision SSE2
Wed Oct 16 07:18:53 2019    (internal increment: 11612)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 1s
Wed Oct 16 07:18:54 2019    Begin (eigenvalues and eigenvectors)
Wed Oct 16 07:18:54 2019    Done.
SNP Correlation:
Working space: 279 samples, 9088 SNPs
    using 1 (CPU) core
    using the top 4 eigenvectors
Correlation:    the sum of all selected genotypes (0,1,2) = 2553065
Wed Oct 16 07:18:54 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:54 2019    Done.
SNP Correlation:
Working space: 279 samples, 9088 SNPs
    using 1 (CPU) core
    using the top 4 eigenvectors
Creating 'test.gds' ...
Correlation:    the sum of all selected genotypes (0,1,2) = 2553065
Wed Oct 16 07:18:54 2019

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:54 2019    Done.
FUNCTION: snpgdsPCASNPLoading
Principal Component Analysis (PCA) on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core
PCA:    the sum of all selected genotypes (0,1,2) = 2446510
CPU capabilities: Double-Precision SSE2
Wed Oct 16 07:18:54 2019    (internal increment: 11612)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:54 2019    Begin (eigenvalues and eigenvectors)
Wed Oct 16 07:18:54 2019    Done.
SNP loading:
Working space: 279 samples, 8722 SNPs
    using 1 (CPU) core
    using the top 8 eigenvectors
SNP Loading:    the sum of all selected genotypes (0,1,2) = 2446510
Wed Oct 16 07:18:54 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:54 2019    Done.
FUNCTION: snpgdsPCASampLoading
Principal Component Analysis (PCA) on genotypes:
Excluding 365 SNPs on non-autosomes
Excluding 1 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 8,722 SNPs
    using 1 (CPU) core
PCA:    the sum of all selected genotypes (0,1,2) = 2446510
CPU capabilities: Double-Precision SSE2
Wed Oct 16 07:18:54 2019    (internal increment: 11612)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:54 2019    Begin (eigenvalues and eigenvectors)
Wed Oct 16 07:18:54 2019    Done.
SNP loading:
Working space: 279 samples, 8722 SNPs
    using 1 (CPU) core
    using the top 8 eigenvectors
SNP Loading:    the sum of all selected genotypes (0,1,2) = 2446510
Wed Oct 16 07:18:54 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:54 2019    Done.
Sample loading:
Working space: 100 samples, 8722 SNPs
    using 1 (CPU) core
    using the top 8 eigenvectors
Sample Loading:    the sum of all selected genotypes (0,1,2) = 878146
Wed Oct 16 07:18:54 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:54 2019    Done.
FUNCTION: snpgdsPED2GDS
Converting from GDS to PLINK PED:
	Output a MAP file DONE.
	Output a PED file ...
		Output: 	Wed Oct 16 07:18:55 2019	0%
		Output: 	Wed Oct 16 07:18:55 2019	100%
PLINK PED/MAP to GDS Format:
Import 9088 variants from 'tmp.map'
Chromosome:
  1  10  11  12  13  14  15  16  17  18  19   2  20  21  22   3   4   5   6   7 
716 483 447 427 344 282 262 278 207 266 120 742 229 126 116 609 562 566 565 472 
  8   9   X 
488 416 365 
Reading 'tmp.ped'
Output: 'test.gds'
Import 279 samples
Transpose the genotypic matrix ...
Done.
Optimize the access efficiency ...
Clean up the fragments of GDS file:
    open the file 'test.gds' (1.3M)
    # of fragments: 50
    save to 'test.gds.tmp'
    rename 'test.gds.tmp' (711.4K, reduced: 618.7K)
    # of fragments: 26
FUNCTION: snpgdsPairIBD
SNP pruning based on LD:
Excluding 365 SNPs on non-autosomes
Excluding 1,646 SNPs (monomorphic: TRUE, MAF: 0.05, missing rate: 0.05)
Working space: 93 samples, 7,077 SNPs
    using 1 (CPU) core
    sliding window: 500,000 basepairs, Inf SNPs
    |LD| threshold: 0.2
    method: composite
Chromosome 1: 62.29%, 446/716
Chromosome 2: 62.67%, 465/742
Chromosome 3: 59.93%, 365/609
Chromosome 4: 64.23%, 361/562
Chromosome 5: 62.37%, 353/566
Chromosome 6: 59.82%, 338/565
Chromosome 7: 63.14%, 298/472
Chromosome 8: 57.58%, 281/488
Chromosome 9: 62.98%, 262/416
Chromosome 10: 60.46%, 292/483
Chromosome 11: 63.09%, 282/447
Chromosome 12: 62.76%, 268/427
Chromosome 13: 63.08%, 217/344
Chromosome 14: 63.83%, 180/282
Chromosome 15: 63.74%, 167/262
Chromosome 16: 62.23%, 173/278
Chromosome 17: 65.70%, 136/207
Chromosome 18: 59.40%, 158/266
Chromosome 19: 68.33%, 82/120
Chromosome 20: 66.38%, 152/229
Chromosome 21: 61.11%, 77/126
Chromosome 22: 57.76%, 67/116
5,420 markers are selected in total.
Identity-By-Descent analysis (MLE) on genotypes:
Excluding 8,838 SNPs (non-autosomes or non-selection)
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 25 samples, 250 SNPs
    using 1 (CPU) core
Specifying allele frequencies, mean: 0.486, sd: 0.284
MLE IBD:    the sum of all selected genotypes (0,1,2) = 6112
MLE IBD:	Wed Oct 16 07:18:56 2019	0%
MLE IBD:	Wed Oct 16 07:18:57 2019	100%
IBD analysis (PLINK method of moment) on genotypes:
Excluding 8,838 SNPs (non-autosomes or non-selection)
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 25 samples, 250 SNPs
    using 1 (CPU) core
Specifying allele frequencies, mean: 0.486, sd: 0.284
*** A correction factor based on allele count is not used, since the allele frequencies are specified.
PLINK IBD:    the sum of all selected genotypes (0,1,2) = 6112
Wed Oct 16 07:18:57 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:57 2019    Done.
Identity-By-Descent analysis (MLE) on genotypes:
Excluding 8,838 SNPs (non-autosomes or non-selection)
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 25 samples, 250 SNPs
    using 1 (CPU) core
Specifying allele frequencies, mean: 0.486, sd: 0.284
MLE IBD:    the sum of all selected genotypes (0,1,2) = 6112
MLE IBD:	Wed Oct 16 07:18:57 2019	0%
MLE IBD:	Wed Oct 16 07:18:57 2019	100%
Genotype matrix: 250 SNPs X 25 samples
[1] -370.7482
[1] -402.2141
[1] -383.7897
[1] -377.9084
[1] -381.3139
[1] -397.5581
[1] -378.3344
[1] -370.703
[1] -376.103
[1] -377.7911
[1] -375.5425
[1] -373.13
[1] -383.6992
[1] -393.5194
[1] -371.9843
[1] -369.6468
[1] -374.5139
[1] -377.841
[1] -387.5622
[1] -377.1646
[1] -377.4659
[1] -375.2204
[1] -372.0639
[1] -379.816
FUNCTION: snpgdsPairIBDMLELogLik
SNP pruning based on LD:
Excluding 365 SNPs on non-autosomes
Excluding 1,646 SNPs (monomorphic: TRUE, MAF: 0.05, missing rate: 0.05)
Working space: 93 samples, 7,077 SNPs
    using 1 (CPU) core
    sliding window: 500,000 basepairs, Inf SNPs
    |LD| threshold: 0.2
    method: composite
Chromosome 1: 62.29%, 446/716
Chromosome 2: 62.67%, 465/742
Chromosome 3: 59.93%, 365/609
Chromosome 4: 64.23%, 361/562
Chromosome 5: 62.37%, 353/566
Chromosome 6: 59.82%, 338/565
Chromosome 7: 63.14%, 298/472
Chromosome 8: 57.58%, 281/488
Chromosome 9: 62.98%, 262/416
Chromosome 10: 60.46%, 292/483
Chromosome 11: 63.09%, 282/447
Chromosome 12: 62.76%, 268/427
Chromosome 13: 63.08%, 217/344
Chromosome 14: 63.83%, 180/282
Chromosome 15: 63.74%, 167/262
Chromosome 16: 62.23%, 173/278
Chromosome 17: 65.70%, 136/207
Chromosome 18: 59.40%, 158/266
Chromosome 19: 68.33%, 82/120
Chromosome 20: 66.38%, 152/229
Chromosome 21: 61.11%, 77/126
Chromosome 22: 57.76%, 67/116
5,420 markers are selected in total.
Identity-By-Descent analysis (MLE) on genotypes:
Excluding 8,838 SNPs (non-autosomes or non-selection)
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 25 samples, 250 SNPs
    using 1 (CPU) core
Specifying allele frequencies, mean: 0.486, sd: 0.284
MLE IBD:    the sum of all selected genotypes (0,1,2) = 6112
MLE IBD:	Wed Oct 16 07:18:58 2019	0%
MLE IBD:	Wed Oct 16 07:18:58 2019	100%
IBD analysis (PLINK method of moment) on genotypes:
Excluding 8,838 SNPs (non-autosomes or non-selection)
Excluding 0 SNP (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 25 samples, 250 SNPs
    using 1 (CPU) core
Specifying allele frequencies, mean: 0.486, sd: 0.284
*** A correction factor based on allele count is not used, since the allele frequencies are specified.
PLINK IBD:    the sum of all selected genotypes (0,1,2) = 6112
Wed Oct 16 07:18:58 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:18:58 2019    Done.
Genotype matrix: 250 SNPs X 25 samples
[1] -370.7482
[1] -402.2141
[1] -383.7897
[1] -377.9084
[1] -381.3139
[1] -397.5581
[1] -378.3344
[1] -370.703
[1] -376.103
[1] -377.7911
[1] -375.5425
[1] -373.13
[1] -383.6992
[1] -393.5194
[1] -371.9843
[1] -369.6468
[1] -374.5139
[1] -377.841
[1] -387.5622
[1] -377.1646
[1] -377.4659
[1] -375.2204
[1] -372.0639
[1] -379.816
FUNCTION: snpgdsPairScore
Excluding 365 SNPs on non-autosomes
Working space: 120 samples, 8723 SNPs
Method: IBS
Genotype Score:    the sum of all selected genotypes (0,1,2) = 1050236
Working space: 120 samples, 8723 SNPs
Method: IBS
Genotype Score:    the sum of all selected genotypes (0,1,2) = 1050236
Working space: 120 samples, 8723 SNPs
Method: IBS
Genotype Score:    the sum of all selected genotypes (0,1,2) = 1050236
Working space: 120 samples, 8723 SNPs
Method: IBS
Genotype Score:    the sum of all selected genotypes (0,1,2) = 1050236
Working space: 120 samples, 8723 SNPs
Method: IBS
Output: C:\Users\biocbuild\bbs-3.9-bioc\meat\SNPRelate.Rcheck\tests_x64\tmp.gds
Genotype Score:    the sum of all selected genotypes (0,1,2) = 1050236
FUNCTION: snpgdsSNPList
FUNCTION: snpgdsSNPListClass
FUNCTION: snpgdsSNPListIntersect
FUNCTION: snpgdsSNPRateFreq
FUNCTION: snpgdsSampMissRate
FUNCTION: snpgdsSelectSNP
Excluding 365 SNPs on non-autosomes
Excluding 1,221 SNPs (monomorphic: TRUE, MAF: 0.05, missing rate: 0.95)
FUNCTION: snpgdsSlidingWindow
Sliding Window Analysis:
Excluding 8 SNPs (monomorphic: TRUE, MAF: NaN, missing rate: NaN)
Working space: 279 samples, 9,080 SNPs
    using 1 (CPU) core
    window size: 500000, shift: 100000 (basepair)
Chromosome Set: 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23
Wed Oct 16 07:18:59 2019, Chromosome 1 (716 SNPs), 2448 windows
Wed Oct 16 07:18:59 2019, Chromosome 2 (742 SNPs), 2416 windows
Wed Oct 16 07:18:59 2019, Chromosome 3 (609 SNPs), 1985 windows
Wed Oct 16 07:18:59 2019, Chromosome 4 (562 SNPs), 1894 windows
Wed Oct 16 07:18:59 2019, Chromosome 5 (566 SNPs), 1797 windows
Wed Oct 16 07:19:00 2019, Chromosome 6 (565 SNPs), 1694 windows
Wed Oct 16 07:19:00 2019, Chromosome 7 (472 SNPs), 1573 windows
Wed Oct 16 07:19:00 2019, Chromosome 8 (488 SNPs), 1445 windows
Wed Oct 16 07:19:00 2019, Chromosome 9 (416 SNPs), 1393 windows
Wed Oct 16 07:19:00 2019, Chromosome 10 (483 SNPs), 1343 windows
Wed Oct 16 07:19:00 2019, Chromosome 11 (447 SNPs), 1338 windows
Wed Oct 16 07:19:00 2019, Chromosome 12 (427 SNPs), 1316 windows
Wed Oct 16 07:19:00 2019, Chromosome 13 (344 SNPs), 948 windows
Wed Oct 16 07:19:00 2019, Chromosome 14 (281 SNPs), 847 windows
Wed Oct 16 07:19:00 2019, Chromosome 15 (262 SNPs), 774 windows
Wed Oct 16 07:19:00 2019, Chromosome 16 (278 SNPs), 873 windows
Wed Oct 16 07:19:00 2019, Chromosome 17 (207 SNPs), 773 windows
Wed Oct 16 07:19:00 2019, Chromosome 18 (266 SNPs), 753 windows
Wed Oct 16 07:19:00 2019, Chromosome 19 (120 SNPs), 627 windows
Wed Oct 16 07:19:00 2019, Chromosome 20 (229 SNPs), 602 windows
Wed Oct 16 07:19:00 2019, Chromosome 21 (126 SNPs), 311 windows
Wed Oct 16 07:19:00 2019, Chromosome 22 (116 SNPs), 312 windows
Wed Oct 16 07:19:00 2019, Chromosome 23 (358 SNPs), 1507 windows
Wed Oct 16 07:19:00 2019 	Done.
FUNCTION: snpgdsSummary
The file name: C:\Users\biocbuild\bbs-3.9-bioc\R\library\SNPRelate\extdata\hapmap_geno.gds 
The total number of samples: 279 
The total number of SNPs: 9088 
SNP genotypes are stored in SNP-major mode (Sample X SNP).
FUNCTION: snpgdsTranspose
The file name: C:\Users\biocbuild\bbs-3.9-bioc\meat\SNPRelate.Rcheck\tests_x64\test.gds 
The total number of samples: 279 
The total number of SNPs: 9088 
SNP genotypes are stored in SNP-major mode (Sample X SNP).
SNP genotypes: 279 samples, 9088 SNPs
Genotype matrix is being transposed ...
Clean up the fragments of GDS file:
    open the file 'test.gds' (1.3M)
    # of fragments: 28
    save to 'test.gds.tmp'
    rename 'test.gds.tmp' (709.6K, reduced: 619.1K)
    # of fragments: 26
The file name: C:\Users\biocbuild\bbs-3.9-bioc\meat\SNPRelate.Rcheck\tests_x64\test.gds 
The total number of samples: 279 
The total number of SNPs: 9088 
SNP genotypes are stored in individual-major mode (SNP X Sample).
FUNCTION: snpgdsVCF2GDS
##fileformat=VCFv4.1
##fileDate=20090805
##source=myImputationProgramV3.1
##reference=file:///seq/references/1000GenomesPilot-NCBI36.fasta
##contig=
##phasing=partial
##INFO=
##INFO=
##INFO=
##INFO=
##INFO=
##INFO=
##FILTER=
##FILTER=
##FORMAT=
##FORMAT=
##FORMAT=
##FORMAT=
#CHROM	POS	ID	REF	ALT	QUAL	FILTER	INFO	FORMAT	NA00001	NA00002	NA00003
20	14370	rs6054257	G	A	29	PASS	NS=3;DP=14;AF=0.5;DB;H2	GT:GQ:DP:HQ	0|0:48:1:51,51	1|0:48:8:51,51	1/1:43:5:.,.
20	17330	.	T	A	3	q10	NS=3;DP=11;AF=0.017	GT:GQ:DP:HQ	0|0:49:3:58,50	0|1:3:5:65,3	0/0:41:3
20	1110696	rs6040355	A	G,T	67	PASS	NS=2;DP=10;AF=0.333,0.667;AA=T;DB	GT:GQ:DP:HQ	1|2:21:6:23,27	2|1:2:0:18,2	2/2:35:4
20	1230237	.	T	.	47	PASS	NS=3;DP=13;AA=T	GT:GQ:DP:HQ	0|0:54:7:56,60	0|0:48:4:51,51	0/0:61:2
20	1234567	microsat1	GTC	G,GTCT	50	PASS	NS=3;DP=9;AA=G	GT:GQ:DP	0/1:35:4	0/2:17:2	1/1:40:3
Start file conversion from VCF to SNP GDS ...
Method: exacting biallelic SNPs
Number of samples: 3
Parsing "C:/Users/biocbuild/bbs-3.9-bioc/R/library/SNPRelate/extdata/sequence.vcf" ...
	import 2 variants.
+ genotype   { Bit2 3x2, 2B } *
Optimize the access efficiency ...
Clean up the fragments of GDS file:
    open the file 'test1.gds' (2.9K)
    # of fragments: 46
    save to 'test1.gds.tmp'
    rename 'test1.gds.tmp' (2.6K, reduced: 312B)
    # of fragments: 20
The file name: C:\Users\biocbuild\bbs-3.9-bioc\meat\SNPRelate.Rcheck\tests_x64\test1.gds 
The total number of samples: 3 
The total number of SNPs: 2 
SNP genotypes are stored in SNP-major mode (Sample X SNP).
Start file conversion from VCF to SNP GDS ...
Method: exacting biallelic SNPs
Number of samples: 3
Parsing "C:/Users/biocbuild/bbs-3.9-bioc/R/library/SNPRelate/extdata/sequence.vcf" ...
	import 2 variants.
+ genotype   { Bit2 3x2, 2B } *
SNP genotypes: 3 samples, 2 SNPs
Genotype matrix is being transposed ...
Optimize the access efficiency ...
Clean up the fragments of GDS file:
    open the file 'test2.gds' (3.0K)
    # of fragments: 48
    save to 'test2.gds.tmp'
    rename 'test2.gds.tmp' (2.6K, reduced: 417B)
    # of fragments: 20
The file name: C:\Users\biocbuild\bbs-3.9-bioc\meat\SNPRelate.Rcheck\tests_x64\test2.gds 
The total number of samples: 3 
The total number of SNPs: 2 
SNP genotypes are stored in individual-major mode (SNP X Sample).
Start file conversion from VCF to SNP GDS ...
Method: dosage (0,1,2) of reference allele for all variant sites
Number of samples: 3
Parsing "C:/Users/biocbuild/bbs-3.9-bioc/R/library/SNPRelate/extdata/sequence.vcf" ...
	import 5 variants.
+ genotype   { Bit2 3x5, 4B } *
SNP genotypes: 3 samples, 5 SNPs
Genotype matrix is being transposed ...
Optimize the access efficiency ...
Clean up the fragments of GDS file:
    open the file 'test3.gds' (3.1K)
    # of fragments: 48
    save to 'test3.gds.tmp'
    rename 'test3.gds.tmp' (2.7K, reduced: 419B)
    # of fragments: 20
Some of 'snp.allele' are not standard (e.g., A/G,T).
The file name: C:\Users\biocbuild\bbs-3.9-bioc\meat\SNPRelate.Rcheck\tests_x64\test3.gds 
The total number of samples: 3 
The total number of SNPs: 5 
SNP genotypes are stored in individual-major mode (SNP X Sample).
The number of valid samples: 3 
The number of biallelic unique SNPs: 2 
Start file conversion from VCF to SNP GDS ...
Method: dosage (0,1,2) of reference allele for all variant sites
Number of samples: 3
Parsing "C:/Users/biocbuild/bbs-3.9-bioc/R/library/SNPRelate/extdata/sequence.vcf" ...
	import 5 variants.
+ genotype   { Bit2 3x5, 4B } *
Optimize the access efficiency ...
Clean up the fragments of GDS file:
    open the file 'test4.gds' (3.0K)
    # of fragments: 46
    save to 'test4.gds.tmp'
    rename 'test4.gds.tmp' (2.7K, reduced: 312B)
    # of fragments: 20
Some of 'snp.allele' are not standard (e.g., A/G,T).
The file name: C:\Users\biocbuild\bbs-3.9-bioc\meat\SNPRelate.Rcheck\tests_x64\test4.gds 
The total number of samples: 3 
The total number of SNPs: 5 
SNP genotypes are stored in SNP-major mode (Sample X SNP).
The number of valid samples: 3 
The number of biallelic unique SNPs: 2 
Start file conversion from VCF to SNP GDS ...
Method: dosage (0,1,2) of reference allele for all variant sites
Number of samples: 3
Parsing "C:/Users/biocbuild/bbs-3.9-bioc/R/library/SNPRelate/extdata/sequence.vcf" ...
	import 5 variants.
+ genotype   { Bit2 3x5, 4B } *
Optimize the access efficiency ...
Clean up the fragments of GDS file:
    open the file 'test5.gds' (3.0K)
    # of fragments: 46
    save to 'test5.gds.tmp'
    rename 'test5.gds.tmp' (2.7K, reduced: 312B)
    # of fragments: 20
Some of 'snp.allele' are not standard (e.g., T/A,G).
The file name: C:\Users\biocbuild\bbs-3.9-bioc\meat\SNPRelate.Rcheck\tests_x64\test5.gds 
The total number of samples: 3 
The total number of SNPs: 5 
SNP genotypes are stored in SNP-major mode (Sample X SNP).
The number of valid samples: 3 
The number of biallelic unique SNPs: 2 
FUNCTION: snpgdsVCF2GDS_R
##fileformat=VCFv4.1
##fileDate=20090805
##source=myImputationProgramV3.1
##reference=file:///seq/references/1000GenomesPilot-NCBI36.fasta
##contig=
##phasing=partial
##INFO=
##INFO=
##INFO=
##INFO=
##INFO=
##INFO=
##FILTER=
##FILTER=
##FORMAT=
##FORMAT=
##FORMAT=
##FORMAT=
#CHROM	POS	ID	REF	ALT	QUAL	FILTER	INFO	FORMAT	NA00001	NA00002	NA00003
20	14370	rs6054257	G	A	29	PASS	NS=3;DP=14;AF=0.5;DB;H2	GT:GQ:DP:HQ	0|0:48:1:51,51	1|0:48:8:51,51	1/1:43:5:.,.
20	17330	.	T	A	3	q10	NS=3;DP=11;AF=0.017	GT:GQ:DP:HQ	0|0:49:3:58,50	0|1:3:5:65,3	0/0:41:3
20	1110696	rs6040355	A	G,T	67	PASS	NS=2;DP=10;AF=0.333,0.667;AA=T;DB	GT:GQ:DP:HQ	1|2:21:6:23,27	2|1:2:0:18,2	2/2:35:4
20	1230237	.	T	.	47	PASS	NS=3;DP=13;AA=T	GT:GQ:DP:HQ	0|0:54:7:56,60	0|0:48:4:51,51	0/0:61:2
20	1234567	microsat1	GTC	G,GTCT	50	PASS	NS=3;DP=9;AA=G	GT:GQ:DP	0/1:35:4	0/2:17:2	1/1:40:3
Start snpgdsVCF2GDS ...
	Extracting bi-allelic and polymorhpic SNPs.
	Scanning ...
	file: C:/Users/biocbuild/bbs-3.9-bioc/R/library/SNPRelate/extdata/sequence.vcf
	content: 5 rows x 12 columns
Wed Oct 16 07:19:00 2019 	store sample id, snp id, position, and chromosome.
	start writing: 3 samples, 2 SNPs ...
	file: C:/Users/biocbuild/bbs-3.9-bioc/R/library/SNPRelate/extdata/sequence.vcf
[1] 1
Wed Oct 16 07:19:00 2019 	Done.
The file name: C:\Users\biocbuild\bbs-3.9-bioc\meat\SNPRelate.Rcheck\tests_x64\test1.gds 
The total number of samples: 3 
The total number of SNPs: 2 
SNP genotypes are stored in SNP-major mode (Sample X SNP).
Start snpgdsVCF2GDS ...
	Extracting bi-allelic and polymorhpic SNPs.
	Scanning ...
	file: C:/Users/biocbuild/bbs-3.9-bioc/R/library/SNPRelate/extdata/sequence.vcf
	content: 5 rows x 12 columns
Wed Oct 16 07:19:00 2019 	store sample id, snp id, position, and chromosome.
	start writing: 3 samples, 2 SNPs ...
	file: C:/Users/biocbuild/bbs-3.9-bioc/R/library/SNPRelate/extdata/sequence.vcf
[1] 1
Wed Oct 16 07:19:01 2019 	Done.
The file name: C:\Users\biocbuild\bbs-3.9-bioc\meat\SNPRelate.Rcheck\tests_x64\test2.gds 
The total number of samples: 3 
The total number of SNPs: 2 
SNP genotypes are stored in SNP-major mode (Sample X SNP).
Start snpgdsVCF2GDS ...
	Storing dosage of the reference allele for all variant sites, including bi-allelic SNPs, multi-allelic SNPs, indels and structural variants.
	Scanning ...
	file: C:/Users/biocbuild/bbs-3.9-bioc/R/library/SNPRelate/extdata/sequence.vcf
	content: 5 rows x 12 columns
Wed Oct 16 07:19:01 2019 	store sample id, snp id, position, and chromosome.
	start writing: 3 samples, 5 SNPs ...
	file: C:/Users/biocbuild/bbs-3.9-bioc/R/library/SNPRelate/extdata/sequence.vcf
Wed Oct 16 07:19:01 2019 	Done.
Some of 'snp.allele' are not standard (e.g., A/G,T).
The file name: C:\Users\biocbuild\bbs-3.9-bioc\meat\SNPRelate.Rcheck\tests_x64\test3.gds 
The total number of samples: 3 
The total number of SNPs: 5 
SNP genotypes are stored in SNP-major mode (Sample X SNP).
The number of valid samples: 3 
The number of biallelic unique SNPs: 2 
Start snpgdsVCF2GDS ...
	Storing dosage of the reference allele for all variant sites, including bi-allelic SNPs, multi-allelic SNPs, indels and structural variants.
	Scanning ...
	file: C:/Users/biocbuild/bbs-3.9-bioc/R/library/SNPRelate/extdata/sequence.vcf
	content: 5 rows x 12 columns
Wed Oct 16 07:19:01 2019 	store sample id, snp id, position, and chromosome.
	start writing: 3 samples, 5 SNPs ...
	file: C:/Users/biocbuild/bbs-3.9-bioc/R/library/SNPRelate/extdata/sequence.vcf
Wed Oct 16 07:19:01 2019 	Done.
Some of 'snp.allele' are not standard (e.g., A/G,T).
The file name: C:\Users\biocbuild\bbs-3.9-bioc\meat\SNPRelate.Rcheck\tests_x64\test4.gds 
The total number of samples: 3 
The total number of SNPs: 5 
SNP genotypes are stored in SNP-major mode (Sample X SNP).
The number of valid samples: 3 
The number of biallelic unique SNPs: 2 
SNP Correlation:
Working space: 90 samples, 9088 SNPs
    using 1 (CPU) core
    using the top 2 eigenvectors
Correlation:    the sum of all selected genotypes (0,1,2) = 824424
Wed Oct 16 07:19:02 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:19:02 2019    Done.
SNP Correlation:
Working space: 90 samples, 9088 SNPs
    using 1 (CPU) core
    using the top 2 eigenvectors
Creating 'test.gds' ...
Correlation:    the sum of all selected genotypes (0,1,2) = 824424
Wed Oct 16 07:19:02 2019

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:19:02 2019    Done.
SNP loading:
Working space: 90 samples, 8695 SNPs
    using 1 (CPU) core
    using the top 8 eigenvectors
SNP Loading:    the sum of all selected genotypes (0,1,2) = 787449
Wed Oct 16 07:19:02 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:19:02 2019    Done.
Sample loading:
Working space: 100 samples, 8695 SNPs
    using 1 (CPU) core
    using the top 8 eigenvectors
Sample Loading:    the sum of all selected genotypes (0,1,2) = 875255
Wed Oct 16 07:19:02 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:19:02 2019    Done.
SNP Correlation:
Working space: 90 samples, 9088 SNPs
    using 2 (CPU) cores
    using the top 2 eigenvectors
Correlation:    the sum of all selected genotypes (0,1,2) = 824424
Wed Oct 16 07:19:02 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:19:02 2019    Done.
SNP Correlation:
Working space: 90 samples, 9088 SNPs
    using 2 (CPU) cores
    using the top 2 eigenvectors
Creating 'test.gds' ...
Correlation:    the sum of all selected genotypes (0,1,2) = 824424
Wed Oct 16 07:19:03 2019

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:19:03 2019    Done.
SNP loading:
Working space: 90 samples, 8695 SNPs
    using 1 (CPU) core
    using the top 8 eigenvectors
SNP Loading:    the sum of all selected genotypes (0,1,2) = 787449
Wed Oct 16 07:19:03 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:19:03 2019    Done.
Sample loading:
Working space: 100 samples, 8695 SNPs
    using 1 (CPU) core
    using the top 8 eigenvectors
Sample Loading:    the sum of all selected genotypes (0,1,2) = 875255
Wed Oct 16 07:19:03 2019    (internal increment: 65536)

[..................................................]  0%, ETC: ---        
[==================================================] 100%, completed, 0s
Wed Oct 16 07:19:03 2019    Done.


RUNIT TEST PROTOCOL -- Wed Oct 16 07:19:03 2019 
*********************************************** 
Number of test functions: 13 
Number of errors: 0 
Number of failures: 0 

 
1 Test Suite : 
SNPRelate RUnit Tests - 13 test functions, 0 errors, 0 failures
Number of test functions: 13 
Number of errors: 0 
Number of failures: 0 
> 
> proc.time()
   user  system elapsed 
  41.06    2.09   43.12 

Example timings

SNPRelate.Rcheck/examples_i386/SNPRelate-Ex.timings

nameusersystemelapsed
SNPGDSFileClass-class0.030.000.03
SNPRelate-package3.840.143.98
snpgdsAdmixPlot0.750.020.77
snpgdsAdmixProp0.720.010.73
snpgdsAlleleSwitch0.110.000.11
snpgdsApartSelection0.090.000.10
snpgdsBED2GDS0.080.020.09
snpgdsClose0.020.000.02
snpgdsCombineGeno0.150.050.20
snpgdsCreateGeno0.720.010.73
snpgdsCreateGenoSet0.190.000.19
snpgdsCutTree2.390.062.45
snpgdsDiss1.970.001.97
snpgdsDrawTree1.950.001.95
snpgdsEIGMIX0.740.020.75
snpgdsErrMsg000
snpgdsExampleFileName000
snpgdsFst0.040.000.05
snpgdsGDS2BED0.100.000.09
snpgdsGDS2Eigen0.200.010.22
snpgdsGDS2PED0.470.080.55
snpgdsGEN2GDS000
snpgdsGRM1.830.111.94
snpgdsGetGeno0.060.000.06
snpgdsHCluster2.640.012.66
snpgdsHWE0.020.020.03
snpgdsIBDKING3.470.133.59
snpgdsIBDMLE1.400.031.44
snpgdsIBDMLELogLik1.420.011.44
snpgdsIBDMoM0.600.000.59
snpgdsIBDSelection0.170.020.19
snpgdsIBS1.450.001.45
snpgdsIBSNum2.390.002.39
snpgdsIndInb0.050.000.05
snpgdsIndInbCoef000
snpgdsIndivBeta1.300.011.31
snpgdsLDMat0.330.110.44
snpgdsLDpair000
snpgdsLDpruning0.030.030.06
snpgdsMergeGRM4.000.244.28
snpgdsOpen0.030.000.03
snpgdsOption000
snpgdsPCA1.090.111.21
snpgdsPCACorr1.390.081.46
snpgdsPCASNPLoading1.000.011.02
snpgdsPCASampLoading0.920.050.97
snpgdsPED2GDS2.470.202.67
snpgdsPairIBD2.050.022.06
snpgdsPairIBDMLELogLik1.560.011.58
snpgdsPairScore0.210.070.27
snpgdsSNPList0.010.000.01
snpgdsSNPListIntersect0.130.000.13
snpgdsSNPRateFreq0.000.030.03
snpgdsSampMissRate0.010.000.01
snpgdsSelectSNP0.020.000.02
snpgdsSlidingWindow0.890.010.91
snpgdsSummary0.060.020.07
snpgdsTranspose0.160.010.18
snpgdsVCF2GDS0.090.100.18
snpgdsVCF2GDS_R0.030.040.08

SNPRelate.Rcheck/examples_x64/SNPRelate-Ex.timings

nameusersystemelapsed
SNPGDSFileClass-class0.030.000.03
SNPRelate-package1.870.122.00
snpgdsAdmixPlot0.470.040.50
snpgdsAdmixProp0.480.010.50
snpgdsAlleleSwitch0.080.020.10
snpgdsApartSelection0.060.010.08
snpgdsBED2GDS0.080.020.09
snpgdsClose0.000.010.02
snpgdsCombineGeno0.230.070.34
snpgdsCreateGeno0.520.060.58
snpgdsCreateGenoSet0.170.030.21
snpgdsCutTree2.340.142.48
snpgdsDiss1.910.001.91
snpgdsDrawTree1.810.011.83
snpgdsEIGMIX0.470.020.48
snpgdsErrMsg0.000.010.02
snpgdsExampleFileName000
snpgdsFst0.030.000.03
snpgdsGDS2BED0.080.020.17
snpgdsGDS2Eigen0.300.050.38
snpgdsGDS2PED0.640.120.76
snpgdsGEN2GDS000
snpgdsGRM1.340.031.43
snpgdsGetGeno0.050.020.06
snpgdsHCluster2.120.012.14
snpgdsHWE0.000.020.01
snpgdsIBDKING1.740.081.82
snpgdsIBDMLE1.390.011.40
snpgdsIBDMLELogLik1.610.021.63
snpgdsIBDMoM0.350.010.36
snpgdsIBDSelection0.110.020.13
snpgdsIBS0.500.030.53
snpgdsIBSNum0.760.000.76
snpgdsIndInb0.030.000.04
snpgdsIndInbCoef000
snpgdsIndivBeta0.360.000.36
snpgdsLDMat0.410.020.42
snpgdsLDpair000
snpgdsLDpruning0.060.000.06
snpgdsMergeGRM2.380.182.58
snpgdsOpen0.010.000.01
snpgdsOption000
snpgdsPCA0.580.020.59
snpgdsPCACorr0.650.050.71
snpgdsPCASNPLoading0.610.030.64
snpgdsPCASampLoading0.630.010.64
snpgdsPED2GDS1.170.161.33
snpgdsPairIBD1.860.001.85
snpgdsPairIBDMLELogLik1.330.001.33
snpgdsPairScore0.230.110.35
snpgdsSNPList0.020.000.01
snpgdsSNPListIntersect0.140.000.14
snpgdsSNPRateFreq0.030.000.03
snpgdsSampMissRate0.010.000.02
snpgdsSelectSNP000
snpgdsSlidingWindow0.910.001.02
snpgdsSummary0.080.000.07
snpgdsTranspose0.190.030.22
snpgdsVCF2GDS0.100.090.21
snpgdsVCF2GDS_R0.040.050.07