Most users will want to use either the binary or the source-code package. Both are distributed via LoFreq's Sourceforge site. The source hosted here on github is mainly for developers!
You will need:
- a C compiler (e.g. gcc or clang)
- a Python 3 interpreter
- zlib developer filesi (zlib1g-dev on Ubuntu)
- a compiled version of HTSlib 1.4 or later
- Clone the repo (or download the current master as zip package and unpack)
- Run
./bootstrap
to set up the required automake files- If you get an error like
required file './ltmain.sh' not found
, runlibtoolize
(orglibtoolize
) first and thenbootstrap
again - Subsequent pulls won't require rerunning
./bootstrap
. This is only necesary when changingconfigure.ac
or any of theMakefile.am
- If you get an error like
- Run
./configure
with the absolute path to HTSlib (e.g../configure --with-htslib=/home/user/miniconda [--prefix=inst-path]
) - Run
make
- At this point you can already start using lofreq:
./bin/lofreq
- At this point you can already start using lofreq:
- Run
make install
to properly install the package- Default is
/usr/local/
. If--prefix
was given toconfigure
, the corresponding argument is used - Depending on the used prefix you might need to adjust your PATH (and PYTHONPATH).
- Default is
- Simply calling
lofreq
on the command line will display a list of subcommands lofreq cmd
will then display help forcmd
- See LoFreq's website for full documentation
LoFreq is licensed under the MIT License (see LICENSE).
Licenses for third party software that is part of the source:
- cdflib90 (see src/cdflib90.README)
- uthash (see src/uthash/LICENSE)