Answered step by step
Verified Expert Solution
Question
1 Approved Answer
( 3 0 points ) Ribosome Function a . Make a dictionary of RNA codons and aminoacids ( use the table in the slides )
points Ribosome Function
a Make a dictionary of RNA codons and aminoacids use the table in the slides
You must have done this step last week in the lab, you can use the same code. If not, use codonaatxt file, read the text into Python and make your dictionary using this information.
b Read the sequence in seq.txt as a string into Python remove nonnucleotide characters such as numbers, spaces, line breaks!
c Write a function that takes an RNA sequence and a dictionary as optional arguments, the default values will be the dictionary and the sequence you prepared in parts a and
d The function should find one gene start codon stop codon and find the aminoacid sequence of the gene region using the RNA sequence and the dictionary.
e Test it with default values and write the aminoacid sequence in a file.
points Missense Mutation Function
a Write a function that takes three arguments: an RNA sequence, a codonaminoacid dictionary and a point mutation on RNA
b The function should call the function you wrote in Qc to convert the RNA sequence to aminoacid sequence conversion can run either on whole sequence or a part of it
c Then function should return the index of the aminoacid effected by the mutation and if the mutation changes the aminoacid that is coded by the codon missense mutation or not
Note: Mutation information should be provided as follows:
ron RNA, in position is is replaced by
pProArg on protein, proline at position is replaced by arginine
points Data Extraction and Standardization
The data file 'geneexpression.txt gives a table of gene expression values of genes in replicates from an RNAseq experiment. Each line of the file gives expression values for one gene.
a Write a Python script that reads the file, standardizes the expression values and saves them in a new file.
a Write a function for standardization, it should take a list of numbers and return their standardized values as a tuple or list.
b Call the function for each gene in your script, save the standardized values as a table in your output file.
Standardization means converting an X variable distributed with normal distribution into zvalue, which is distributed by standard normal distribution. The formula is as follows:
You can calculate mean and std of a gene by using:
import numpy as np
#dotsx are expression values of a gene mean npmean
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started