Skip to main content

kbkdna — Simple tools for working with DNA

When doing biology, sometimes you just need to quickly know how long a DNA sequence is, or what its reverse complement is. There are lots of tools out there that can tell you these things, but they often do a lot more than that too and can be overkill for really quick questions. In contrast, this package provides an easy-to-use command-line app that’s just designed to give simple answers to simple questions.

https://img.shields.io/pypi/v/kbkdna.svg https://img.shields.io/pypi/pyversions/kbkdna.svg https://img.shields.io/travis/kalekundert/kbkdna.svg https://readthedocs.org/projects/kbkdna/badge/?version=latest

Installation

You can install kbkdna from PyPI using pip:

$ pip install kbkdna

Usage

The command-line application that gets installed is called dna. You can use the --help flag to get information on the kinds of things it can calculate:

$ dna --help

You can use the len command to get the length of a DNA sequence:

$ dna len CATCTAATTCAACAAGAATT
20

You can use the rc command to get the reverse complement of a DNA sequence:

$ dna rc CATCTAATTCAACAAGAATT
AATTCTTGTTGAATTAGATG

You can use the gc command to calculate the GC content of a DNA sequence:

$ dna gc CATCTAATTCAACAAGAATT
25.0%

Metadata

Release files for kbkdna 0.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kbkdna 0.0.0
File Size Uploaded Provenance Actions
kbkdna-0.0.0.tar.gz 1.9 kB Without provenance Details for kbkdna-0.0.0.tar.gz

Release files / kbkdna-0.0.0.tar.gz

Download URL kbkdna-0.0.0.tar.gz
Size 1.9 kB
Tags Source
SHA-256 checksum
How to use checksums
643d752d513259eb91d7ee4237178e4c04912e7adec76ff6707f39aa875df05f
BLAKE2b-256 checksum
How to use checksums
bf67a434b4649c18f0d9e67581dd5878b24763c73d969c2eb9c8f025b2daeb14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for kbkdna 0.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page