Reference no: EM132361002
Question
A. Write a program to find the longest open reading frame (ORF) in a given DNA sequence. A. Program name: LongORF.py
B. Suppose you have an input DNA sequence file in FASTA named seq.fas, containing a single sequence. And you want the script to save output ORF sequence ‘ORF.out'. Then sample usage would be >LongORF seq.fas ORF.out
C. Evaluation will be based on the followings
i. Your script should work correctly.
ii. You should provide a proper README file including introduction to your script, error handling, simple explanation to your input and output files. Use a simple text file.
iii. Your script should display proper error message.
iv. Your script should save longest ORF into a file.
v. You should check all 6 reading frames in both DNA strands, and find the longest ORF among all identified ones.
vi. Your script should display an error message when non-nucleotide character is encountered.
vii. Submit a single file containing all of your script, README, and sample sequences.