Installation

You can install pyfastx via the Python Package Index (PyPI) (recommended) or from source.

Make sure you have installed both pip and Python before starting.

Currently, pyfastx supports Python 3.5, 3.6, 3.7, 3.8, 3.9 and can work on Windows, Linux, MacOS.

Warning

Python 2.7 has been retired. Python 3.4 has now reached its end-of-life and has been retired

Install from PyPI

pip install pyfastx

Update pyfastx using pip

pip install -U pyfastx

Install from source

pyfastx depends on zlib and sqlite3. If you want to compile and install pyfastx from source code. First, you should install zlib and sqlite3.

On Centos

yum install zlib-devel
yum install sqlite-devel

On Ubuntu

apt install zlib1g-dev
apt install libsqlite3-dev

On MacOS

brew install zlib
brew install sqlite3

Second, clone pyfastx using git or download latest release:

git clone https://github.com/lmdu/pyfastx.git

Then, cd to the pyfastx folder and run install command:

cd pyfastx
python setup.py install