I'm using CentOs 7 with gcc version 8.3.0 to install spp version 1.6 package. Even though the packages was installed, it reported some warnings. The installation code is shown below
`Warning in untar2(tarfile, files, list, exdir, restore_times) :
skipping pax global extended headers
- installing to library ‘/home/hyu/R/lib64/R/library’
- installing source package ‘spp’ ...
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for BZ2_bzDecompressInit in -lbz2... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking how to run the C++ preprocessor... g++ -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for Boost headers version >= 1.41.0... yes
checking for Boost's header version... 1_53
configure: creating ./config.status
config.status: creating src/Makevars
** libs
g++ -I/home/hyu/R/lib64/R/include -DNDEBUG -I/usr/local/include -I./ -D_FASTMAP -DMAQ_LONGREADS -std=c++11 -fpic -g -O2 -c bed2vector.cpp -o bed2vector.o
gcc -std=gnu99 -I/home/hyu/R/lib64/R/include -DNDEBUG -I/usr/local/include -I./ -D_FASTMAP -DMAQ_LONGREADS -fpic -g -O2 -c cdensum.c -o cdensum.o
cdensum.c:7:14: warning: extra tokens at end of #undef directive
#undef DEBUG 1
^
gcc -std=gnu99 -I/home/hyu/R/lib64/R/include -DNDEBUG -I/usr/local/include -I./ -D_FASTMAP -DMAQ_LONGREADS -fpic -g -O2 -c maqmap.c -o maqmap.o
g++ -I/home/hyu/R/lib64/R/include -DNDEBUG -I/usr/local/include -I./ -D_FASTMAP -DMAQ_LONGREADS -std=c++11 -fpic -g -O2 -c maqread.cpp -o maqread.o
g++ -I/home/hyu/R/lib64/R/include -DNDEBUG -I/usr/local/include -I./ -D_FASTMAP -DMAQ_LONGREADS -std=c++11 -fpic -g -O2 -c peaks.cpp -o peaks.o
g++ -I/home/hyu/R/lib64/R/include -DNDEBUG -I/usr/local/include -I./ -D_FASTMAP -DMAQ_LONGREADS -std=c++11 -fpic -g -O2 -c wdl.cpp -o wdl.o
g++ -shared -L/home/hyu/R/lib64/R/lib -L/usr/local/lib64 -o spp.so bed2vector.o cdensum.o maqmap.o maqread.o peaks.o w dl.o -lbz2 -lz -L/home/hyu/R/lib64/R/lib -lR
installing to /home/hyu/R/lib64/R/library/spp/libs
** R
** preparing package for lazy loading
** help
Warning: /tmp/RtmpZaUhQX/R.INSTALL81ee4f48b99d/spp-1.15.1/man/find.binding.positions.Rd:100: unknown macro '\item'
Warning: /tmp/RtmpZaUhQX/R.INSTALL81ee4f48b99d/spp-1.15.1/man/find.binding.positions.Rd:101: unknown macro '\item'
Warning: /tmp/RtmpZaUhQX/R.INSTALL81ee4f48b99d/spp-1.15.1/man/find.binding.positions.Rd:102: unknown macro '\item'
Warning: /tmp/RtmpZaUhQX/R.INSTALL81ee4f48b99d/spp-1.15.1/man/find.binding.positions.Rd:103: unknown macro '\item'
Warning: /tmp/RtmpZaUhQX/R.INSTALL81ee4f48b99d/spp-1.15.1/man/find.binding.positions.Rd:105: unknown macro '\item'
Warning: /tmp/RtmpZaUhQX/R.INSTALL81ee4f48b99d/spp-1.15.1/man/find.binding.positions.Rd:109: unknown macro '\item'
Warning: bad markup (extra space?) at get.binding.characteristics.Rd:42:13
Warning: bad markup (extra space?) at get.binding.characteristics.Rd:44:32
Warning: bad markup (extra space?) at get.binding.characteristics.Rd:48:28
Warning: bad markup (extra space?) at get.binding.characteristics.Rd:52:22
Warning: /tmp/RtmpZaUhQX/R.INSTALL81ee4f48b99d/spp-1.15.1/man/output.binding.results.Rd:9: unknown macro '\item'
Warning: /tmp/RtmpZaUhQX/R.INSTALL81ee4f48b99d/spp-1.15.1/man/output.binding.results.Rd:10: unknown macro '\item'
Warning: /tmp/RtmpZaUhQX/R.INSTALL81ee4f48b99d/spp-1.15.1/man/output.binding.results.Rd:11: unknown macro '\item'
Warning: /tmp/RtmpZaUhQX/R.INSTALL81ee4f48b99d/spp-1.15.1/man/output.binding.results.Rd:12: unknown macro '\item'
Warning: /tmp/RtmpZaUhQX/R.INSTALL81ee4f48b99d/spp-1.15.1/man/output.binding.results.Rd:13: unknown macro '\item'
Warning: /tmp/RtmpZaUhQX/R.INSTALL81ee4f48b99d/spp-1.15.1/man/output.binding.results.Rd:14: unknown macro '\item'
Warning: /tmp/RtmpZaUhQX/R.INSTALL81ee4f48b99d/spp-1.15.1/man/output.binding.results.Rd:15: unknown macro '\item'
*** installing help indices
** building package indices
** testing if installed package can be loaded
- DONE (spp)`
And then I use the read.bam.tags function to read a bam file. However, tags of the object from the function were all identify as positive strand. The results was showed below:
`
which(chip.data[["tags"]]$chr01 < 0)
integer(0)`
so how to solve the problem?
Best Regards!
Liquan
I'm using CentOs 7 with gcc version 8.3.0 to install spp version 1.6 package. Even though the packages was installed, it reported some warnings. The installation code is shown below
`Warning in untar2(tarfile, files, list, exdir, restore_times) :
skipping pax global extended headers
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for BZ2_bzDecompressInit in -lbz2... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking how to run the C++ preprocessor... g++ -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for Boost headers version >= 1.41.0... yes
checking for Boost's header version... 1_53
configure: creating ./config.status
config.status: creating src/Makevars
** libs
g++ -I/home/hyu/R/lib64/R/include -DNDEBUG -I/usr/local/include -I./ -D_FASTMAP -DMAQ_LONGREADS -std=c++11 -fpic -g -O2 -c bed2vector.cpp -o bed2vector.o
gcc -std=gnu99 -I/home/hyu/R/lib64/R/include -DNDEBUG -I/usr/local/include -I./ -D_FASTMAP -DMAQ_LONGREADS -fpic -g -O2 -c cdensum.c -o cdensum.o
cdensum.c:7:14: warning: extra tokens at end of #undef directive
#undef DEBUG 1
^
gcc -std=gnu99 -I/home/hyu/R/lib64/R/include -DNDEBUG -I/usr/local/include -I./ -D_FASTMAP -DMAQ_LONGREADS -fpic -g -O2 -c maqmap.c -o maqmap.o
g++ -I/home/hyu/R/lib64/R/include -DNDEBUG -I/usr/local/include -I./ -D_FASTMAP -DMAQ_LONGREADS -std=c++11 -fpic -g -O2 -c maqread.cpp -o maqread.o
g++ -I/home/hyu/R/lib64/R/include -DNDEBUG -I/usr/local/include -I./ -D_FASTMAP -DMAQ_LONGREADS -std=c++11 -fpic -g -O2 -c peaks.cpp -o peaks.o
g++ -I/home/hyu/R/lib64/R/include -DNDEBUG -I/usr/local/include -I./ -D_FASTMAP -DMAQ_LONGREADS -std=c++11 -fpic -g -O2 -c wdl.cpp -o wdl.o
g++ -shared -L/home/hyu/R/lib64/R/lib -L/usr/local/lib64 -o spp.so bed2vector.o cdensum.o maqmap.o maqread.o peaks.o w dl.o -lbz2 -lz -L/home/hyu/R/lib64/R/lib -lR
installing to /home/hyu/R/lib64/R/library/spp/libs
** R
** preparing package for lazy loading
** help
Warning: /tmp/RtmpZaUhQX/R.INSTALL81ee4f48b99d/spp-1.15.1/man/find.binding.positions.Rd:100: unknown macro '\item'
Warning: /tmp/RtmpZaUhQX/R.INSTALL81ee4f48b99d/spp-1.15.1/man/find.binding.positions.Rd:101: unknown macro '\item'
Warning: /tmp/RtmpZaUhQX/R.INSTALL81ee4f48b99d/spp-1.15.1/man/find.binding.positions.Rd:102: unknown macro '\item'
Warning: /tmp/RtmpZaUhQX/R.INSTALL81ee4f48b99d/spp-1.15.1/man/find.binding.positions.Rd:103: unknown macro '\item'
Warning: /tmp/RtmpZaUhQX/R.INSTALL81ee4f48b99d/spp-1.15.1/man/find.binding.positions.Rd:105: unknown macro '\item'
Warning: /tmp/RtmpZaUhQX/R.INSTALL81ee4f48b99d/spp-1.15.1/man/find.binding.positions.Rd:109: unknown macro '\item'
Warning: bad markup (extra space?) at get.binding.characteristics.Rd:42:13
Warning: bad markup (extra space?) at get.binding.characteristics.Rd:44:32
Warning: bad markup (extra space?) at get.binding.characteristics.Rd:48:28
Warning: bad markup (extra space?) at get.binding.characteristics.Rd:52:22
Warning: /tmp/RtmpZaUhQX/R.INSTALL81ee4f48b99d/spp-1.15.1/man/output.binding.results.Rd:9: unknown macro '\item'
Warning: /tmp/RtmpZaUhQX/R.INSTALL81ee4f48b99d/spp-1.15.1/man/output.binding.results.Rd:10: unknown macro '\item'
Warning: /tmp/RtmpZaUhQX/R.INSTALL81ee4f48b99d/spp-1.15.1/man/output.binding.results.Rd:11: unknown macro '\item'
Warning: /tmp/RtmpZaUhQX/R.INSTALL81ee4f48b99d/spp-1.15.1/man/output.binding.results.Rd:12: unknown macro '\item'
Warning: /tmp/RtmpZaUhQX/R.INSTALL81ee4f48b99d/spp-1.15.1/man/output.binding.results.Rd:13: unknown macro '\item'
Warning: /tmp/RtmpZaUhQX/R.INSTALL81ee4f48b99d/spp-1.15.1/man/output.binding.results.Rd:14: unknown macro '\item'
Warning: /tmp/RtmpZaUhQX/R.INSTALL81ee4f48b99d/spp-1.15.1/man/output.binding.results.Rd:15: unknown macro '\item'
*** installing help indices
** building package indices
** testing if installed package can be loaded
And then I use the read.bam.tags function to read a bam file. However, tags of the object from the function were all identify as positive strand. The results was showed below:
`
so how to solve the problem?
Best Regards!
Liquan