Question: How can I solve this in Python version 3.6.2? Write a Python program that opens a file called dna.txt, a file in fasta format that

How can I solve this in Python version 3.6.2?

Write a Python program that opens a file called "dna.txt", a file in fasta format that contains one sequence, and prints the reverse complement of the dna sequence. For example, if the file contains:

>bonobo

tactagat

then the program should print atctagta. Your program should work for any DNA sequence and not just the one in the example.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!