Skip to main content

DNA string to k-mers

Project description

DNA string k-mer generator

Example:

def dna_token(dna_string, kmer, step)


dna = "ACTGTCGTACAGTGACCAGTGGTAGT"
    kmerized_dna = dna_token(dna, 5, 1)

ACTGTCGTACAGTGACCAGTGGTAGT
ACTGT CTGTC TGTCG GTCGT TCGTA CGTAC GTACA TACAG ACAGT CAGTG AGTGA GTGAC TGACC GACCA ACCAG CCAGT CAGTG AGTGG GTGGT TGGTA GGTAG GTAGT

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

dna_kmer-0.0.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

dna_kmer-0.0.1-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file dna_kmer-0.0.1.tar.gz.

File metadata

  • Download URL: dna_kmer-0.0.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.4

File hashes

Hashes for dna_kmer-0.0.1.tar.gz
Algorithm Hash digest
SHA256 46a5551a9a865041bfe36a5a5dd3bb4b3dab9e81f44c9a5403ecd6a9620b1ce7
MD5 b6c625f1202de3d3ebc9cc4d7fec3184
BLAKE2b-256 a211c4d60ac70a72d8281012f3d63d40f417902a7aef327b0c6a29359d5ce58c

See more details on using hashes here.

File details

Details for the file dna_kmer-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: dna_kmer-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.4

File hashes

Hashes for dna_kmer-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e47edd9c5ceb5eee591461e946887b88a9ae546cd90c62546f2c08d5410b22a1
MD5 6305ed8024a300d59db7a4e4b5722927
BLAKE2b-256 40ec21c07c9b9758ed44b14cd536c44c871f6cd7e3cfeed0ceb40abd64cec08a

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