Skip to main content

Nucleotide A.I.

Project description

ntai

ntai stands for nucleotide (nt) artificial intelligence (A.I.). ntai is a small python library for using fasta sequences with artificial intelligence (A.I.).

Currently there are two main modules that will be of use

  1. Codex, and
  2. bedtools

Read the documentation: https://sumneuron.gitlab.io/ntai/

Codex

Codex is a class for hot-encoding fasta sequences into channels and back. Codex is useful because a character in a fasta sequences can encode multiple nucleotides or even random repeats.

bedtools

bedtools is a function exposing the bedtools library to python. This allows users to extract fasta sequences from a reference genome with writing to / reading from files.

fetch

fetch is a module for fetching the necessary data for using ntai. Currently fetch.utils supports the requests for:

  • fetch_hg38 acquires the fasta for hg38 gzipped

  • fetch_exons acquires Gencode Comprehensive v28 exons in bed format

  • fetch_introns acquires Gencode Comprehensive v28 introns in bed format

  • fetch_hg38_chrom_sizes acquires the chromosome sizes for hg38 in tsv format

  • decompress will decompress a .gz file

The function fetch.fetch_files will get all of these files and decompress hg38 in a specified directory.

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

ntai-1.0.0.tar.gz (14.3 kB view details)

Uploaded Source

Built Distribution

ntai-1.0.0-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

Details for the file ntai-1.0.0.tar.gz.

File metadata

  • Download URL: ntai-1.0.0.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.2.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6

File hashes

Hashes for ntai-1.0.0.tar.gz
Algorithm Hash digest
SHA256 624cbb541e671d87dff05c400712ef534833bbcf6fc1a8e89afab8f34b7b13b7
MD5 32577e0792547a6dad9e9743bf1e3ae1
BLAKE2b-256 400164a413986f3e9966b96ce682d453eeefa4d144b411d5ede8660ac4993b3a

See more details on using hashes here.

File details

Details for the file ntai-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: ntai-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 18.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.2.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6

File hashes

Hashes for ntai-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bf702aa16d923878554b4f3d4d0ecc09ba8f0faba84ffcc54983148a5c739c97
MD5 f9285836d843836428d2cce6d34160f9
BLAKE2b-256 8bbea741791005c350c8cf70b4cef6dd1ee8f9cfbe8ead6c367847ee4d5f06fe

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