User Tools

Site Tools


wiki:software:fastp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
wiki:software:fastp [2023/04/06 14:44] – created keistcwiki:software:fastp [2024/03/22 16:20] (current) keistc
Line 1: Line 1:
 ====== Fastp Install ====== ====== Fastp Install ======
-Compiling from source requires two libraries: libdeflate and libisal. Source code is [[https://github.com/OpenGene/fastp#get-fastp|here]]\\+Compiling from source requires three libraries: libdeflatelibisal and libtool. In addition, cmake is required as well.\\ 
 +Source code for libtool [[https://www.gnu.org/software/libtool/|here]]\\
 libisal requires nasm to compile [[https://www.nasm.us/|here]]\\ libisal requires nasm to compile [[https://www.nasm.us/|here]]\\
-1. In the source folder run+1. For nasm cd to the source folder run
   configure --prefix=/home/.hub_local   configure --prefix=/home/.hub_local
   make   make
   make install   make install
-2. download and build libisal+2. Download and build libtool, cd to source folder 
 +  ./configure --prefix=/home/.hub_local 
 +  make 
 +  make install 
 +   
 +3. download and build libisal
   git clone https://github.com/intel/isa-l.git   git clone https://github.com/intel/isa-l.git
   mkdir /home/.hub_local/lib64   mkdir /home/.hub_local/lib64
Line 14: Line 20:
   make   make
   sudo make install   sudo make install
 +The above didn't work. Try the following:
 +  make -f Makefile.ux
 +Then copy the libisal.so in the bin folder to the /home/.hub_local/lib folder. In the /home/.hub_local/lib folder do
 +  ln libisal.so libisal.so.2 
 3. download and build libdeflate  3. download and build libdeflate 
   git clone https://github.com/ebiggers/libdeflate.git   git clone https://github.com/ebiggers/libdeflate.git
Line 19: Line 29:
   cmake -B build   cmake -B build
   cmake --build build   cmake --build build
 +  cmake --install-prefix=/home/.hub_local build
   cmake --install build   cmake --install build
 +4. download and build fast 
 +  git clone https://github.com/OpenGene/fastp.git 
 +Need to edt the Make file in the fastp folder and set the following lines: 
 +  PREFIX ?= /home/.hub_local 
 +  BINDIR ?= $(PREFIX)/bin 
 +  INCLUDE_DIRS ?=  /home/.hub_local/include 
 +  LIBRARY_DIRS ?= /home/.hub_local/lib64 /home/.hub_local/lib 
 +Then compile 
 +  # build 
 +  cd fastp 
 +  make 
 +  # Install 
 +  make install 
 +To run the binary you need to set the library path in the /home/.hub_local/autosourced_by_bashrcs file. Add the following line to the end of the file. 
 +  export LD_LIBRARY_PATH=/home/.hub_local/lib64
      
 That should do it. That should do it.
wiki/software/fastp.1680817456.txt.gz · Last modified: 2023/04/06 14:44 by keistc

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki