Question

In: Computer Science

PYTHON Which of the following are valid ways to create a DNASeq object for the DNA...

PYTHON Which of the following are valid ways to create a DNASeq object for the DNA sequence, GATCGATCGATC? (Select all that apply.)

DNA_seq = new Seq("GATCGATCGATC")

DNA_seq = Seq(IUPACUnambiguousDNA() ,"GATCGATCGATC")

DNA_seq = Seq("GATCGATCGATC")

DNA_seq = Seq("GATCGATCGATC", IUPACUnambiguousDNA())

Solutions

Expert Solution

Given-

The question comprises of finding the valid ways to create a DNASeq object for the DNA Sequence.

Answer-

DNA_seq = Seq("GATCGATCGATC")

option 3

DNA_seq = Seq("GATCGATCGATC", IUPACUnambiguousDNA())

option 4

Explanation-

These seq objects relationg to the DNA Structures like nucleotides, mutables etc comes under "Biopython", which are generally derived from the library: " Bio.Seq " in which there is a subpackage "Seq".

In order to create a new Seq object, the general syntax is:

new = Seq("Required DNA Sequence object to be created","optional biological alphabet")

here: new is the object name, which can be of any specific choice and is left to the user to implement it:

Therefore option 3 is correct.

Coming back to the syntax specified above: There is a second optional term in object creation : which is known as the biological alphabet:which are of wide varieties and be used to the specific requirement, in which one of it is IUPACUnambiguousDNA: which generally specifies that the sequence is of uppercase unambiguous DNA.

Therefore option 4 is also correct.


Related Solutions

Create a C# Application. Create a class object called “Employee” which includes the following private variables:...
Create a C# Application. Create a class object called “Employee” which includes the following private variables: firstN lastN idNum wage: holds how much the person makes per hour weekHrsWkd: holds how many total hours the person worked each week regHrsAmt: initialize to a fixed amount of 40 using constructor. regPay otPay After going over the regular hours, the employee gets 1.5x the wage for each additional hour worked. Methods: constructor properties CalcPay(): Calculate the regular pay and overtime pay. Create...
Create a Python script in IDLE or Kali Python3 CLI to create the following Python Program:...
Create a Python script in IDLE or Kali Python3 CLI to create the following Python Program: Your program will create a username of your choice using a Kali Linux command "useradd -m mark", then set the password for that user using the Kali Linux Command "echo "mark:10101111" | chpasswd". Then you create a dictionary file using the Kali Linux command "crunch 8 8 01 > mylist.txt" Your python script should crack the password for that user and display on the...
DNA mutations can occur in a variety of ways. Choose one of the ways that DNA...
DNA mutations can occur in a variety of ways. Choose one of the ways that DNA mutations can occur that you are learning about this week, identify and briefly describe it. Then, choose a genetic mutation (it can be from your textbook, one you are aware of, or one you learn about through your research of this topic), and describe the type of mutation that it involves. Consider if it affects the ability of the organism to produce proteins correctly,...
Indicate which of the following are valid C++ variable names and which are not. If not,...
Indicate which of the following are valid C++ variable names and which are not. If not, state the reason the name is invalid. Variable Name Valid – Yes/No If Invalid – Reason income 2time int Tom's two fold c3po income#1 item
Write a python program using the following requirements: Create a class called Sentence which has a...
Write a python program using the following requirements: Create a class called Sentence which has a constructor that takes a sentence string as input. The default value for the constructor should be an empty string The sentence must be a private attribute in the class contains the following class methods: get_all_words — Returns all the words in the sentence as a list get_word — Returns only the word at a particular index in the sentence Arguments: index set_word — Changes...
By only importing multiprocessing Write a python program which do the following : 1- Create one...
By only importing multiprocessing Write a python program which do the following : 1- Create one process this process must-read the content of a file “read any file content exist in your machine” and after that create another process in the first process function which will get the file content as a parameter for the second process function. 2- The second process function will get the file content and check out if there are any special characters or numbers in...
Create program which verifies if input string is a valid variable declaration or not. Use C...
Create program which verifies if input string is a valid variable declaration or not. Use C programming language. - This program can only use the following variable types: char, float, and int - Remove any newline \n from input string - The input prompt should say ">>> " - If input declaration is valid, it should print "Valid dec\n" - If input declaration is invalid, it should print "Invalid dec\n" - Make sure the identifier entered matches the rules of...
IN PYTHON Generate valid keys (e, n) for the RSA cryptosystem.
IN PYTHON Generate valid keys (e, n) for the RSA cryptosystem.
Create a plot comparing the force applied to an object versus the angle at which the...
Create a plot comparing the force applied to an object versus the angle at which the force is applied. Alos, plate describe the graph in paragraph form.
In imitation of "A Paring Knife," create a story in which an object with symbolic meaning...
In imitation of "A Paring Knife," create a story in which an object with symbolic meaning turns up after being lost. Have your character(s) do something with it. Whatever they decide to do will be a symbolic act.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT