本文へ移動
cccskills
無料GitHub で公開

bioconductor-macsr

The Model-based Analysis of ChIP-Seq (MACS) is a widely used toolkit for identifying transcript factor binding sites. This package is an R wrapper of the lastest MACS3.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md3.5 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

MACSr

Workflows

Standard Workflow

library(MACSr)

# Call narrow peaks
cp1 <- callpeak(CHIP, CTRL, gsize = 5.2e7, store_bdg = TRUE,
                name = "run_callpeak_narrow0", outdir = tempdir(),
                cutoff_analysis = TRUE)

# Call broad peaks
cp2 <- callpeak(CHIP, CTRL, gsize = 5.2e7, store_bdg = TRUE,
                name = "run_callpeak_broad", outdir = tempdir(),
                broad = TRUE)

Input: ChIP-seq treatment and control alignment files (e.g., BED or BAM format). Output: A macsList object containing paths to called peaks (narrow or broad), summits, and bedGraph files.

When to Use

  • Calling narrow or broad peaks from ChIP-seq alignment files using callpeak().
  • Performing ATAC-seq chromatin accessibility peak calling using the Hidden Markov Model-based hmmratac().
  • Comparing two signal tracks in bedGraph format using bdgcmp() or detecting differential peaks using bdgdiff().
  • Predicting fragment size or d from alignment results using predictd().

When NOT to Use

  • For initial sequence alignment or quality control of raw fastq files, use aligners like Rsubread or external tools like Bowtie2.
  • For downstream peak annotation and motif discovery, use packages like ChIPseeker or motifStack.

Data Requirements

  • Alignment files in BED, BAM, or other supported formats (can be gzipped).
  • Effective genome size (gsize) corresponding to the organism of interest.

Key Parameters

  • gsize (required): Effective genome size (e.g., 5.2e7 for a subset or standard values for organisms).
  • store_bdg (FALSE): Logical indicating whether to save pileup and lambda signal tracks in bedGraph format.
  • broad (FALSE): Logical indicating whether to call broad peaks instead of narrow peaks.
  • cutoff_analysis (FALSE): Logical indicating whether to perform cutoff vs peak count analysis.
  • name ("NA"): Character string prefix for output files.
  • outdir ("."): Directory path where output files will be written.

Best Practices

  • Always provide a control/input sample (CTRL) to increase peak-calling specificity and reduce false positives.
  • Enable store_bdg = TRUE to generate signal tracks for downstream visualization in genome browsers.
  • Inspect the execution log stored in the macsList object using cat(paste(cp1$log, collapse="\n")) to verify model building and fragment size prediction.

Common Pitfalls

  • Using an incorrect effective genome size (gsize): This will lead to inaccurate p-value and q-value calculations. Ensure gsize matches your target organism.
  • Forgetting that MACSr writes files directly to disk: Always specify a valid, writable outdir (e.g., tempdir()) to avoid permission issues.

Alternatives

  • BayesPeak: For Bayesian analysis of ChIP-seq data.
  • csaw: For window-based de novo detection of differentially bound regions.

Citations

  • Zhang et al. (2008) "Model-based Analysis of ChIP-Seq (MACS)" (implied by the package description and vignette introduction).

References

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

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-kb8042026年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-kb8042026年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-kb8042026年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-kb8042026年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-kb8042026年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-kb8042026年6月21日 更新

bioMate-AI のスキルをすべて見る

このスキルの問題を報告する