How to install vt software
This article mainly introduces how to install vt software, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.
Vt installation
The software installation documentation is simple: https://genome.sph.umich.edu/wiki/Vt#Installation
# this will create a directory named vt in the directory you cloned the repository 1. Git clone https://github.com/atks/vt.git # change directory to vt 2. Cd vt # run make, note that compilers need to support the cantilever 0x standard 3. Make # you can test the build 4. Make test reported error 1:gcc-g-Wall-O2-I. -c-o cram/cram_index.o cram/cram_index.cgcc-g-Wall-O2-I. -c-o cram/cram_io.o cram/cram_io.ccram/cram_io.c:61:18: error: lzma.h: No such file or directorycram/cram_io.c: In function 'lzma_mem_deflate':cram/cram_io.c:678: warning: implicit declaration of function' lzma_stream_buffer_bound'cram/cram_io.c:684: error: 'LZMA_OK' undeclared (first use in this function) cram/cram_io.c:684: error: (Each undeclared identifier is reported only oncecram/cram_io.c:684: error: for each function it appears in.) cram/cram_io.c:684: warning: implicit declaration of function 'lzma_easy_buffer_encode'cram/cram_io.c:684: error:' LZMA_CHECK_CRC32' undeclared (first use in this function) cram/cram_io.c: In function 'lzma_mem_inflate':cram/cram_io.c:694: error:' lzma_stream' undeclared (first Use in this function) cram/cram_io.c:694: error: expected' 'before' strm'cram/cram_io.c:700: error: 'LZMA_OK' undeclared (first use in this function) cram/cram_io.c:700: warning: implicit declaration of function' lzma_stream_decoder'cram/cram_io.c:700: error: 'strm' undeclared (first use in this function) cram/cram_io.c:700: warning: implicit declaration of function' lzma_easy_decoder_memusage'cram/cram_io.c:715: warning: implicit declaration of function' Lzma_code'cram/cram_io.c:715: error: 'LZMA_RUN' undeclared (first use in this function) cram/cram_io.c:716: error:' LZMA_STREAM_END' undeclared (first use in this function) cram/cram_io.c:728: error: 'LZMA_FINISH' undeclared (first use in this function) cram/cram_io.c:737: warning: implicit declaration of function' lzma_end'make [1]: * * [cram/cram_ Io.o] Error 1make [1]: Leaving directory `/ share/work/biosoft/vt/vt-0.57721/lib/htslib'make: * [lib/htslib/libhts.a] Error 1
This is because the include of xz software cannot be found in make htslib. Find the Makefile: vi lib/htslib/Makefile of htslib and add the following:
-I/share/work/biosoft/xz/xz-v5.2.3/include/
Continue make after saving.
2:svm_train.cpp: In member function 'void::Igor::inverse_normalize (std::vector)