Question: Write a script that get the input of dna sequence from user and validate the input is a dna sequence. If the input is a

Write a script that get the input of dna sequence from user and validate the input is a dna sequence. If the input is a dna sequence, calculate the GC percent of dna and display the result. (Using python)
E.g.
Enter dna sequence: aaccggtt
GC percentage: 50%
Enter dna sequence: aaccggut
The input is not a dna sequence.

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!