Simple FASTA file tools to parse, edit, subset, split, and perform stats on FASTA files
Project description
C++ bindings for FASTA file parsing
Installation
pip install pyfastatools
Usage
The pyfastatools.Parser object is the primary API that parses FASTA files and yields pyfastatools.Record objects.
If you have a FASTA file called proteins.faa that looks like this:
>seq_1
MSKFKKIPL
>seq_2
MQSSSKTCN
>seq_3
MEDNMITIY
Then you can parse this file in python like this:
from pyfastatools import Parser
for record in Parser("proteins.faa"):
print(record.name, record.seq)
which will print:
>>> 'seq_1 MSKFKKIPL'
>>> 'seq_2 MQSSSKTCN'
>>> 'seq_3 MEDNMITIY'
Project details
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 pyfastatools-2.2.0.tar.gz.
File metadata
- Download URL: pyfastatools-2.2.0.tar.gz
- Upload date:
- Size: 16.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3cab03cb6f3c8d01dabf1ca7228289af23f48c587ab2ad4df45dfe8ca61463b2
|
|
| MD5 |
3e68c65077867d929499caff143694b8
|
|
| BLAKE2b-256 |
9e5ec946ff5cae3d95b0266137b3dff6c48b1e680d8018fc70bff1f6750a4414
|
File details
Details for the file pyfastatools-2.2.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pyfastatools-2.2.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 149.5 kB
- Tags: PyPy, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7832bb7b0738fe81744d8d32ec0194bb199dc6189133bd922a5b8f450c435a79
|
|
| MD5 |
8f65f5f2528c7f19c7c6b95dde45de84
|
|
| BLAKE2b-256 |
9aab16ce1bd99670544d8195272b55be7f54bed93d98a9a22ace2d997375e4aa
|
File details
Details for the file pyfastatools-2.2.0-pp310-pypy310_pp73-manylinux_2_17_i686.manylinux2014_i686.whl.
File metadata
- Download URL: pyfastatools-2.2.0-pp310-pypy310_pp73-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 159.7 kB
- Tags: PyPy, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9bcb4ecebb8b48f2c34661205c6b9ebd54c3865d5ef03cd84e7204a4c9a96687
|
|
| MD5 |
70572c526adef1bd032a4727a52e82b8
|
|
| BLAKE2b-256 |
309da9950f0a085248306fb78958eddfb11ed7cfcc25d765054c3551f41d4318
|
File details
Details for the file pyfastatools-2.2.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pyfastatools-2.2.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 149.5 kB
- Tags: PyPy, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0cf130ae68663ac8c3e4167a65606f8a024f312347349e94c815d13f34664c9
|
|
| MD5 |
2e11c28b3ab475cbe755bab89f46423e
|
|
| BLAKE2b-256 |
2a50de50b6a0c273d38b03dbb90ed1d6489c6721803d1f3a44bafd17a2a3310f
|
File details
Details for the file pyfastatools-2.2.0-pp39-pypy39_pp73-manylinux_2_17_i686.manylinux2014_i686.whl.
File metadata
- Download URL: pyfastatools-2.2.0-pp39-pypy39_pp73-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 159.7 kB
- Tags: PyPy, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e41fc751f4b07bc2e4d817ed94202927062a2daba820565ddd4d84ec156491ab
|
|
| MD5 |
86ac680372132e2f441f3ee52ca5df4d
|
|
| BLAKE2b-256 |
2421cccbf91f32c096c930e72e972d7c7726f64d2f0bdb7fed9b073286d54986
|
File details
Details for the file pyfastatools-2.2.0-cp312-abi3-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: pyfastatools-2.2.0-cp312-abi3-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 611.2 kB
- Tags: CPython 3.12+, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5101f8b887c691a44b82b3f6cad7d0207409d685e50152379f2cbc23ebdc19e6
|
|
| MD5 |
defe283691b531b60f1eeee570112445
|
|
| BLAKE2b-256 |
9c6b8674636dd36f74b7110cf7b0eeff0b83d5e136551ed7c69a33841702e0bf
|
File details
Details for the file pyfastatools-2.2.0-cp312-abi3-musllinux_1_2_i686.whl.
File metadata
- Download URL: pyfastatools-2.2.0-cp312-abi3-musllinux_1_2_i686.whl
- Upload date:
- Size: 664.5 kB
- Tags: CPython 3.12+, musllinux: musl 1.2+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0a88a9a59ab7e4e985afeab1cb7c38332d337e548ec29be3d01d43aea4f5f2b
|
|
| MD5 |
330ef61f48f95e1901ffe1362cb8805c
|
|
| BLAKE2b-256 |
e9053a69deed32440198730d64fe8e201be203d07f27c7be2f86a34e09192229
|
File details
Details for the file pyfastatools-2.2.0-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pyfastatools-2.2.0-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 153.4 kB
- Tags: CPython 3.12+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
810bda07a903aec3d15ab1f6302615f5adcc01624626fb94afc3ce02bbc3da95
|
|
| MD5 |
82aadc4a7130dcc724ea11d60bc8ab17
|
|
| BLAKE2b-256 |
02b5a9b69b0732e7b0c0f93f87bb916beb84a1efc818055e2e3c7a035e7e6bf9
|
File details
Details for the file pyfastatools-2.2.0-cp312-abi3-manylinux_2_17_i686.manylinux2014_i686.whl.
File metadata
- Download URL: pyfastatools-2.2.0-cp312-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 164.0 kB
- Tags: CPython 3.12+, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af6370ee92289419f059eaf4a37278f1797bac088672f057d4d52a329c90cade
|
|
| MD5 |
79a6e0177f2e1197c5d482e14151b513
|
|
| BLAKE2b-256 |
868a3abf1044f3434d8e766aeb1123248e514de8ad5227af4b0cd4afb895d55e
|
File details
Details for the file pyfastatools-2.2.0-cp311-cp311-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: pyfastatools-2.2.0-cp311-cp311-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 611.6 kB
- Tags: CPython 3.11, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9829394a15dca463c45e3722fd2519de9b5e9f35bfcce7335a7a5abca3da94d3
|
|
| MD5 |
998c8bdb80e27825f6d729533687116d
|
|
| BLAKE2b-256 |
18fbd6ccaa07875fee9acf0c4a24489fe869c4f4ac1f8446cd4eeb46ea7f0ef7
|
File details
Details for the file pyfastatools-2.2.0-cp311-cp311-musllinux_1_2_i686.whl.
File metadata
- Download URL: pyfastatools-2.2.0-cp311-cp311-musllinux_1_2_i686.whl
- Upload date:
- Size: 665.4 kB
- Tags: CPython 3.11, musllinux: musl 1.2+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e85ad67a9963e4810c8f503e65086dcab164bc2b910eff991675082908e3ab8
|
|
| MD5 |
f04092b3d36a45b45e5ce4d4d2c413cb
|
|
| BLAKE2b-256 |
b0300c894db1aea9cc86ea22357ce4e2d8d8da6d8bdd35864bff12b1ec446807
|
File details
Details for the file pyfastatools-2.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pyfastatools-2.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 153.9 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b85ab01ff1f48b669fdc6a4551c321d409d622ac57afe90c4c1ad5e7cb03bd0f
|
|
| MD5 |
928f25f35d90efe47b32835e83fa8ab8
|
|
| BLAKE2b-256 |
16add14d8695dd23719c861a91b743bfe74d65e98544cbb483af14d4acb519d6
|
File details
Details for the file pyfastatools-2.2.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl.
File metadata
- Download URL: pyfastatools-2.2.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 164.1 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7cf3191f7bbead72342fa5a7b400bf0ac8e2a0b2cae255a0ed090d3e357f39a
|
|
| MD5 |
88ab96382d7a94abf245032dc0be618c
|
|
| BLAKE2b-256 |
ae5200dee3a638ac3bb1c05cda46ac6f34b4fb6c00f9d32f5af331da890c016a
|
File details
Details for the file pyfastatools-2.2.0-cp310-cp310-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: pyfastatools-2.2.0-cp310-cp310-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 611.2 kB
- Tags: CPython 3.10, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1f589e165365e9c06b7c66cfc092f92e0e29935d2f035ea7dfb9f415a00d74c
|
|
| MD5 |
61f5719f8ff003579c696273296d6620
|
|
| BLAKE2b-256 |
43336771ad042f0259d8a09c635ce2073028ebdb3de0a214f277fd143bb42e86
|
File details
Details for the file pyfastatools-2.2.0-cp310-cp310-musllinux_1_2_i686.whl.
File metadata
- Download URL: pyfastatools-2.2.0-cp310-cp310-musllinux_1_2_i686.whl
- Upload date:
- Size: 664.8 kB
- Tags: CPython 3.10, musllinux: musl 1.2+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
38059fde51dda03f21ad44cf959ef07431db778877d1d3f125b07b5560297ef6
|
|
| MD5 |
c916d68695fd6c9160419699069a9013
|
|
| BLAKE2b-256 |
0eb728be6c5e22d56c2409f2bf18b45a97c9b05424c15a1d32aa1ac1d36b70cd
|
File details
Details for the file pyfastatools-2.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pyfastatools-2.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 153.5 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1d623d1466b23db44891b1c78af672f3d7ddb3bd256460912f3b088b423c36e
|
|
| MD5 |
48add31ca3de9cfb14a993489aad6826
|
|
| BLAKE2b-256 |
6312aff63b4b1b69860cb00d5e4bff211677f291ad5b38b9432a3c3665be857a
|
File details
Details for the file pyfastatools-2.2.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl.
File metadata
- Download URL: pyfastatools-2.2.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 163.7 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c8a5a225404dc5daa975929672a48b05d4fb6c85aaea70dec2095aa70faadea
|
|
| MD5 |
9e19ff17e347c903e245a74bef01d191
|
|
| BLAKE2b-256 |
fcb5267ba884bc9cb8690ae066cb2deb96fcffec4c55b71278d2be00ae5ea7d2
|
File details
Details for the file pyfastatools-2.2.0-cp39-cp39-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: pyfastatools-2.2.0-cp39-cp39-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 611.6 kB
- Tags: CPython 3.9, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
318f42d4db7aab0433f08413e694ee420485cff803a3f3c611f7f03027c73b62
|
|
| MD5 |
1551f3dbcf2357301d4e2a7768bdea74
|
|
| BLAKE2b-256 |
748d2f35a2ce7c59df27a1f806d57080ade88d995acb9c6ef7385d86055afac4
|
File details
Details for the file pyfastatools-2.2.0-cp39-cp39-musllinux_1_2_i686.whl.
File metadata
- Download URL: pyfastatools-2.2.0-cp39-cp39-musllinux_1_2_i686.whl
- Upload date:
- Size: 665.0 kB
- Tags: CPython 3.9, musllinux: musl 1.2+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68b5f00e447a051d70941f62cfde3e6d22b8870780fda34115e9f3a7ff425610
|
|
| MD5 |
69f04a6746405a7180d1824be8223524
|
|
| BLAKE2b-256 |
605f6b2d597425ef21cb04719e65181119f8e6b83e69e95bcbd1515ac55de80d
|
File details
Details for the file pyfastatools-2.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pyfastatools-2.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 153.7 kB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5aef9475585594262f2dbffa9ab21d2b0f34ee09b185d5fcbc733411ab52092a
|
|
| MD5 |
61e58acff04b86df3b28414e0e3c99eb
|
|
| BLAKE2b-256 |
d4de868dd0fa89349ba5f6736f4ef98ab7b5b7d7c0a2d3ec6bb9224d7947a81f
|
File details
Details for the file pyfastatools-2.2.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl.
File metadata
- Download URL: pyfastatools-2.2.0-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 164.0 kB
- Tags: CPython 3.9, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1fe6fd9167ccc0223dac8e302a0cc21f30c5d10a7fb27fbec746e532e757ed5f
|
|
| MD5 |
7ce12677dc73c4edb97e50ebd0ee1502
|
|
| BLAKE2b-256 |
ed47ffdde279ff61a7599d282d4de4d1be614169f3faf5f51ee55c92e8397959
|