This is a tool to estimate multiplicity of infection (MOI) from BAM and VCF inputs. This is particularly useful in the context of malaria. Compatible with python=3.11, ensure MD tag is in BAM header. Please raise an issue or pull request here if you have any issues running Malaria-MOI: https://github.com/LSHTMPathogenSeqLab/Malaria-MOI.
conda create -n malariaMOI python=3.11
conda activate malariaMOI
git clone https://github.com/LSHTMPathogenSeqLab/Malaria-MOI.git
cd /path/to/Malaria-MOI
pip install -e .
malariaMOI --bam <input_bam> --vcf <input_vcf> --outfile <output_json_file>
usage: malariaMOI [-h] --bam BAM --vcf VCF --outfile OUTFILE [--maxdist MAXDIST] [--min_count MIN_COUNT]
A simple command line tool for MOI
options:
-h, --help show this help message and exit
--bam BAM BAM (or cram) file
--vcf VCF VCF file
--outfile OUTFILE Name of output file
--maxdist MAXDIST Maximum distance between the first and last SNP
--min_count MIN_COUNT
Minimum count of haplotype