Skip to main content

PlastBurstAlign

PlastBurstAlign is an open-source, modular Python command-line tool for extracting and aligning all coding and noncoding genome regions across thousands of plastid genomes.

PyPI version Python versions License GitHub stars


Overview

PlastBurstAlign deconstructs complete plastomes into protein-coding sequences, tRNAs, rRNAs, introns, and intergenic spacers. It automatically standardizes gene names, reconstructs exons, filters features, handles duplicated regions, and groups homologous sequences across genomes by gene or marker name. Coding sequences are aligned via amino acid translations and noncoding markers as nucleotides using user-selected alignment software. Most importantly, PlastBurstAlign addresses the runtime and memory demands of large plastid phylogenomic datasets through task parallelization that accounts for marker alignment complexity and explicit memory management.


Features

  • Extracts coding sequences, introns, tRNAs/rRNAs, or intergenic spacers in selectable modes and groups sequences by gene or marker name.
  • Standardizes tRNA/rRNA names and deduplicates regions by name per genome, including inverted repeat copies and reverse-named intergenic spacers.
  • Filters user-excluded markers and enforces minimum sequence length and taxon representation thresholds.
  • Reconstructs cis- and trans-spliced coding sequences.
  • Confirms presence of start and stop codons among coding sequences and excludes sequences with invalid start/stop codons or translation errors.
  • Aligns coding sequences via translated amino acids and nucleotide back-translation, whereas RNA, intron, and spacer sequences are aligned as nucleotides.
  • Supports MAFFT, MUSCLE, and Clustal Omega out of the box; additional command-line aligners can be configured via YAML.
  • Writes individual and optional concatenated alignments in FASTA/NEXUS, ordering concatenated markers alphabetically or by feature order in the first genome.
  • ⭐ Runs marker alignments concurrently and allocates more threads to higher-cost alignments when supported, reducing runtime.
  • ⭐ Implements disk-backed sequence storage and a bounded task queue to limit memory use.
  • Logs progress, warnings, and failures, with extra verbose diagnostics.

Installation

See the Installation page on the GitHub Wiki for prerequisites and installation instructions.


Quick start

After installing PlastBurstAlign and MAFFT, place complete GenBank .gb files in an input directory and run:

plastburstalign -i Input_dataset -o Output_cds -s cds -c

This extracts and aligns coding sequences, then writes concatenated FASTA and NEXUS files to the output directory.


Input and output

Input data

Place complete plastid genome GenBank flatfiles in an input directory. The default file extension is .gb. For example:

Input_dataset/
  genome_1.gb
  genome_2.gb

Output files

Use a separate output directory for each run; it and its subfolders are created automatically as needed. Unaligned nucleotide FASTAs (plus protein FASTAs and intermediate protein alignments for CDS) are written to its root. Aligned nucleotide FASTAs go in fasta/, with NEXUS files in nexus/. When concatenation is enabled, the concatenated FASTA and NEXUS files are additionally written to the output directory.


Command-line parameters

See the Command-line parameters section on the GitHub Wiki for the available options and examples.

Metadata

Release files for plastburstalign 1.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 plastburstalign 1.5
File Size Uploaded Provenance Actions
plastburstalign-1.5.tar.gz 406.1 kB With provenance Details for plastburstalign-1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for plastburstalign 1.5
File Interpreter ABI Platform Actions
plastburstalign-1.5-py3-none-any.whl Python 3 none any Details for plastburstalign-1.5-py3-none-any.whl

Total release size: 680.8 kB

Release files / plastburstalign-1.5.tar.gz

Download URL plastburstalign-1.5.tar.gz
Size 406.1 kB
Tags Source
SHA-256 checksum
How to use checksums
dc7cdb8510d878eef0b3796e30cc782755c907953209e3603259076d57fdb7a1
BLAKE2b-256 checksum
How to use checksums
3d9616c5bb291c802a228ed735be93fb822f90e8c3f12e98b31f840a98e19009
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Release files / plastburstalign-1.5-py3-none-any.whl

Download URL plastburstalign-1.5-py3-none-any.whl
Size 274.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c25d33fc6ac1b1fde47323615149b384290e98333e783fba7e2f027235640cf7
BLAKE2b-256 checksum
How to use checksums
33151af65ed3a9dff5b3bd1a908731263bcb55860398c4f87d44d62bba2db1c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

Security for plastburstalign 1.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for plastburstalign-1.5.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.

Transparency log

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.

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