Prompts the user to enter an oligonucleotide sequence

Assignment Help Python Programming
Reference no: EM132196737

Write a program that prompts the user to enter an oligonucleotide sequence, such as TATGAGCCCGTA. If the user entered a valid oligo sequence consisting only of the characters A, C, G, or T, the program should then display the reverse complement of that sequence, in this case TACGGGCTCATA, along with text indicating that it is the reverse complement. After displaying the reverse complement, the program should then prompt the user to enter another sequence.

The program should continue this pattern of prompting the user for a new oligo sequence and displaying its reverse complement until the user enters a sequence with at least one character that is invalid (i.e. a character other than A, C, G, or T).

At this point, the program should end its run with a message that mentions that an invalid character was found, with no further prompting to the user.

Reference no: EM132196737

Questions Cloud

What is the total expected revenue : A company had a steady revenue of $30,756. They expects revenue to decrease by $5,322 over the next 9 years. What is the total expected revenue worth right now.
Advocates of retrospective methodology claim : Advocates of retrospective methodology claim there are distinguishing characteristics that increase its value over past lessons learned methods.
Calculate major components of canadian gdp expenditure : Calculate which are the major components of Canadian GDP expenditure and income based from 2013 to 2017 (by year). In order to do that.
Distinctions between the financial analysis tools : What are the primary distinctions between the following financial analysis tools?
Prompts the user to enter an oligonucleotide sequence : Write a program that prompts the user to enter an oligonucleotide sequence - After displaying the reverse complement, the program should then prompt
Balance appropriateness with stakeholder concerns : How does one balance appropriateness with stakeholder concerns? Discuss in not less than 200 words.
Write a c program that when you type in five numbers : Write a C program that when you type in five numbers, it will print the number from the smallest one to the largest one.
What will the yearly payment be : Go to the St. Louis Federal Reserve FRED database, and find data on the interest rate on a four-year auto loan (TERMCBAUTO48NS). Assume that you borrow $20,000.
Successful change management program : What do you think is the most important aspect of having a successful Change Management Program?

Reviews

Write a Review

Python Programming Questions & Answers

  Write an expression that concatenates the string

Write an expression that concatenates the String variable suffix onto the end of the String variable prefix .

  Compute the acceleration of gravity for a given distance

Compute the acceleration of gravity for a given distance from the earth's center, dist_center, assigning the result to accel_gravity.

  Same directory as your program

In the same directory as your program, create a file FF1, and write into it Hello (with a space at teh end). Similarly, create a file FF2, and write into it world! (with a new line, i.e., an ENTER at the end). And create a file DD and write into i..

  Review the functional requirements section

Review the Functional Requirements section and make sure you hit all the points. This will not guarantee a perfect score, however

  Write a program to read data from summary table

Write a program to: Read data from "SUMMARY" table on FTSE 100 index web page (sea Fig 1) then save them into your Python code

  Determine how many students scored above the average

He wants to average the grades for his last exam in his medieval literature course and then determine how many students scored above the average and how many scored below.

  Write a program to simulate the grocery store

You have been asked to write a program to simulate the grocery store as it checks out customers. YOU ARE REQURED TO USE A QUEUE TO SOLVE THE PROBLEM.

  Create functions to simplify your code

Create functions to simplify your code. If you find yourself writing the same code over and over again, it should probably be made into a function.

  Calculate the average monthly private employment

Since the transition from one term to another occurs partway through January, the last year listed for any president is the same as the first year of the next president. Calculate the average monthly private employment for each political party.

  What happens when you run the program

Your results; what happens when you run it? This could be a printout, one or more screenshots, something to show that it works.

  Write a function digitize that takes two parameters

Write a function digitize (using loops) that takes two parameters: one integer parameter and one bool parameter.

  Create a new file in your repository

Create four functions, sequential search, ordered sequential search, binary search_iterative and binary search_recursive, and use the code from the section

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd