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.

Metadata

Release files for ntai 1.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 ntai 1.0.0
File Size Uploaded
ntai-1.0.0.tar.gz 14.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ntai 1.0.0
File Interpreter ABI Platform
ntai-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 32.6 kB

Release files / ntai-1.0.0.tar.gz

Download URL ntai-1.0.0.tar.gz
Size 14.3 kB
Tags Source
SHA-256 checksum
How to use checksums
624cbb541e671d87dff05c400712ef534833bbcf6fc1a8e89afab8f34b7b13b7
BLAKE2b-256 checksum
How to use checksums
400164a413986f3e9966b96ce682d453eeefa4d144b411d5ede8660ac4993b3a
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / ntai-1.0.0-py3-none-any.whl

Download URL ntai-1.0.0-py3-none-any.whl
Size 18.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bf702aa16d923878554b4f3d4d0ecc09ba8f0faba84ffcc54983148a5c739c97
BLAKE2b-256 checksum
How to use checksums
8bbea741791005c350c8cf70b4cef6dd1ee8f9cfbe8ead6c367847ee4d5f06fe
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.0.19

2 release files

0.0.18

2 release files

0.0.17

2 release files

0.0.16

2 release files

0.0.15

2 release files

0.0.12

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.1

2 release files

0.0.0

2 release files

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