ImprintCapASM is a three-step pipeline for SNP-phased allele-specific methylation (ASM) analysis across the 41 known imprinted differentially methylated regions (DMRs). It accepts a VCF SNP file, a bisulfite methylation table, and an aligned BAM file, and returns per-allele methylation fractions, summary tables, and diagnostic plots per DMR.
samtools must be installed and on your system PATHdata.table, vcfR,
readxl, writexl, ggplot2,
RsamtoolsPlace the following files in your input/ folder:
| File | Description |
|---|---|
SAMPLEID_all.SNPs.out |
VCF SNP calls from bisulfite sequencing |
SAMPLEID_all.CGmeth.txt |
Bisulfite methylation table |
SAMPLEID_all_markdup.bam |
Aligned, duplicate-marked BAM file |
The reference file data/filter_Cpgs.xlsx is bundled with
the package.
| File | Contents |
|---|---|
asm_<type>_<id>.xlsx |
Full read-level ASM table |
snp_cpg_<type>_<id>.xlsx |
Per SNP×CpG methylation fractions |
meth_summary_<type>_<id>.xlsx |
Allele methylation summary per DMR |
dmr_plots_<type>_<id>.pdf |
Diagnostic line plots per DMR |