This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Translating DNA into protein sequence considering ORF

Hi everyone.

I'm stuck and I need help

Homework: Write a module called bioepm with functions to read and write fasta files and a Python function called translate that takes as a parameter a sequence of nucleotides (string), translates the sequence received considering the 6 reading frames and returns a dictionary with the keys: 'f1', 'f2', 'f3', 'f4', 'f5', and 'f6', and the respective amino acid sequences. Disregard STOP codons by placing an '*' in the corresponding place.

I was able to do the functions to read and write the fasta files but I can't figure it out how to do the rest.

fasta sequence dictionary

No one can troubleshoot without details of your code, and no one wants to write code for you. What exactly did you try?

0 answers

No answers yet.

Log in to answer this question.