Skip to main content

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.

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

If you're not sure about the file name format, learn more about wheel file names.

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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 files

0.0.19

2 files

0.0.18

2 files

0.0.17

2 files

0.0.16

2 files

0.0.15

2 files

0.0.14

2 files

0.0.13

2 files

0.0.12

2 files

0.0.11

2 files

0.0.10

2 files

0.0.9

2 files

0.0.8

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.1

2 files

0.0.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page