How to Find the Reverse Complement of a DNA Sequence2
How to Find the Reverse Complement of a DNA Sequence
Create or accept an input file.
minutes
seconds
Read in the file.
minutes
minutes
Create a hash table that maps each nucleotide to its complement.
hours
minutes
Iterate through the sequence and use a hash table lookup to construct the complementary sequence.
minutes
minutes
Print the contents of the vector.
minutes
hours