Retrieves a set of sequences from a BSgenome object and optionally appends a label to each sequence id.

Share:

Description

This is just a wrapper to getSeq() in package Biostrings that facilitates adding a label to each sequence.

Usage

1
getSequencesFromGenome(BED, genome, append.id)

Arguments

BED

file with peak locations in BED format.

genome

a BSgenome object (e.g. Mmusculus)

append.id

optional label to append to each sequence id.

Author(s)

Diego Diez

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.