Skip to content

Instantly share code, notes, and snippets.

View niekwit's full-sized avatar

Niek Wit niekwit

View GitHub Profile
@niekwit
niekwit / annotate_MACS2_peaks.R
Created August 30, 2023 14:22 — forked from slavailn/annotate_MACS2_peaks.R
Annotate MACS2 peaks using ChIPpeakAnno
library("ChIPpeakAnno")
library("GenomicRanges")
library("org.At.tair.db")
library("TxDb.Athaliana.BioMart.plantsmart28")
library("biomaRt")
# Annotate genomic intervals in bed format using ChIPpeakAnno
# This script was designed for Arabidopsis, but can be easily changed for
# any other organism available through biomaRt