Installation#

System requirements#

Software dependency

  • python >= 3.8.0

  • numpy >= 1.22.0

  • gffutils >= 0.10.1

  • biopython>=1.76

  • cigar >= 0.1.3

  • parasail>=1.2.4

  • intervaltree>=3.1.0

  • networkx>=2.4

  • interlap>=0.2.6

  • miniprot >= 0.10.0

  • pyfaidx>=0.5.8

  • pysam>=0.19.1

  • ujson>=3.2.0

These dependencies will be automatically installed when you install LiftOn through pip or conda. The only exception is miniprot. Since miniprot is not on PyPi, you will need to install it manually. Please check out the miniprot installation guide on GitHub.

Version warning

If your numpy version is >= 1.25.0, then it requires Python version >= 3.9.

Check out the scientific python ecosystem coordination guideline SPEC 0 — Minimum Supported Versions to configure the package version compatibility.


There are three ways that you can install LiftOn:

Install through pip#

LiftOn is on PyPi now. Check out all the releases here. Pip automatically resolves and installs any dependencies required by LiftOn.

$ pip install LiftOn

Install through conda#

Installing LiftOn through bioconda. It will also automatically install all the dependencies required by LiftOn.

TBC

$ conda install -c bioconda lifton

Install from source#

You can also install LiftOn from source. Check out the latest version on GitHub !

$ git clone https://github.com/Kuanhao-Chao/LiftOn

$ python setup.py install

Check LiftOn installation#

Run the following command to make sure LiftOn is properly installed:

$ lifton -h

Now, you are ready to go !#

Please continue to the Quick Start Guide.