accord-rs
The accord-rs library calculates a consensus sequence from reads that where aligned against a reference sequence.
To bring something into accord (/əˈkɔrd/) is to make it agree or correspond. In German "Akkordarbeit" (piecework) is used to imply that something is done fast.
BEWARE:
This library is in the early alpha stage, and its API may be subject to change without notice.
Python
Accord provides bindings for consensus calculation from Python code.
Install with pip install accord-rs, and then use like so:
from accord import Calculator
from accord.data import AlnQualityReqs
# settings for consensus calculation
reqs = AlnQualityReqs(
min_mapq=10, # minimum mapping quality
mandatory_flags=0, # required SAM flags, see: https://broadinstitute.github.io/picard/explain-flags.html
prohibited_flags=1540, # no unmapped, failing quality or optical duplicate reads
indel_cutoff=0.1, # only indels contained in at least 10 % of reads covering that position are considered
save_ends=0, # this has no function yet - only relevant when using PCR fragments
min_observations=50, # base coverage needs to be at least 50
)
# generate the consensus and alignment statistics
calc = Calculator(reqs)
consensus = calc.calculate("/path/to/reference.fasta", "/path/to/aln.bam")
# print the consensus as a FASTA record
print(consensus.consensus_seq.to_fasta())
Metadata
Release files for accord-rs 0.0.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| accord_rs-0.0.12.tar.gz | 25.5 kB | Without provenance | Details for accord_rs-0.0.12.tar.gz |
Built distributions (wheels)
Total release size: 33.8 MB
Release files / accord_rs-0.0.12.tar.gz
| Download URL | accord_rs-0.0.12.tar.gz |
|---|---|
| Size | 25.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3739a8adc6cbdfc5e6fe82cd19ba74614348c76eccd45a75bd2d943c66a794be
|
|
BLAKE2b-256 checksum How to use checksums |
b12c8ede1053596c547607bace6317fea38cf5b71c8a4d7a9c82cabd01fed9f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.10.2
|
Release files / accord_rs-0.0.12-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl
| Download URL | accord_rs-0.0.12-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 3.2 MB |
| Tags | Linux glibc 2.28+ x86-64 PyPy 3.11 PyPy 3.11 7.3 |
|
SHA-256 checksum How to use checksums |
8603182950c95d10260e12c86d0e6132c6c6467242a4674be881655b6a2161aa
|
|
BLAKE2b-256 checksum How to use checksums |
d23c5a3f5ba86519e431d043b99a2ef3a7dc4d81d8eabbdbebd9c56b720b8103
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.10.2
|
Release files / accord_rs-0.0.12-cp314-cp314-manylinux_2_28_x86_64.whl
| Download URL | accord_rs-0.0.12-cp314-cp314-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 3.2 MB |
| Tags | CPython 3.14 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
a9bcda895865ad36bc751e18a57959a6f87b7f0b507a0b260da3d94e812bb8d9
|
|
BLAKE2b-256 checksum How to use checksums |
6b908a64f57f8aa5d15f1fb09a13142186f679a361c3350d3cce349a01671a30
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.10.2
|
Release files / accord_rs-0.0.12-cp314-cp314-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
| Download URL | accord_rs-0.0.12-cp314-cp314-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl |
|---|---|
| Size | 2.0 MB |
| Tags | CPython 3.14 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
af9938d90d897bb5bf6cb34c062d9b3679686ff8d20d32a5b3d10c244b81b189
|
|
BLAKE2b-256 checksum How to use checksums |
99bdf3bc5184e848df14954195f86b29df8c4b8254148ae35b57125a42e8fd62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.10.2
|
Release files / accord_rs-0.0.12-cp313-cp313-manylinux_2_28_x86_64.whl
| Download URL | accord_rs-0.0.12-cp313-cp313-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 3.2 MB |
| Tags | CPython 3.13 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
21a1e3706953560bb528aebb274abced6bd58daa48bbae4939f5f04d83d6d45b
|
|
BLAKE2b-256 checksum How to use checksums |
be4c283c808ce3f6c61b793dc075c2d77ff0200fb3ba7d5bf8b1ed0171d2159e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.10.2
|
Release files / accord_rs-0.0.12-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
| Download URL | accord_rs-0.0.12-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl |
|---|---|
| Size | 2.0 MB |
| Tags | CPython 3.13 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
48e82ce84f0bad3879a5ce70b60b76de1c5c252eb981f2986bf70b0213f72261
|
|
BLAKE2b-256 checksum How to use checksums |
6ae3528f5d53853322adb1d520e4c864231b8b42fadf6e88420d153781c74fac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.10.2
|
Release files / accord_rs-0.0.12-cp312-cp312-manylinux_2_28_x86_64.whl
| Download URL | accord_rs-0.0.12-cp312-cp312-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 3.2 MB |
| Tags | CPython 3.12 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
d1232a9fee52080891bf850f0ed0ddd1b76e2c03663d2ba38c1193f4e7f7baa3
|
|
BLAKE2b-256 checksum How to use checksums |
b1f8f0719ca0d472ad56012773b6a48b39740529e56f2a8e9a9dbfa044edc955
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.10.2
|
Release files / accord_rs-0.0.12-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
| Download URL | accord_rs-0.0.12-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl |
|---|---|
| Size | 2.0 MB |
| Tags | CPython 3.12 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
a375230704e9245ae707327c1bc653557f0dbe5412949c0cb07cd351ff135a76
|
|
BLAKE2b-256 checksum How to use checksums |
c610d466ec00dd57eb6e711274430b1f6de404e6c5273b2e883e37f083154ec3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.10.2
|
Release files / accord_rs-0.0.12-cp311-cp311-manylinux_2_28_x86_64.whl
| Download URL | accord_rs-0.0.12-cp311-cp311-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 3.2 MB |
| Tags | CPython 3.11 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
016a89d968ea2a2bbbb9cc411c879cbc0fc75cef5a45ca037772037f6ba7b866
|
|
BLAKE2b-256 checksum How to use checksums |
7011a5501b8380c9759dfc93434a0d742c7b8310a15e387b8630bf68d3456132
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.10.2
|
Release files / accord_rs-0.0.12-cp311-cp311-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
| Download URL | accord_rs-0.0.12-cp311-cp311-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl |
|---|---|
| Size | 2.0 MB |
| Tags | CPython 3.11 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
fd3beede5892ef277164ebda84a243cea681abff0cdb88ba04f8803f325c1061
|
|
BLAKE2b-256 checksum How to use checksums |
960125e59f1d751a0d2fe32ecb362b22edf782a0a3907e32bdb816232e8e2a36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.10.2
|
Release files / accord_rs-0.0.12-cp310-cp310-manylinux_2_28_x86_64.whl
| Download URL | accord_rs-0.0.12-cp310-cp310-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 3.2 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
c5562a565db8fd8a6ed77cd218e297e6ebf1be1de5dc492fea3fda7ba32d6378
|
|
BLAKE2b-256 checksum How to use checksums |
757fd72ea6f493663d54fb41e225b44c561045a34297e01a2e3e63a973281d64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.10.2
|
Release files / accord_rs-0.0.12-cp39-cp39-manylinux_2_28_x86_64.whl
| Download URL | accord_rs-0.0.12-cp39-cp39-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 3.2 MB |
| Tags | CPython 3.9 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
1c06fe6192f393c89b20e65cc62b3bf280808e548abd70bfb6349d122750645d
|
|
BLAKE2b-256 checksum How to use checksums |
0c6be6cf4b491fef155befe6254d73b0f2b429238cc6b3fb301d28b5b50679c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.10.2
|
Release files / accord_rs-0.0.12-cp38-cp38-manylinux_2_28_x86_64.whl
| Download URL | accord_rs-0.0.12-cp38-cp38-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 3.2 MB |
| Tags | CPython 3.8 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
101f71f64c58ee786f83a3d558cd218a3a59e42f03a6281c613386d4f752932e
|
|
BLAKE2b-256 checksum How to use checksums |
4c70bf744146d34ef6259275e744345ebaf241da73b0b3c4a408e705aa1ac2bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.10.2
|
Security for accord-rs 0.0.12
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.