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

CHECK report for SICtools on machv2

This page was generated on 2020-10-17 11:59:36 -0400 (Sat, 17 Oct 2020).

TO THE DEVELOPERS/MAINTAINERS OF THE SICtools PACKAGE: Please make sure to use the following settings in order to reproduce any error or warning you see on this page.
Package 1648/1905HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
SICtools 1.18.0
Xiaobin Xing
Snapshot Date: 2020-10-16 14:40:19 -0400 (Fri, 16 Oct 2020)
URL: https://git.bioconductor.org/packages/SICtools
Branch: RELEASE_3_11
Last Commit: 4353241
Last Changed Date: 2020-04-27 14:51:59 -0400 (Mon, 27 Apr 2020)
malbec2 Linux (Ubuntu 18.04.4 LTS) / x86_64  OK  OK  WARNINGS UNNEEDED, same version exists in internal repository
tokay2 Windows Server 2012 R2 Standard / x64 ...NOT SUPPORTED...
machv2 macOS 10.14.6 Mojave / x86_64  OK  OK [ WARNINGS ] OK UNNEEDED, same version exists in internal repository

Summary

Package: SICtools
Version: 1.18.0
Command: /Library/Frameworks/R.framework/Versions/Current/Resources/bin/R CMD check --install=check:SICtools.install-out.txt --library=/Library/Frameworks/R.framework/Versions/Current/Resources/library --no-vignettes --timings SICtools_1.18.0.tar.gz
StartedAt: 2020-10-17 05:19:47 -0400 (Sat, 17 Oct 2020)
EndedAt: 2020-10-17 05:22:15 -0400 (Sat, 17 Oct 2020)
EllapsedTime: 148.3 seconds
RetCode: 0
Status:  WARNINGS 
CheckDir: SICtools.Rcheck
Warnings: 1

Command output

##############################################################################
##############################################################################
###
### Running command:
###
###   /Library/Frameworks/R.framework/Versions/Current/Resources/bin/R CMD check --install=check:SICtools.install-out.txt --library=/Library/Frameworks/R.framework/Versions/Current/Resources/library --no-vignettes --timings SICtools_1.18.0.tar.gz
###
##############################################################################
##############################################################################


* using log directory ‘/Users/biocbuild/bbs-3.11-bioc/meat/SICtools.Rcheck’
* using R version 4.0.3 (2020-10-10)
* using platform: x86_64-apple-darwin17.0 (64-bit)
* using session charset: UTF-8
* using option ‘--no-vignettes’
* checking for file ‘SICtools/DESCRIPTION’ ... OK
* checking extension type ... Package
* this is package ‘SICtools’ version ‘1.18.0’
* checking package namespace information ... OK
* checking package dependencies ... NOTE
Depends: includes the non-default packages:
  'Rsamtools', 'doParallel', 'Biostrings', 'stringr', 'matrixStats',
  'plyr', 'GenomicRanges', 'IRanges'
Adding so many packages to the search path is excessive and importing
selectively is preferable.
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for hidden files and directories ... NOTE
Found the following hidden files and directories:
  .BBSoptions
These were most likely included in error. See section ‘Package
structure’ in the ‘Writing R Extensions’ manual.
* checking for portable file names ... OK
* checking for sufficient/correct file permissions ... OK
* checking whether package ‘SICtools’ can be installed ... WARNING
Found the following significant warnings:
  vcf.c:243:15: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign]
  errmod.c:79:8: warning: self-comparison always evaluates to false [-Wtautological-compare]
  md5.c:155:27: warning: 'memset' call operates on objects of type 'struct MD5Context' while the size is based on a different type 'struct MD5Context *' [-Wsizeof-pointer-memaccess]
  Warning: replacing previous import ‘plyr::count’ by ‘matrixStats::count’ when loading ‘SICtools’
See ‘/Users/biocbuild/bbs-3.11-bioc/meat/SICtools.Rcheck/00install.out’ for details.
* checking installed package size ... OK
* checking package directory ... OK
* checking ‘build’ directory ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... OK
* checking for left-over files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking R files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* checking whether the package can be loaded ... OK
* checking whether the package can be loaded with stated dependencies ... OK
* checking whether the package can be unloaded cleanly ... OK
* checking whether the namespace can be loaded with stated dependencies ... OK
* checking whether the namespace can be unloaded cleanly ... OK
* checking 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 ... NOTE
.indelDiffFunc: no visible global function definition for ‘fisher.test’
.indelDiffFunc: no visible global function definition for ‘dist’
indelDiff: no visible global function definition for ‘read.delim’
snpDiff : calcInfoRange : <anonymous>: no visible global function
  definition for ‘fisher.test’
