DNA, RNA, and amino acid sequence types and functions
Project description
Nucleic Acid Sequence tools
This Rust and Python library contains types and functions used for performing operations on DNA and amino acid sequences.
Its most fundamental types are the Nucleotide and AminoAcid enums, representing a single DNA nucleotide,
and single amino acid respectively. This library is general, and intended to be used by any program or library
that uses DNA sequences. It also includes an Element enum, with parameters associated with each element.
It includes functions to convert between &[Nucleotide] to string and vice-versa, and convert to and from u8
representations of the UTF-8 characters. It includes functions to serialize and deserialize in a compact binary
format, with 2 bits per nucleotide.
It includes forcefield-parameter amino acid variants, as used by Amber as the AminoAcidProtenationVariant enum.
Basic types impl Display and ToStr, with variants in some cases, e.g. to display an AA as a single letter,
or 3-letter string.
See the docs for details on data structures and functions available.
Also includes restriction enzyme and ligation basics.
Minmal python example. See the rust docs for full details:
from na_seq import *
aa = AminoAcid.from_codons([Nucleotide.A, Nucleotide.T, Nucleotide.G])
aa = AminoAcid.from_str("HIS")
aa.to_str(AaIdent.OneLetter)
aa.to_str(AaIdent.ThreeLetters)
Element.C.atomic_weight()
Utility functionality
- Sequence and nucleotide complements
- Sequence and nucleotide weight
- GC content, and misc general properties of elements and amino acids. ( e.g. hydrophobicity, weight, CPK colors)
- A small restriction enzyme library
We may add Sequence searches, and other utility features in the future.
This library is used by the PlasCAD plasmid editor and Daedalus molecule viewer.
Note: The Python version currently does not include restriction-enzyme and ligation functionality.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file na_seq-0.3.5.tar.gz.
File metadata
- Download URL: na_seq-0.3.5.tar.gz
- Upload date:
- Size: 29.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42dc0872217d5dfceccaba80b830f98a19003013a4c6c7f048f209099dac4b7b
|
|
| MD5 |
4cdb2a4132e9013e8daba2f8d272bcfb
|
|
| BLAKE2b-256 |
a4452d63e1ee133527fee010310c5f478c7da3cd10af5b08d8e599a2c252c7f4
|
File details
Details for the file na_seq-0.3.5-cp310-abi3-win_amd64.whl.
File metadata
- Download URL: na_seq-0.3.5-cp310-abi3-win_amd64.whl
- Upload date:
- Size: 180.0 kB
- Tags: CPython 3.10+, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32792b1cfa2320d2bf5495a242822bcc00f3504e6172c6dcdcc3c79322d5b8b9
|
|
| MD5 |
a72f17e2b585839ce54088de4f5e4382
|
|
| BLAKE2b-256 |
7356c6ad6290e3f17bc2ee4639f8e2a37e8e5eccb1d5e33b4c4b0b4789374095
|
File details
Details for the file na_seq-0.3.5-cp310-abi3-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: na_seq-0.3.5-cp310-abi3-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 493.0 kB
- Tags: CPython 3.10+, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df0624212927aa397db833cc0c0138c3486cd77627d7f020beea15b800ffd616
|
|
| MD5 |
288017d232396287c14bd6dab93f5fb2
|
|
| BLAKE2b-256 |
a7d5aa0b6ea4f03ae50c922d3d41ef9ea5c230ce4b1ffd7551e61a561b6c26ea
|
File details
Details for the file na_seq-0.3.5-cp310-abi3-musllinux_1_2_armv7l.whl.
File metadata
- Download URL: na_seq-0.3.5-cp310-abi3-musllinux_1_2_armv7l.whl
- Upload date:
- Size: 593.0 kB
- Tags: CPython 3.10+, musllinux: musl 1.2+ ARMv7l
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7af07d0840e69ba758de85483f15c1b267f809234ecd096c0f872ba4dfbc441d
|
|
| MD5 |
5a948bf228e79b33e7063a24a4ef2278
|
|
| BLAKE2b-256 |
50b1c01e0d976ce18ea6509c4c3a25ee56870c3338562922fed48d56fc5dcb64
|
File details
Details for the file na_seq-0.3.5-cp310-abi3-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: na_seq-0.3.5-cp310-abi3-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 501.4 kB
- Tags: CPython 3.10+, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dfc1cbf5961d942786e0266d59d6f77f8c13d572e42d41c56fe2aee726d9edb6
|
|
| MD5 |
20c76da24a39b0a781f7b1fec90a187c
|
|
| BLAKE2b-256 |
7526c1cf88f343a7213fb4be24951c362772083c788b15d53cd407ae3d729118
|
File details
Details for the file na_seq-0.3.5-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: na_seq-0.3.5-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 322.7 kB
- Tags: CPython 3.10+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db7207942bd281c1281bc5a818fa9eaae2f963e0e6f0cae6926952fd8bef655a
|
|
| MD5 |
96424443a7848de34724ec638b720631
|
|
| BLAKE2b-256 |
6fdde5d2e51750163bb6609d6226965777ae873bc2905c216a3e2381fd1de9ff
|
File details
Details for the file na_seq-0.3.5-cp310-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl.
File metadata
- Download URL: na_seq-0.3.5-cp310-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
- Upload date:
- Size: 352.0 kB
- Tags: CPython 3.10+, manylinux: glibc 2.17+ s390x
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5aaa0229a55381747bc4b9428fc7c5062ce37ae7ba92651736e512962fe7c32
|
|
| MD5 |
0d13ecf0118387b2a245cf75a7210b59
|
|
| BLAKE2b-256 |
76eb5c390f8780e3dd0d44a6e09a62c49ed2ea37202bd30c363df69f6d7ac8ed
|
File details
Details for the file na_seq-0.3.5-cp310-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.
File metadata
- Download URL: na_seq-0.3.5-cp310-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
- Upload date:
- Size: 466.3 kB
- Tags: CPython 3.10+, manylinux: glibc 2.17+ ppc64le
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
955bf76a2b3132563e96f78017b0c54542ddedee21dbb6edfda60d0177e3b85e
|
|
| MD5 |
a00f2066291ec1ffe505b7d83b3831af
|
|
| BLAKE2b-256 |
9afec7c49b2fcc36bce2df98a5102c0006ba792af867569448761c1c6e72d18c
|
File details
Details for the file na_seq-0.3.5-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.
File metadata
- Download URL: na_seq-0.3.5-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
- Upload date:
- Size: 328.4 kB
- Tags: CPython 3.10+, manylinux: glibc 2.17+ ARMv7l
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72a038d4bc02e01f830242c15043039974362e918c4a36a3d1529bcaf45060dd
|
|
| MD5 |
77ebad04946aaecb25c88d0871566680
|
|
| BLAKE2b-256 |
69e16321ac48cff7a40b9723378ec7f204aa94b9d3fecfdef45666077f936b6f
|
File details
Details for the file na_seq-0.3.5-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: na_seq-0.3.5-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 322.5 kB
- Tags: CPython 3.10+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b54b045688443099d51eac5aecdd2145ce8686b788de4c7f0a60ef1b0d1a07e0
|
|
| MD5 |
17da5b0c0b4f96033b851f69ed413970
|
|
| BLAKE2b-256 |
93e0c8130857cb5e1f279b0da58e877fd5b0dfb4d1c4b8807a08f0e46b06b050
|
File details
Details for the file na_seq-0.3.5-cp310-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: na_seq-0.3.5-cp310-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 286.0 kB
- Tags: CPython 3.10+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af24cd0204610480b9b6b6ef93d3a99c5d176341c4bc747c7749b0b42863f448
|
|
| MD5 |
23840f07db58ff4f2d0e81240e7339a2
|
|
| BLAKE2b-256 |
37e4f4e68c9354b7f490d8ba0de6c63ea73b56a9c63f9d1c9dd4644b94900158
|
File details
Details for the file na_seq-0.3.5-cp310-abi3-macosx_10_12_x86_64.whl.
File metadata
- Download URL: na_seq-0.3.5-cp310-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 294.9 kB
- Tags: CPython 3.10+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c85906f6705f9f47d39dcaff089cc156dc5dc86a2157276b8e89489478f58bee
|
|
| MD5 |
63c6fbc3835f9b8fc6b592febf55b59e
|
|
| BLAKE2b-256 |
9edebe8a25ff6cf165994cc4840f6cc837f60a4e430cce382a3a2e354738035a
|