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.
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).
This tool creates two distinct partitions from a nucleotide alignment:
First, ensure you have the required channels:
conda config --add channels defaults
conda config --add channels bioconda
conda config --add channels conda-forge
Then install A3Partitioner:
conda create -n a3partitioner -c bioconda a3partitioner -y
conda activate a3partitioner
Before installing from source, ensure you have:
# Check your Python version
python3 --version
# Install Biopython if you don't have it
pip install biopython
Then install A3Partitioner:
git clone https://github.com/DaanJansen94/a3partitioner
cd a3partitioner
./install.sh
-partition
: Type of partition to create [apobec, non-apobec, both]-i, --input
: Input FASTA alignment file-o, --output
: Output FASTA fileA3Partitioner -partition apobec -i input_aln.fasta -o output_aln.fasta
A3Partitioner -partition non-apobec -i input_aln.fasta -o output_aln.fasta
A3Partitioner -partition both -i input_aln.fasta -o output_aln.fasta
When using -partition both
, the tool will create:
{output}_APOBEC3.fasta
: APOBEC3 partition{output}_non_APOBEC3.fasta
: non-APOBEC3 partitionIf 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
This project is licensed under MIT License - see the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.
If you encounter any problems or have questions, please open an issue on GitHub.