Skip to main content

reverse and/or complement dna sequence

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

revseq-1.2.0.tar.gz (16.0 kB view details)

Uploaded Source

Built Distribution

revseq-1.2.0-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file revseq-1.2.0.tar.gz.

File metadata

  • Download URL: revseq-1.2.0.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.17.1 CPython/3.12.4 Darwin/23.5.0

File hashes

Hashes for revseq-1.2.0.tar.gz
Algorithm Hash digest
SHA256 3838d990c4db3871bae83dc322a72c7c2e6dea64950a16036da2ff7043a83af7
MD5 53936d5a3b8bb007933a58336e9e3b7b
BLAKE2b-256 420941bf8201a2473d7a87c64cb7dff1a5257ece5e09404e4c79a0ebcdec62ee

See more details on using hashes here.

File details

Details for the file revseq-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: revseq-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 16.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.17.1 CPython/3.12.4 Darwin/23.5.0

File hashes

Hashes for revseq-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5d112f33103224d1f9ec90538ae04e374e62baecd5e4d99196cfa13a2305087b
MD5 a2ed7e62faca13962e535796d75e3511
BLAKE2b-256 cc409de0801bea09c3f0df33288db2c81672682ffbb180b2cede6cd04a5cc739

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page