Skip to content

Simple little script to produce the reverse complement of a string

License

Notifications You must be signed in to change notification settings

milescsmith/revseq

Repository files navigation

revseq

A simple script to generate the (reverse) (complement) of a sequence

Status Python Version License

Tests Codecov

pre-commit Black

Repobeats analytics image

Requirements

  • Python 3.10 or higher
  • typer
  • icontract
  • rich
  • typeguard

Installation

You can install revseq via pip:

$ pip install revseq

or the latest development version from Github:

$ pip install git+https://github.com/milescsmith/revseq

Usage

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)

Contributing

Contributions are very welcome. To learn more, see the Contributor Guide.

License

Distributed under the terms of the GPL 3.0 license, revseq is free and open source software.

Issues

If you encounter any problems, please file an issue along with a detailed description.

Credits

About

Simple little script to produce the reverse complement of a string

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages