A simple script to generate the (reverse) (complement) of a sequence
- Python 3.10 or higher
- typer
- icontract
- rich
- typeguard
You can install revseq via pip:
$ pip install revseq
or the latest development version from Github:
$ pip install git+https://github.com/milescsmith/revseq
By default, the reverse complement is returned.
revseq "aaggctt"
Alternatively, can use within another module or the Python REPL
from revseq import revseq
revseq("aaggctt", rev=True, comp=True)
Contributions are very welcome. To learn more, see the Contributor Guide.
Distributed under the terms of the GPL 3.0 license, revseq is free and open source software.
If you encounter any problems, please file an issue along with a detailed description.