Tools for sequence and alignment manipulation
seqtools is a set of Python libraries for manipulating sequence data and generating sequence alignments. Many of the functions and classes within are derived from the excellent galaxy-tools libraries (Blankenberg et al.), but modified to use numpy for storing quality values, etcetera. There are also functions for working with lastz and some general functions for parsing arguments and validating input.
Generally speaking, this is a utility library that we use in other programs on which we work. Thus, it’s commonly a dependency of many of these packages.
tar -xzvf ~/your/download/location/seqtools-*.tar.gz python setup.py install
pip install seqtools
While several of the functions and classes within seqtools are not (yet) fully tested, ALL of the sequence-handling classes, methods, and functions are covered by unittests.
>>> from seqtools import sequence >>> sequence.test()
Alternatively, you can run::
python setup.py test