snpDiff : calcInfoRange : <anonymous>: no visible global function
  definition for ‘dist’
Undefined global functions or variables:
  dist fisher.test read.delim
Consider adding
  importFrom("stats", "dist", "fisher.test")
  importFrom("utils", "read.delim")
to your NAMESPACE file.
* 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 line endings in C/C++/Fortran sources/headers ... OK
* checking line endings in Makefiles ... OK
* checking for GNU extensions in Makefiles ... OK
* checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
* checking use of PKG_*FLAGS in Makefiles ... OK
* checking include directives in Makefiles ... OK
* checking compiled code ... OK
* checking sizes of PDF files under ‘inst/doc’ ... OK
* checking files in ‘vignettes’ ... OK
* checking examples ... OK
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ...
  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 WARNING, 3 NOTEs
See
  ‘/Users/biocbuild/bbs-3.11-bioc/meat/SICtools.Rcheck/00check.log’
for details.



Installation output

SICtools.Rcheck/00install.out

##############################################################################
##############################################################################
###
### Running command:
###
###   /Library/Frameworks/R.framework/Versions/Current/Resources/bin/R CMD INSTALL SICtools
###
##############################################################################
##############################################################################


* installing to library ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library’
* installing *source* package ‘SICtools’ ...
** using staged installation
** libs
** arch - 
Makefile:24: warning: overriding commands for target `.c.o'
/Library/Frameworks/R.framework/Resources/etc/Makeconf:172: warning: ignoring old commands for target `.c.o'
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -DBGZF_CACHE -I. bgzf.c -o bgzf.o
bgzf.c:82:1: warning: unused function 'kh_clear_cache' [-Wunused-function]
KHASH_MAP_INIT_INT64(cache, cache_t)
^
./khash.h:510:2: note: expanded from macro 'KHASH_MAP_INIT_INT64'
        KHASH_INIT(name, khint64_t, khval_t, 1, kh_int64_hash_func, kh_int64_hash_equal)
        ^
./khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:73:1: note: expanded from here
kh_clear_cache
^
1 warning generated.
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. kstring.c -o kstring.o
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. bam_aux.c -o bam_aux.o
bam_aux.c:5:1: warning: unused function 'kh_clear_s' [-Wunused-function]
KHASH_MAP_INIT_STR(s, int)
^
./khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:88:1: note: expanded from here
kh_clear_s
^
bam_aux.c:5:1: warning: unused function 'kh_del_s' [-Wunused-function]
./khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:102:1: note: expanded from here
kh_del_s
^
bam_aux.c:6:1: warning: unused function 'kh_init_r2l' [-Wunused-function]
KHASH_MAP_INIT_STR(r2l, str_p)
^
./khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./khash.h:168:23: note: expanded from macro 'KHASH_INIT2'
        SCOPE kh_##name##_t *kh_init_##name() {                                                         \
                             ^
<scratch space>:109:1: note: expanded from here
kh_init_r2l
^
bam_aux.c:6:1: warning: unused function 'kh_destroy_r2l' [-Wunused-function]
./khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./khash.h:171:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_destroy_##name(kh_##name##_t *h)                                          \
                   ^
<scratch space>:114:1: note: expanded from here
kh_destroy_r2l
^
bam_aux.c:6:1: warning: unused function 'kh_clear_r2l' [-Wunused-function]
./khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:117:1: note: expanded from here
kh_clear_r2l
^
bam_aux.c:6:1: warning: unused function 'kh_get_r2l' [-Wunused-function]
./khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./khash.h:186:16: note: expanded from macro 'KHASH_INIT2'
        SCOPE khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key)        \
                      ^
<scratch space>:120:1: note: expanded from here
kh_get_r2l
^
bam_aux.c:6:1: warning: unused function 'kh_put_r2l' [-Wunused-function]
./khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./khash.h:260:16: note: expanded from macro 'KHASH_INIT2'
        SCOPE khint_t kh_put_##name(kh_##name##_t *h, khkey_t key, int *ret) \
                      ^
