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 2.7 interpreter
- zlib developer files
- a compiled version of samtools (>=1.1)
- a compiled version of htslib (>= 1.1; use the one that comes bundled with samtools!)
- Clone the repo (or download the current master as zip package and unpack)
- Run
./bootstrapto set up the required automake files- If you get an error like
required file './ltmain.sh' not found, runlibtoolize(orglibtoolize) first and thenbootstrapagain - Subsequent pulls won't require rerunning
./bootstrap. This is only necesary when changingconfigure.acor any of theMakefile.am
- If you get an error like
- Run
./configurewith the absolute path to samtools and htslib (e.g../configure SAMTOOLS=/path-to-samtools HTSLIB=/path-to-htslib [--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 installto properly install the package- Default is
/usr/local/. If--prefixwas 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
lofreqon the command line will display a list of subcommands lofreq cmdwill 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)