Skip to main content

Nucleotide A.I.

Project description


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


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 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 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.

Files for ntai, version 0.0.19
Filename, size File type Python version Upload date Hashes
Filename, size ntai-0.0.19-py3-none-any.whl (22.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size ntai-0.0.19.tar.gz (13.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page