Skip to main content

PyPI Python Version Downloads License: MIT Build Status Docs Ruff Last Commit Open Issues

Dark matter

(Pure) Python scripts and libraries for bioinformatics.

Overview

Utility scripts

The bin directory contains over 100 utility scripts. These fall into the following categories:

  1. FASTA/FASTQ: general sequence inspection, filtering, and manipulation
  2. DNA/amino-acid translation and codon tools
  3. Pairwise sequence comparison
  4. Multiple-sequence-alignment (MSA) and alignment-position analysis
  5. Consensus-sequence building
  6. Read mapping and SAM/BAM analysis
  7. BLAST/DIAMOND hit processing and alignment panels
  8. Protein/genome SQLite databases and GenBank data
  9. Taxonomy
  10. Phylogenetic trees (Newick)

Library functions

  1. Core reads & sequence I/O
  2. DNA & amino-acid biology
  3. Sequence alignment & comparison
  4. Alignment-result containers, filtering & summarization
  5. BLAST
  6. DIAMOND
  7. SAM/BAM, read mapping & consensus building
  8. Protein/genome databases, GenBank & taxonomy
  9. Phylogenetic trees
  10. Visualization: plotting & HTML
  11. General utilities

Installation

pip install dark-matter

or, using uv:

uv add dark-matter

dark-matter supports Python 3.10 through 3.15.

Documentation

The full documentation is at acorg.github.io/dark-matter, built from the Markdown files below:

  • doc/scripts.md — the command-line scripts in bin, for people who just want to run existing tools.
  • doc/library.md — the dark Python library under src/dark, for developers who want to write their own code against it.
  • doc/reads.md — the central Read class hierarchy.

Developers

git clone https://github.com/acorg/dark-matter.git
cd dark-matter
uv sync

Run the tests with

make pytest

or directly via

uv run pytest

License

MIT. See LICENSE.

Metadata

Release files for dark-matter 7.5.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dark-matter 7.5.5
File Size Uploaded Provenance Actions
dark_matter-7.5.5.tar.gz 503.0 kB Without provenance Details for dark_matter-7.5.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dark-matter 7.5.5
File Interpreter ABI Platform Actions
dark_matter-7.5.5-py3-none-any.whl Python 3 none any Details for dark_matter-7.5.5-py3-none-any.whl

Total release size: 954.1 kB

Release files / dark_matter-7.5.5.tar.gz

Download URL dark_matter-7.5.5.tar.gz
Size 503.0 kB
Tags Source
SHA-256 checksum
How to use checksums
68c74fe195ef3bbaeec093a24c5d6717dd295578877a9e2d867b9774ba11d898
BLAKE2b-256 checksum
How to use checksums
f9e68b2bec4715c640f689e24cb770f5de8baa27bbdcc0f24b544393d347b3d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / dark_matter-7.5.5-py3-none-any.whl

Download URL dark_matter-7.5.5-py3-none-any.whl
Size 451.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
532a135fca747f155dbe16afdcb9c7055454b7b4e8f1f00f1745dcd2b330b0cf
BLAKE2b-256 checksum
How to use checksums
9763ca4de0e32a2c1b616705eaa12d6774ab851979aa8a8375afe07121d0f276
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for dark-matter 7.5.5

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.

Release history Release notifications | RSS feed

This release

7.5.5 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page