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
Codex, andbedtools
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_hg38acquires the fasta for hg38 gzipped -
fetch_exonsacquires Gencode Comprehensive v28 exons in bed format -
fetch_intronsacquires Gencode Comprehensive v28 introns in bed format -
fetch_hg38_chrom_sizesacquires the chromosome sizes for hg38 in tsv format -
decompresswill decompress a.gzfile
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)
| File | Size | Uploaded | |
|---|---|---|---|
| ntai-1.0.0.tar.gz | 14.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|