assembly_stats
A Python library that takes a FASTA file as input and calculates both scaffold and contig statistics (N50, L50, etc.) from a scaffold FASTA file. It does this by breaking each scaffold wherever there is more than one N and then calculating statistics for both the scaffolds and contigs.
This is a re-write of fasta_metadata_parser to speed up the old implementation, and -- most importantly -- to learn how to install Python scripts onto the Smithsonian HPC.
Installation
pip install assembly_stats
Usage
$ assembly_stats -h
usage: assembly_stats [-h] filename
Calculate statistics about genome assemblies.
positional arguments:
filename Genome file in FASTA format.
optional arguments:
-h, --help show this help message and exit
After calculating the statistics for the genome assembly, they will be printed out in JSON format.
Next steps
- Add ability to save NumPy sequence length arrays for further visualization, since generating these are what takes the most time.
Metadata
Release files for assembly-stats 0.1.4
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 |
|---|---|---|---|---|
| assembly_stats-0.1.4.tar.gz | 3.9 kB | Without provenance | Details for assembly_stats-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| assembly_stats-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for assembly_stats-0.1.4-py3-none-any.whl |
Total release size: 9.0 kB
Release files / assembly_stats-0.1.4.tar.gz
| Download URL | assembly_stats-0.1.4.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5ef35e04b5d86acea839b04fcccd2a73e64e559ea31a8c256de8f0dda78e6968
|
|
BLAKE2b-256 checksum How to use checksums |
b3cf1e09948caded07b195f95851c882da4142e08d61404ffb964404eb9ee312
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Release files / assembly_stats-0.1.4-py3-none-any.whl
| Download URL | assembly_stats-0.1.4-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
77ad05de78ce4a37c69db6e178fec7a11ffc1c3fc3a2a94072e64e11d6e5f0f7
|
|
BLAKE2b-256 checksum How to use checksums |
d7dd7025ead6f8cf24ad0580af1193bcfd7176f7393df207f82be3ffbaed55e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Security for assembly-stats 0.1.4
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.