buildREmap: Build a genome wide cut site map for a Restriction Enzyme...

Description Usage Arguments Value Author(s) Examples

View source: R/buildREmap.R

Description

Build a genome-wide cut map for a Restriction Enzyme (RE)

Usage

1
buildREmap(REpatternFilePath, format = "fasta", BSgenomeName, outfile)

Arguments

REpatternFilePath

File path storing the recognition pattern of a RE

format

format of the pattern file, either "fasta" (the default) or "fastq

BSgenomeName

BSgenome object, please refer to available.genomes in BSgenome package for details

outfile

temporary output file for writing the matched chromosome location to

Value

Output REmap as a GRanges

Author(s)

Lihua Julie Zhu

Examples

1
2
3
4
	library(REDseq)
	REpatternFilePath = system.file("extdata", "examplePattern.fa", package="REDseq")
	library(BSgenome.Celegans.UCSC.ce2)
	buildREmap( REpatternFilePath, BSgenomeName=Celegans, outfile=tempfile())

REDseq documentation built on Nov. 8, 2020, 8:19 p.m.