A bioinformatics tool for creating APOBEC3 and non-APOBEC3 partitions from sequence alignments. For generating a quick and reliable MPXV alignment for both clades, we refer to squirrel.
Background
Literature indicates that an overwhelming majority of mutations found in monkeypox viral genomes are a result of deaminase editing, which provides a distinct APOBEC3 signature in the genomes (doi: 10.1126/science.adg8116). When performing evolutionary analysis of MPXV on relatively short timescales, it is therefore unlikely that a significant number of non-APOBEC3 mutations, which arise from error-prone polymerases, will accumulate. Given this, one can extract the APOBEC3 partition from the nucleotide alignment and perform phylogenetic analysis with this partition to exclude bias from artificially introduced mutations (e.g., sequencing or bioinformatics errors).
How It Works
This tool creates two distinct partitions from a nucleotide alignment:
APOBEC3 Partition:
Includes sites with putative APOBEC3 modifications (C → T or G → A substitutions in specific dinucleotide contexts)
All other sites are masked as ambiguous nucleotides
Can be used as input for ML or Bayesian phylogenetic analyses, aiming to remove bias from artificially introduced mutations
Non-APOBEC3 Partition:
Contains all sites except those with APOBEC3 target sites
A3Partitioner -partition both -i input_aln.fasta -o output_aln.fasta
Output Files
When using -partition both, the tool will create:
{output}_APOBEC3.fasta: APOBEC3 partition
{output}_non_APOBEC3.fasta: non-APOBEC3 partition
Citation
If you use a3partitioner in your research, please cite:
Jansen, D., & Vercauteren, K. (2025). a3partitioner: A bioinformatics tool for creating APOBEC3 and non-APOBEC3 partitions from sequence alignments (v.0.1.1). Zenodo. https://doi.org/10.5281/zenodo.14851870
License
This project is licensed under MIT License - see the LICENSE file for details.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Support
If you encounter any problems or have questions, please open an issue on GitHub.
A3Partitioner
A bioinformatics tool for creating APOBEC3 and non-APOBEC3 partitions from sequence alignments. For generating a quick and reliable MPXV alignment for both clades, we refer to squirrel.
Background
Literature indicates that an overwhelming majority of mutations found in monkeypox viral genomes are a result of deaminase editing, which provides a distinct APOBEC3 signature in the genomes (doi: 10.1126/science.adg8116). When performing evolutionary analysis of MPXV on relatively short timescales, it is therefore unlikely that a significant number of non-APOBEC3 mutations, which arise from error-prone polymerases, will accumulate. Given this, one can extract the APOBEC3 partition from the nucleotide alignment and perform phylogenetic analysis with this partition to exclude bias from artificially introduced mutations (e.g., sequencing or bioinformatics errors).
How It Works
This tool creates two distinct partitions from a nucleotide alignment:
APOBEC3 Partition:
Non-APOBEC3 Partition:
Installation
Option 1: Using Conda
First, ensure you have the required channels:
Then install A3Partitioner:
Option 2: From Source Code
Before installing from source, ensure you have:
Python 3.6 or higher installed
Biopython package installed
Then install A3Partitioner:
Usage
Options
-partition: Type of partition to create [apobec, non-apobec, both]-i, --input: Input FASTA alignment file-o, --output: Output FASTA fileExamples
Create APOBEC3 partition:
Create non-APOBEC partition:
Create both partitions and analysis:
Output Files
When using
-partition both, the tool will create:{output}_APOBEC3.fasta: APOBEC3 partition{output}_non_APOBEC3.fasta: non-APOBEC3 partitionCitation
If you use a3partitioner in your research, please cite:
License
This project is licensed under MIT License - see the LICENSE file for details.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Support
If you encounter any problems or have questions, please open an issue on GitHub.