본문으로 건너뛰기
cccskills
무료GitHub에 공개

bioconductor-epialleler

Epialleles are specific DNA methylation patterns that are mitotically and/or meiotically inherited. This package calls and reports cytosine methylation as well as frequencies of hypermethylated epialleles at the level of genomic regions or individual cytosines in next-generation sequencing data using binary alignment map (BAM) files as an input. Among other things, this package can also extract and visualise methylation patterns and assess allele specificity of methylation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md6.7 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

epialleler

Workflows

Standard Workflow

library(epialleler)
capture.bam <- system.file("extdata", "capture.bam", package="epialleler")
capture.bed <- system.file("extdata", "capture.bed", package="epialleler")
bam.data <- preprocessBam(capture.bam, targets=capture.bed)
cg.vef.report <- generateCytosineReport(bam.data)

Note: Inputs are a short-read BAM file and a target BED file; output is a data.table containing the cytosine VEF report.

Long Read Methylation Analysis

library(epialleler)
longread.bam <- system.file("extdata", "longread.bam", package="epialleler")
longread.data <- preprocessBam(longread.bam, min.mapq=30, min.baseq=20, min.prob=178)
cg.report <- generateCytosineReport(longread.data, threshold.reads=FALSE)

Note: Input is a long-read BAM file; output is a conventional cytosine report.

Methylation Bimodality Ecdf

library(epialleler)
# Assess potential bimodality of methylation for genomic regions of interest
# generateBedEcdf(bam, bed)

Note: Inputs are a BAM file and a BED file of genomic regions; output is an assessment of methylation bimodality.

Methylation Calling Unannotated Bams

library(epialleler)
input.bam <- system.file("extdata", "test", "bwameth-se-unsort-yd.bam", package="epialleler")
output.bam <- tempfile(pattern="output-", fileext=".bam")
genome <- preprocessGenome(system.file("extdata", "test", "reference.fasta.gz", package="epialleler"))
callMethylation(input.bam, output.bam, genome)

Note: Inputs are an unannotated BAM file and a preprocessed reference genome; output is a new BAM file containing XG/XM tags.

Sequence Variant Association

library(epialleler)
# Test the association of methylation with single-nucleotide variations within epialleles
# generateVcfReport(bam, vcf)

Note: Inputs are a BAM file and a VCF file; output is a VCF report testing SNV-epiallele association.

Long Read Methylation Reporting

library(epialleler)
longread.bam <- system.file("extdata", "longread.bam", package="epialleler")
longread.data <- preprocessBam(longread.bam, min.mapq=30, min.baseq=20, min.prob=178)
cg.report <- generateCytosineReport(longread.data, threshold.reads=FALSE)

Note: Input is a long-read BAM file; output is a conventional cytosine report.

Methylation Pattern And Ecdf Visualization

library(epialleler)
# Explore DNA methylation patterns of genomic regions of interest
# patterns <- extractPatterns(bam, bed)
# plotPatterns(patterns)

Note: Inputs are a BAM file and a BED file; output is a visualization of methylation patterns.

Short Read Methylation Calling

library(epialleler)
input.bam <- system.file("extdata", "test", "bwameth-se-unsort-yd.bam", package="epialleler")
output.bam <- tempfile(pattern="output-", fileext=".bam")
genome <- preprocessGenome(system.file("extdata", "test", "reference.fasta.gz", package="epialleler"))
callMethylation(input.bam, output.bam, genome)

Note: Inputs are an unannotated BAM file and a preprocessed reference genome; output is a new BAM file containing XG/XM tags.

Snv Epiallele Association

library(epialleler)
# Test the association of methylation with single-nucleotide variations within epialleles
# generateVcfReport(bam, vcf)

Note: Inputs are a BAM file and a VCF file; output is a VCF report testing SNV-epiallele association.

When to Use

  • To call and report cytosine methylation levels (beta values) and variant epiallele frequencies (VEF) of hypermethylated alleles from BAM files.
  • To analyze DNA methylation patterns at the level of individual cytosines (generateCytosineReport) or genomic regions (generateBedReport, generateAmpliconReport, generateCaptureReport).
  • To call methylation on unannotated short-read BAM files lacking XG/XM tags using callMethylation and a preprocessed reference genome (preprocessGenome).

