Compiling and Installing FASTA
Procedure
- Use PuTTY to log in to the server as the root user.
- Decompress the installation package.
tar -xvf fasta36-36.3.8h_04-May-2020.tar.gz unzip sse2neon-master.zip
- Go to the directory generated after the decompression.
cp sse2neon-master/sse2neon.h /path/to/FASTA/fasta36-36.3.8h_04-May-2020/src/ cd /path/to/FASTA/fasta36-36.3.8h_04-May-2020/make
- Modify the Makefile.linux64_sse2 file.
- Open Makefile.linux64_sse2.
vim Makefile.linux64_sse2
- Press i to enter the insert mode and modify the file as follows:
13 SHELL=/bin/bash 14 15 CC = gcc -g -O2 -march=armv8.2-a 16 LIB_DB=
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Open Makefile.linux64_sse2.
- Go to the src directory.
cd ../src
- Modify the smith_waterman_sse2.c file.
- Open smith_waterman_sse2.c.
vim smith_waterman_sse2.c
- Press i to enter the insert mode and modify the file as follows:
23 #include "sse2neon.h" 24 #endif
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Open smith_waterman_sse2.c.
- Modify the global_sse2.c file.
- Open global_sse2.c.
vim global_sse2.c
- Press i to enter the insert mode and modify the file as follows:
21 #else 22 #include "sse2neon.h" 23 #endif
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Open global_sse2.c.
- Modify the glocal_sse2.c file.
- Open glocal_sse2.c.
vim glocal_sse2.c
- Press i to enter the insert mode and modify the file as follows:
21 #else 22 #include "sse2neon.h" 23 #endif
- Press Esc, type :wq!, and press Enter to save the file and exit.
- Open glocal_sse2.c.
- Perform the compilation and installation.
make -f ../make/Makefile.linux64_sse2
- Go to the data directory.
cd /path/to/FASTA/fasta36-36.3.8h_04-May-2020/data
Parent topic: FASTA 36.3.8 Porting Guide (CentOS 7.6)