P-MACD is a package originally designed for the analysis of patterns of mutagenesis by APOBEC Cytidine Deaminases that has been extended to support a variety of oligonucleotide-centered mutational motifs.
P-MACD was developed under CentOS Linux and successfully tested/executed in CentOS version 7.8 with R 3.3.2 and Python 2.7.13.
These legacy requirements can be provided - as tested in February 2024 under Rocky Linux release 8.8 - using the Miniconda package manager following these steps:
- Install the Miniconda system following the instructions at: https://docs.anaconda.com/free/miniconda/miniconda-install/
- Activate the base environment:
eval "$(/home/username/miniconda3/bin/conda shell.bash hook)"
- Create and activate an empty environment:
conda create --name legacyR
conda activate legacyR
- Install R in the new environment:
conda install r=3.3.2 -c conda-forge
- Install Python:
conda install python=2.7 -c conda-forge
- Install the packages required by R (data.table) and Python (numpy)
Analogous solutions can be developed for the Docker or Apptainer platforms.
No installation is required. Simply copy the contents of this repository to a convenient user-accessible location.
P-MACD is most easily executed from within a interactive R session. Begin by defining PARENTDIR
and REFPATH
variables that store the locations of the P-MACD software and reference genome FASTA file, respectively:
> PARENTDIR = "/home/username/pmacd/"
> REFPATH = "/home/username/reference_genome/hg19.fa"
Launch the pipeline by importing the control.R
script found in the code
directory, and executing the main
function:
> source(paste0(PARENTDIR, "code/control.R"))
> main()
See README_1st.txt for additional details.
P-MACD was authored by Leszek J. Klimczak, Ph.D.
On publication of any studies whose findings are in part derived from the output of the P-MACD software package, please include the following citation:
- An APOBEC cytidine deaminase mutagenesis pattern is widespread in human cancers. Roberts SA, Lawrence MS, Klimczak LJ, Grimm SA, Fargo D, Stojanov P, Kiezun A, Kryukov GV, Carter SL, Saksena G, Harris S, Shah RR, Resnick MA, Getz G, Gordenin DA. Nat Genet. 2013 Sep;45(9):970-6. doi: 10.1038/ng.2702.
This project is licensed under the MIT License. See LICENSE for details.