When NOT to Use

  • For long-read sequencing where thresholding is not recommended; use generateMhlReport to calculate Linearised Methylated Haplotype Load (lMHL) instead of VEF.
  • For multi-threaded BAM reading/writing if HTSlib is not configured; though nthreads can speed up decompression.

Data Requirements

  • BAM files: Short-read BAMs must contain XG and XM tags (or be processed with callMethylation). Long-read BAMs must contain MM and ML tags.
  • BED files: Genomic coordinates for targeted regions (amplicon or capture).
  • FASTA files: Reference genome sequence (only required for short-read methylation calling via preprocessGenome).

Key Parameters

  • bam: Path to the input BAM file or preprocessed BAM data.
  • threshold.reads (TRUE): Whether to produce a thresholded (VEF) report. Set to FALSE for conventional cytosine reports.
  • filter.reads (TRUE): Whether to drop reads with too few in-context cytosines or high out-of-context methylation.
  • min.mapq (0): Minimum mapping quality threshold for reads.
  • min.baseq (0): Minimum base quality threshold.
  • min.prob (0): Minimum probability threshold for long-read modifications.
  • nthreads (1): Number of decompression threads to speed up BAM/FASTA reading.

Best Practices

  • Preprocess large BAM files once using preprocessBam and pass the resulting object to downstream reporting functions to save time.
  • For paired-end short-read data, ensure the BAM file is sorted by QNAME (unsorted) so that preprocessBam can merge overlapping read pairs correctly.
  • Keep filter.reads=TRUE for short-read bisulfite or enzymatic sequencing to remove reads from incompletely converted DNA molecules.

Common Pitfalls

  • Running preprocessBam on a location-sorted paired-end BAM: Sort by QNAME first using samtools sort -n.
  • Missing XG/XM tags in short-read BAMs: Run callMethylation with a preprocessed reference genome first.

Alternatives

  • Bismark or Modkit for general methylation extraction.

References

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

The package contains functions for exploratory oligonucleotide array analysis. The dependence on tkWidgets only concerns few convenience functions. 'affy' is fully functional without it.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bioMate-AI/biomate-bioconductor-kb7972026년 6월 21일 업데이트

This tool uses the label-tree function from HyPhy to annotate a phylogenetic tree. It allows users to select a subset of leaves using either a regular expression or a list of sequence names, and then apply a specified label to these selecte

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bioMate-AI/biomate-bioconductor-kb7972026년 6월 21일 업데이트

This package provides a client for the Bioconductor AnnotationHub web resource. The AnnotationHub web resource provides a central location where genomic files (e.g., VCF, bed, wig) and other resources from standard locations (e.g., UCSC, En

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bioMate-AI/biomate-bioconductor-kb7972026년 6월 21일 업데이트

apeglm provides Bayesian shrinkage estimators for effect sizes for a variety of GLM models, using approximation of the posterior for individual coefficients.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bioMate-AI/biomate-bioconductor-kb7972026년 6월 21일 업데이트

ASURAT is a software for single-cell data analysis. Using ASURAT, one can simultaneously perform unsupervised clustering and biological interpretation in terms of cell type, disease, biological process, and signaling pathway activity. Inputting a single-cell RNA-seq data and knowledge-based databases, such as Cell Ontology, Gene Ontology, KEGG, etc., ASURAT transforms gene expression tables into original multivariate tables, termed sign-by-sample matrices (SSMs).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bioMate-AI/biomate-bioconductor-kb7972026년 6월 21일 업데이트

AUCell allows to identify cells with active gene sets (e.g. signatures, gene modules...) in single-cell RNA-seq data. AUCell uses the "Area Under the Curve" (AUC) to calculate whether a critical subset of the input gene set is enriched with

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

bioMate-AI/biomate-bioconductor-kb7972026년 6월 21일 업데이트

bioMate-AI의 스킬 모두 보기

이 스킬의 문제 신고