A2G2: A Python wrapper to perform very large alignments in semi-conserved regions
preprint
OA: closed
CC-BY-NC-ND-4.0
Abstract
Summary Amplicons to Global Gene ( A 2 G 2 ) is a Python wrapper that uses MAFFT and an “Amplicon to Gene” strategy to align very large numbers of sequences while improving alignment accuracy. It is specially developed to deal with conserved genes, where traditional aligners introduce a significant amount of gaps. A 2 G 2 leverages the add sequences option of MAFFT to align the sequences to a global reference gene and a local reference region. Both of these references can be consensus sequences of trusted sources. Efficient parallelization of these tasks allows A 2 G 2 to align a very large number of sequences (> 500K) in a reasonable amount of time. A 2 G 2 can be imported in Python for easier integration with other software, or can be run via command line. Availability A 2 G 2 is implemented in Python 3 (3.6) and depends on MAFFT availability. Other package requirements can be found in the requirements.txt file at https://github.com/jshleap/A2G . A 2 G 2 is also available via PyPi ( https://pypi.org/project/A2G ). It is licensed under the LGPLv3. Supplementary information Supplementary material is available at github as jupyter notebook.
My notes (saved in your browser only)
Citation neighborhood (no data yet)
We don't have any in-corpus citations linked to this paper yet. The paper's references may be in our DB but unresolved to ``paper_id`` (resolution happens at ingest when the cited DOI matches a row we already have). Run the cross-source citation reconcile pass to retry.
Source provenance
- europepmc
- last seen: 2026-05-19T01:45:01.086888+00:00
- unpaywall
- last seen: 2026-05-26T02:00:01.498150+00:00
License: CC-BY-NC-ND-4.0