Skip to content

AthanasiaSia/reverse-complement-DNA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

reverse-complement-DNA

Python script that calculates the complement and reverse complement of a DNA sequence.

Description

This program takes a DNA sequence as input and generates:

  • the complementary strand, where each base (A, T, C, G) is replaced by its complementary pair (T, A, G, C)
  • the reverse complement, which is the complementary strand read in reverse order (5' → 3')

Example

Input: ATGCGCAA Output: Complement strand: TACGCGTT Reverse complement: TTGCGCAT

About

Python script that calculates the complement and reverse complement of a DNA sequence.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors