Reverse-complementation of DNA

Share:

Description

The standard reverse-complement of nucleotide sequences.

Usage

1
reverseComplement(nuc.sequences)

Arguments

nuc.sequences

Character vector containing the nucleotide sequences.

Details

This function uses the Biostrings::reverseComplement function.

Value

A character vector of reverse-complemented sequences.

Author(s)

Lars Snipen and Kristian Hovde Liland.

Examples

1
2
3
ex.file <- file.path(file.path(path.package("microseq"),"extdata"),"small.fasta")
fdta <- readFasta(ex.file)
reverseComplement(fdta$Sequence)