Skip to content

A simple add-in for Excel supplying functions to calculate the reverse, complement, and reverse-complement of a nucleotide sequence

Notifications You must be signed in to change notification settings

linxiaopang/Excel-Reverse-Complement

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Excel-Reverse-Complement

A simple add-in for Excel supplying functions to calculate the reverse, complement, and reverse-complement of a DNA or RNA sequence.

Installation

Refer to Excel documentation on how to install Excel Add-Ins. In Excel 2011 for Mac, the procedure is as follows:

  • Select 'Tools->Add-Ins...' and click the 'Select' button
  • Navigate to the .xlam file provided by this package and click 'Open'
  • Ensure that the add-in has a check mark next to it and click 'OK'

Usage

revcom

This returns the reverse complement of a DNA or RNA sequence. It takes in a string and an optional second parameter specifying whether the string is RNA or DNA:

=revcom("DNA/RNA SEQUENCE", isRNA)

replacing "DNA/RNA_SEQUENCE" with the actual sequence or cell reference to be reverse-complemented and isRNA as a 1 if the input sequence is RNA.

Example:

=revcom("ATATCGA") will output "TCGATAT"

complement

This returns the complement of a DNA or RNA sequence. It takes in a string and an optional second parameter specifying whether the string is RNA or DNA:

=complement("DNA/RNA SEQUENCE", isRNA)

replacing "DNA/RNA_SEQUENCE" with the actual sequence or cell reference to be complemented and isRNA as a 1 if the input sequence is RNA.

Example:

=complement("ATATCGA") will output "TATAGCT"

reverse

This returns the reverse of a string.

=reverse("String")

replacing "String" with the actual string to be reversed or a cell reference.

Example:

=reverse("ATATCGA") will output "AGCTATA"

About

A simple add-in for Excel supplying functions to calculate the reverse, complement, and reverse-complement of a nucleotide sequence

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Visual Basic .NET 100.0%