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

  Scene recognition using object detection

Using the images and their annotations (dataset will be provided by me), train the capsule neural network, Fast-RCNN, Faster RCNN and Mask RCNN

  Write the code to allow user to input three integer numbers

Write the code to allow a user to input three integer numbers. The program will then produce the average of thosethree numbers

  Write python program that prompt user to enter integer value

Write a python program that computes the average of 5 numbers. Create 5 variables to store 5 different integers. Prompt the user to input the integers.

  Project - movie lovers club

The Movie Lovers Club is a club of persons that love to watch movies and keep track of how many times they have watched the movies they love.

  Print the following table to display the sin and cos value

Print the following table to display the sin value and cos value of degrees from 0 to 360 with increments of 10 degrees round the value to keep four digits.

  Write program that prompt user for strictly positive integer

Write a program that prompts the user for a strictly positive integer N, generates a list of N random integers between -50 and 50 (included)

  Create a class called palindrome

Create a class called Palindrome. In your Palindrome class, create a method called reverse() which takes a string argument.

  Write program to input two colors and output resulting color

Write a program to input two colors, and output the resulting color. Be sure to give the user instructions for inputting the names of the colors.

  Read and analyse the ice cream weekly sales data

ICT702 - Data Wrangling - university of sunshine coast - Below Zero - ice cream store - read and analyse the ice cream weekly sales data and generate various

  Write a program that does simple packet routing

Write a program that does simple packet routing and your program will take three command-line arguments:

  Prepare program that will compute tip and tax on meal price

CS21A Lab 3: Functions- Write a program that will calculate a XXX% tip and a 6% tax on a meal price. Python comes with a standard library of functions. Some of the functions that you have used already are input, type, and range.

  Programmer does not have to use the def statement

Unlike Z+-, the programmer does not have to use the DEF statement to create a variable. Instead, the programmer can simply use the variable. The first use of the variable creates it and initializes it to 0.

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