<scratch space>:126:1: note: expanded from here
kh_put_r2l
^
bam_aux.c:6:1: warning: unused function 'kh_del_r2l' [-Wunused-function]
./khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:131:1: note: expanded from here
kh_del_r2l
^
8 warnings generated.
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. bam.c -o bam.o
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. bam_import.c -o bam_import.o
bam_import.c:18:1: warning: unused function 'kh_clear_ref' [-Wunused-function]
KHASH_MAP_INIT_STR(ref, uint64_t)
^
./khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:99:1: note: expanded from here
kh_clear_ref
^
bam_import.c:18:1: warning: unused function 'kh_get_ref' [-Wunused-function]
./khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./khash.h:186:16: note: expanded from macro 'KHASH_INIT2'
        SCOPE khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key)        \
                      ^
<scratch space>:102:1: note: expanded from here
kh_get_ref
^
bam_import.c:18:1: warning: unused function 'kh_del_ref' [-Wunused-function]
./khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:113:1: note: expanded from here
kh_del_ref
^
3 warnings generated.
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. sam.c -o sam.o
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. bam_index.c -o bam_index.o
bam_index.c:64:1: warning: unused function 'kh_clear_i' [-Wunused-function]
KHASH_MAP_INIT_INT(i, bam_binlist_t)
^
./khash.h:495:2: note: expanded from macro 'KHASH_MAP_INIT_INT'
        KHASH_INIT(name, khint32_t, khval_t, 1, kh_int_hash_func, kh_int_hash_equal)
        ^
./khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:108:1: note: expanded from here
kh_clear_i
^
bam_index.c:64:1: warning: unused function 'kh_del_i' [-Wunused-function]
./khash.h:495:2: note: expanded from macro 'KHASH_MAP_INIT_INT'
        KHASH_INIT(name, khint32_t, khval_t, 1, kh_int_hash_func, kh_int_hash_equal)
        ^
./khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:122:1: note: expanded from here
kh_del_i
^
2 warnings generated.
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. bam_pileup.c -o bam_pileup.o
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. bam_lpileup.c -o bam_lpileup.o
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. bam_md.c -o bam_md.o
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. razf.c -o razf.o
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. faidx.c -o faidx.o
faidx.c:14:1: warning: unused function 'kh_clear_s' [-Wunused-function]
KHASH_MAP_INIT_STR(s, faidx1_t)
^
./khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:569:1: note: expanded from here
kh_clear_s
^
faidx.c:14:1: warning: unused function 'kh_del_s' [-Wunused-function]
./khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:583:1: note: expanded from here
kh_del_s
^
2 warnings generated.
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. bedidx.c -o bedidx.o
bedidx.c:24:1: warning: unused function 'kh_clear_reg' [-Wunused-function]
KHASH_MAP_INIT_STR(reg, bed_reglist_t)
^
./khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:102:1: note: expanded from here
kh_clear_reg
^
bedidx.c:24:1: warning: unused function 'kh_del_reg' [-Wunused-function]
./khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:116:1: note: expanded from here
kh_del_reg
^
2 warnings generated.
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. knetfile.c -o knetfile.o
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. bam_sort.c -o bam_sort.o
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. sam_header.c -o sam_header.o
sam_header.c:9:1: warning: unused function 'kh_clear_str' [-Wunused-function]
KHASH_MAP_INIT_STR(str, const char *)
^
./khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:569:1: note: expanded from here
kh_clear_str
^
sam_header.c:9:1: warning: unused function 'kh_del_str' [-Wunused-function]
./khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:583:1: note: expanded from here
kh_del_str
^
2 warnings generated.
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. bam_reheader.c -o bam_reheader.o
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. kprobaln.c -o kprobaln.o
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. bam_cat.c -o bam_cat.o
ar -csru libbam.a bgzf.o kstring.o bam_aux.o bam.o bam_import.o sam.o bam_index.o bam_pileup.o bam_lpileup.o bam_md.o razf.o faidx.o bedidx.o knetfile.o bam_sort.o sam_header.o bam_reheader.o kprobaln.o bam_cat.o
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I.. -I. bcf.c -o bcf.o
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I.. -I. vcf.c -o vcf.o
vcf.c:243:15: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign]
                endblock: i = i;
                          ~ ^ ~
vcf.c:8:1: warning: unused function 'ks_getc' [-Wunused-function]
KSTREAM_INIT(gzFile, gzread, 4096)
^
../kseq.h:146:2: note: expanded from macro 'KSTREAM_INIT'
        __KS_GETC(__read, __bufsize)                            \
        ^
../kseq.h:67:20: note: expanded from macro '__KS_GETC'
        static inline int ks_getc(kstream_t *ks)                                \
                          ^
2 warnings generated.
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I.. -I. bcfutils.c -o bcfutils.o
bcfutils.c:7:1: warning: unused function 'kh_clear_str2id' [-Wunused-function]
KHASH_MAP_INIT_STR(str2id, int)
^
../khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
../khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
../khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:19:1: note: expanded from here
kh_clear_str2id
^
bcfutils.c:7:1: warning: unused function 'kh_del_str2id' [-Wunused-function]
../khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
../khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
../khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:33:1: note: expanded from here
kh_del_str2id
^
2 warnings generated.
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I.. -I. prob1.c -o prob1.o
prob1.c:13:1: warning: unused function 'ks_getc' [-Wunused-function]
KSTREAM_INIT(gzFile, gzread, 16384)
^
../kseq.h:146:2: note: expanded from macro 'KSTREAM_INIT'
        __KS_GETC(__read, __bufsize)                            \
        ^
../kseq.h:67:20: note: expanded from macro '__KS_GETC'
        static inline int ks_getc(kstream_t *ks)                                \
                          ^
1 warning generated.
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I.. -I. em.c -o em.o
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I.. -I. kfunc.c -o kfunc.o
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I.. -I. kmin.c -o kmin.o
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I.. -I. index.c -o index.o
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I.. -I. fet.c -o fet.o
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I.. -I. mut.c -o mut.o
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I.. -I. bcf2qcall.c -o bcf2qcall.o
ar -csru libbcf.a bcf.o vcf.o bcfutils.o prob1.o em.o kfunc.o kmin.o index.o fet.o mut.o bcf2qcall.o
make[2]: Nothing to be done for `lib'.
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. bam_tview.c -o bam_tview.o
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. bam_plcmd.c -o bam_plcmd.o
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. sam_view.c -o sam_view.o
sam_view.c:12:1: warning: unused function 'kh_clear_rg' [-Wunused-function]
KHASH_SET_INIT_STR(rg)
^
./khash.h:518:2: note: expanded from macro 'KHASH_SET_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, char, 0, kh_str_hash_func, kh_str_hash_equal)
        ^
./khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:25:1: note: expanded from here
kh_clear_rg
^
sam_view.c:12:1: warning: unused function 'kh_del_rg' [-Wunused-function]
./khash.h:518:2: note: expanded from macro 'KHASH_SET_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, char, 0, kh_str_hash_func, kh_str_hash_equal)
        ^
./khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:39:1: note: expanded from here
kh_del_rg
^
2 warnings generated.
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. bam_rmdup.c -o bam_rmdup.o
bam_rmdup.c:12:1: warning: unused function 'kh_get_pos' [-Wunused-function]
KHASH_MAP_INIT_INT64(pos, bam1_p)
^
./khash.h:510:2: note: expanded from macro 'KHASH_MAP_INIT_INT64'
        KHASH_INIT(name, khint64_t, khval_t, 1, kh_int64_hash_func, kh_int64_hash_equal)
        ^
./khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./khash.h:186:16: note: expanded from macro 'KHASH_INIT2'
        SCOPE khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key)        \
                      ^
<scratch space>:120:1: note: expanded from here
kh_get_pos
^
bam_rmdup.c:12:1: warning: unused function 'kh_del_pos' [-Wunused-function]
./khash.h:510:2: note: expanded from macro 'KHASH_MAP_INIT_INT64'
        KHASH_INIT(name, khint64_t, khval_t, 1, kh_int64_hash_func, kh_int64_hash_equal)
        ^
./khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:131:1: note: expanded from here
kh_del_pos
^
bam_rmdup.c:20:1: warning: unused function 'kh_clear_lib' [-Wunused-function]
KHASH_MAP_INIT_STR(lib, lib_aux_t)
^
./khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:148:1: note: expanded from here
kh_clear_lib
^
bam_rmdup.c:20:1: warning: unused function 'kh_del_lib' [-Wunused-function]
./khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:162:1: note: expanded from here
kh_del_lib
^
4 warnings generated.
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. bam_rmdupse.c -o bam_rmdupse.o
bam_rmdupse.c:18:1: warning: unused function 'kh_clear_best' [-Wunused-function]
KHASH_MAP_INIT_INT(best, elem_p)
^
./khash.h:495:2: note: expanded from macro 'KHASH_MAP_INIT_INT'
        KHASH_INIT(name, khint32_t, khval_t, 1, kh_int_hash_func, kh_int_hash_equal)
        ^
./khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:73:1: note: expanded from here
kh_clear_best
^
bam_rmdupse.c:18:1: warning: unused function 'kh_get_best' [-Wunused-function]
./khash.h:495:2: note: expanded from macro 'KHASH_MAP_INIT_INT'
        KHASH_INIT(name, khint32_t, khval_t, 1, kh_int_hash_func, kh_int_hash_equal)
        ^
./khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./khash.h:186:16: note: expanded from macro 'KHASH_INIT2'
        SCOPE khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key)        \
                      ^
<scratch space>:76:1: note: expanded from here
kh_get_best
^
bam_rmdupse.c:25:1: warning: unused function 'kh_clear_lib' [-Wunused-function]
KHASH_MAP_INIT_STR(lib, lib_aux_t)
^
./khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:104:1: note: expanded from here
kh_clear_lib
^
bam_rmdupse.c:25:1: warning: unused function 'kh_del_lib' [-Wunused-function]
./khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:118:1: note: expanded from here
kh_del_lib
^
4 warnings generated.
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. bam_mate.c -o bam_mate.o
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. bam_stat.c -o bam_stat.o
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. bam_color.c -o bam_color.o
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. bamtk.c -o bamtk.o
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. kaln.c -o kaln.o
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. bam2bcf.c -o bam2bcf.o
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. bam2bcf_indel.c -o bam2bcf_indel.o
bam2bcf_indel.c:32:52: warning: for loop has empty body [-Wempty-body]
                        for (r = p; *r && *r != '\t' && *r != '\n'; ++r); lp = r - p;
                                                                        ^
bam2bcf_indel.c:32:52: note: put the semicolon on a separate line to silence this warning
bam2bcf_indel.c:33:52: warning: for loop has empty body [-Wempty-body]
                        for (r = q; *r && *r != '\t' && *r != '\n'; ++r); lq = r - q;
                                                                        ^
bam2bcf_indel.c:33:52: note: put the semicolon on a separate line to silence this warning
bam2bcf_indel.c:9:1: warning: unused function 'kh_clear_rg' [-Wunused-function]
KHASH_SET_INIT_STR(rg)
^
./khash.h:518:2: note: expanded from macro 'KHASH_SET_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, char, 0, kh_str_hash_func, kh_str_hash_equal)
        ^
./khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:88:1: note: expanded from here
kh_clear_rg
^
bam2bcf_indel.c:9:1: warning: unused function 'kh_del_rg' [-Wunused-function]
./khash.h:518:2: note: expanded from macro 'KHASH_SET_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, char, 0, kh_str_hash_func, kh_str_hash_equal)
        ^
./khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:102:1: note: expanded from here
kh_del_rg
^
bam2bcf_indel.c:92:19: warning: unused function 'est_seqQ' [-Wunused-function]
static inline int est_seqQ(const bcf_callaux_t *bca, int l, int l_run)
                  ^
5 warnings generated.
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. errmod.c -o errmod.o
errmod.c:79:8: warning: self-comparison always evaluates to false [-Wtautological-compare]
        if (m > m) return -1;
              ^
1 warning generated.
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. sample.c -o sample.o
sample.c:5:1: warning: unused function 'kh_clear_sm' [-Wunused-function]
KHASH_MAP_INIT_STR(sm, int)
^
./khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:542:1: note: expanded from here
kh_clear_sm
^
sample.c:5:1: warning: unused function 'kh_del_sm' [-Wunused-function]
./khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
./khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:556:1: note: expanded from here
kh_del_sm
^
2 warnings generated.
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. cut_target.c -o cut_target.o
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. phase.c -o phase.o
phase.c:45:1: warning: unused function 'kh_clear_set64' [-Wunused-function]
KHASH_SET_INIT_INT64(set64)
^
./khash.h:502:2: note: expanded from macro 'KHASH_SET_INIT_INT64'
        KHASH_INIT(name, khint64_t, char, 0, kh_int64_hash_func, kh_int64_hash_equal)
        ^
./khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:32:1: note: expanded from here
kh_clear_set64
^
phase.c:45:1: warning: unused function 'kh_del_set64' [-Wunused-function]
./khash.h:502:2: note: expanded from macro 'KHASH_SET_INIT_INT64'
        KHASH_INIT(name, khint64_t, char, 0, kh_int64_hash_func, kh_int64_hash_equal)
        ^
./khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:46:1: note: expanded from here
kh_del_set64
^
phase.c:46:1: warning: unused function 'kh_clear_64' [-Wunused-function]
KHASH_MAP_INIT_INT64(64, frag_t)
^
./khash.h:510:2: note: expanded from macro 'KHASH_MAP_INIT_INT64'
        KHASH_INIT(name, khint64_t, khval_t, 1, kh_int64_hash_func, kh_int64_hash_equal)
        ^
./khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
./khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:61:1: note: expanded from here
kh_clear_64
^
3 warnings generated.
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. bam2depth.c -o bam2depth.o
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. padding.c -o padding.o
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. bedcov.c -o bedcov.o
bedcov.c:12:1: warning: unused function 'ks_getc' [-Wunused-function]
KSTREAM_INIT(gzFile, gzread, 16384)
^
./kseq.h:146:2: note: expanded from macro 'KSTREAM_INIT'
        __KS_GETC(__read, __bufsize)                            \
        ^
./kseq.h:67:20: note: expanded from macro '__KS_GETC'
        static inline int ks_getc(kstream_t *ks)                                \
                          ^
1 warning generated.
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. bamshuf.c -o bamshuf.o
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. bam_tview_curses.c -o bam_tview_curses.o
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. bam_tview_html.c -o bam_tview_html.o
gcc -g -Wall -O2 -o samtools2SIC bam_tview.o bam_plcmd.o sam_view.o bam_rmdup.o bam_rmdupse.o bam_mate.o bam_stat.o bam_color.o bamtk.o kaln.o bam2bcf.o bam2bcf_indel.o errmod.o sample.o cut_target.o phase.o bam2depth.o padding.o bedcov.o bamshuf.o bam_tview_curses.o bam_tview_html.o  libbam.a -Lbcftools -lbcf  -lcurses  -lm -lz -lpthread
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I.. -I. call1.c -o call1.o
call1.c:17:1: warning: unused function 'ks_getc' [-Wunused-function]
KSTREAM_INIT(gzFile, gzread, 16384)
^
../kseq.h:146:2: note: expanded from macro 'KSTREAM_INIT'
        __KS_GETC(__read, __bufsize)                            \
        ^
../kseq.h:67:20: note: expanded from macro '__KS_GETC'
        static inline int ks_getc(kstream_t *ks)                                \
                          ^
1 warning generated.
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I.. -I. main.c -o main.o
main.c:9:1: warning: unused function 'ks_getc' [-Wunused-function]
KSTREAM_INIT(gzFile, gzread, 0x10000)
^
../kseq.h:146:2: note: expanded from macro 'KSTREAM_INIT'
        __KS_GETC(__read, __bufsize)                            \
        ^
../kseq.h:67:20: note: expanded from macro '__KS_GETC'
        static inline int ks_getc(kstream_t *ks)                                \
                          ^
1 warning generated.
gcc -g -Wall -O2 -o bcftools call1.o main.o ../kstring.o ../bgzf.o ../knetfile.o ../bedidx.o -L.  -lbcf -lm -lz -lpthread
gcc -c -g -Wall -O2 -DMD5SUM_MAIN -o md5sum-lite.o md5.c
md5.c:155:27: warning: 'memset' call operates on objects of type 'struct MD5Context' while the size is based on a different type 'struct MD5Context *' [-Wsizeof-pointer-memaccess]
    memset(ctx, 0, sizeof(ctx));        /* In case it's sensitive */
           ~~~            ^~~
md5.c:155:27: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)?
    memset(ctx, 0, sizeof(ctx));        /* In case it's sensitive */
                          ^~~
1 warning generated.
gcc -g -Wall -O2 -o md5sum-lite md5sum-lite.o
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. md5.c -o md5.o
md5.c:155:27: warning: 'memset' call operates on objects of type 'struct MD5Context' while the size is based on a different type 'struct MD5Context *' [-Wsizeof-pointer-memaccess]
    memset(ctx, 0, sizeof(ctx));        /* In case it's sensitive */
           ~~~            ^~~
md5.c:155:27: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)?
    memset(ctx, 0, sizeof(ctx));        /* In case it's sensitive */
                          ^~~
1 warning generated.
gcc -g -Wall -O2 -c -I.. -o md5fa.o md5fa.c
gcc -g -Wall -O2 -o md5fa md5.o md5fa.o -lz
gcc -g -Wall -O2 -o maq2sam-short maq2sam.c -lz
gcc -g -Wall -O2 -DMAQ_LONGREADS -o maq2sam-long maq2sam.c -lz
gcc -g -Wall -O2 -c -I.. -o ace2sam.o ace2sam.c
ace2sam.c:33:1: warning: unused function 'ks_getc' [-Wunused-function]
KSTREAM_INIT(gzFile, gzread, 16384)
^
../kseq.h:146:2: note: expanded from macro 'KSTREAM_INIT'
        __KS_GETC(__read, __bufsize)                            \
        ^
../kseq.h:67:20: note: expanded from macro '__KS_GETC'
        static inline int ks_getc(kstream_t *ks)                                \
                          ^
1 warning generated.
gcc -g -Wall -O2 -o ace2sam ace2sam.o -lz
gcc -g -Wall -O2 -c -I.. -o wgsim.o wgsim.c
gcc -g -Wall -O2 -o wgsim wgsim.o -lm -lz
gcc -g -Wall -O2 -c -I.. -o bamcheck.o bamcheck.c
bamcheck.c:52:1: warning: unused function 'kh_init_kh_faidx' [-Wunused-function]
KHASH_MAP_INIT_STR(kh_faidx, faidx1_t)
^
../khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
../khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
../khash.h:168:23: note: expanded from macro 'KHASH_INIT2'
        SCOPE kh_##name##_t *kh_init_##name() {                                                         \
                             ^
<scratch space>:10:1: note: expanded from here
kh_init_kh_faidx
^
bamcheck.c:52:1: warning: unused function 'kh_destroy_kh_faidx' [-Wunused-function]
../khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
../khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
../khash.h:171:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_destroy_##name(kh_##name##_t *h)                                          \
                   ^
<scratch space>:15:1: note: expanded from here
kh_destroy_kh_faidx
^
bamcheck.c:52:1: warning: unused function 'kh_clear_kh_faidx' [-Wunused-function]
../khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
../khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
../khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:18:1: note: expanded from here
kh_clear_kh_faidx
^
bamcheck.c:52:1: warning: unused function 'kh_put_kh_faidx' [-Wunused-function]
../khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
../khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
../khash.h:260:16: note: expanded from macro 'KHASH_INIT2'
        SCOPE khint_t kh_put_##name(kh_##name##_t *h, khkey_t key, int *ret) \
                      ^
<scratch space>:27:1: note: expanded from here
kh_put_kh_faidx
^
bamcheck.c:52:1: warning: unused function 'kh_del_kh_faidx' [-Wunused-function]
../khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
../khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
../khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:32:1: note: expanded from here
kh_del_kh_faidx
^
bamcheck.c:53:1: warning: unused function 'kh_init_kh_bam_tid' [-Wunused-function]
KHASH_MAP_INIT_STR(kh_bam_tid, int)
^
../khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
../khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
../khash.h:168:23: note: expanded from macro 'KHASH_INIT2'
        SCOPE kh_##name##_t *kh_init_##name() {                                                         \
                             ^
<scratch space>:39:1: note: expanded from here
kh_init_kh_bam_tid
^
bamcheck.c:53:1: warning: unused function 'kh_destroy_kh_bam_tid' [-Wunused-function]
../khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
../khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
../khash.h:171:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_destroy_##name(kh_##name##_t *h)                                          \
                   ^
<scratch space>:44:1: note: expanded from here
kh_destroy_kh_bam_tid
^
bamcheck.c:53:1: warning: unused function 'kh_clear_kh_bam_tid' [-Wunused-function]
../khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
../khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
../khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:47:1: note: expanded from here
kh_clear_kh_bam_tid
^
bamcheck.c:53:1: warning: unused function 'kh_put_kh_bam_tid' [-Wunused-function]
../khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
../khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
../khash.h:260:16: note: expanded from macro 'KHASH_INIT2'
        SCOPE khint_t kh_put_##name(kh_##name##_t *h, khkey_t key, int *ret) \
                      ^
<scratch space>:56:1: note: expanded from here
kh_put_kh_bam_tid
^
bamcheck.c:53:1: warning: unused function 'kh_del_kh_bam_tid' [-Wunused-function]
../khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
../khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
../khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:61:1: note: expanded from here
kh_del_kh_bam_tid
^
bamcheck.c:54:1: warning: unused function 'kh_clear_kh_rg' [-Wunused-function]
KHASH_MAP_INIT_STR(kh_rg, const char *)
^
../khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
../khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
../khash.h:179:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_clear_##name(kh_##name##_t *h)                                            \
                   ^
<scratch space>:76:1: note: expanded from here
kh_clear_kh_rg
^
bamcheck.c:54:1: warning: unused function 'kh_del_kh_rg' [-Wunused-function]
../khash.h:526:2: note: expanded from macro 'KHASH_MAP_INIT_STR'
        KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)
        ^
../khash.h:307:2: note: expanded from macro 'KHASH_INIT'
        KHASH_INIT2(name, static inline, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
        ^
../khash.h:298:13: note: expanded from macro 'KHASH_INIT2'
        SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                           \
                   ^
<scratch space>:90:1: note: expanded from here
kh_del_kh_rg
^
12 warnings generated.
gcc -g -Wall -O2 -o bamcheck bamcheck.o -L.. -lm -lbam -lpthread -lz
installing via 'install.libs.R' to /Library/Frameworks/R.framework/Versions/4.0/Resources/library/00LOCK-SICtools/00new/SICtools
** R
** inst
** byte-compile and prepare package for lazy loading
Warning: replacing previous import ‘plyr::count’ by ‘matrixStats::count’ when loading ‘SICtools’
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
Warning: replacing previous import ‘plyr::count’ by ‘matrixStats::count’ when loading ‘SICtools’
** testing if installed package can be loaded from final location
Warning: replacing previous import ‘plyr::count’ by ‘matrixStats::count’ when loading ‘SICtools’
** testing if installed package keeps a record of temporary installation path
* DONE (SICtools)

Tests output

SICtools.Rcheck/tests/runTests.Rout


R version 4.0.3 (2020-10-10) -- "Bunny-Wunnies Freak Out"
Copyright (C) 2020 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin17.0 (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.

> ## runTests
> 
> BiocGenerics:::testPackage("SICtools")

Attaching package: 'BiocGenerics'

The following objects are masked from 'package:parallel':

    clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
    clusterExport, clusterMap, parApply, parCapply, parLapply,
    parLapplyLB, parRapply, parSapply, parSapplyLB

The following objects are masked from 'package:stats':

    IQR, mad, sd, var, xtabs

The following objects are masked from 'package:base':

    Filter, Find, Map, Position, Reduce, anyDuplicated, append,
    as.data.frame, basename, cbind, colnames, dirname, do.call,
    duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
    lapply, mapply, match, mget, order, paste, pmax, pmax.int, pmin,
    pmin.int, rank, rbind, rownames, sapply, setdiff, sort, table,
    tapply, union, unique, unsplit, which, which.max, which.min


Attaching package: 'S4Vectors'

The following object is masked from 'package:base':

    expand.grid


Attaching package: 'Biostrings'

The following object is masked from 'package:base':

    strsplit


Attaching package: 'plyr'

The following object is masked from 'package:matrixStats':

    count

The following object is masked from 'package:XVector':

    compact

The following object is masked from 'package:IRanges':

    desc

The following object is masked from 'package:S4Vectors':

    rename

[1] "chr07"  "828636" "G"     
[1] "chr07"  "828714" "C"     
[1] "chr04 1 1531933"
[1] "chr04 962501 1026983"


RUNIT TEST PROTOCOL -- Sat Oct 17 05:22:05 2020 
*********************************************** 
Number of test functions: 2 
Number of errors: 0 
Number of failures: 0 

 
1 Test Suite : 
SICtools RUnit Tests - 2 test functions, 0 errors, 0 failures
Number of test functions: 2 
Number of errors: 0 
Number of failures: 0 
Warning message:
replacing previous import 'plyr::count' by 'matrixStats::count' when loading 'SICtools' 
> 
> 
> 
> 
> proc.time()
   user  system elapsed 
  7.800   0.615   8.325 

Example timings

SICtools.Rcheck/SICtools-Ex.timings

nameusersystemelapsed
indelDiff0.5580.0560.623
snpDiff0.2070.0140.224