Answered step by step
Verified Expert Solution
Question
1 Approved Answer
DNA Transcriber You are given a test file that contains a short DNA sequence. If you are unfamiliar with biology, do not worry, this assignment
DNA Transcriber You are given a test file that contains a short DNA sequence. If you are unfamiliar with biology, do not worry, this assignment is accomplishable without understanding the biology behind it, the only thing you must understand is how to solve the problems through programming! DNA is made up of four bases, adenine (A), cytosine (C), guanine (G), and thymine (T). The DNA file contains a sequence of the uppercase letter abbreviations. This represent some strand of DNA that may make up a particular gene Genes are segments of DNA that encode for specific proteins. Proteins are large compounds that make up and control a large part of your cells and body. This is why your genes determine a large portion of who you are A DNA sequence causes the creation of a protein in two steps, transcription and translation. In this project, we are focused on transcription. Transcription is when the DNA is transcribed into RNA. In other words another strand of bases is created depending on the DNA bases. The bases that match from DNA to RNA are shown in the table. Note that thymine (T) is not present in RNA, instead, a base called uracil (U) is present in its place DNA RNA G C A T You will create a program that will transcribe the DNA sequence in the file into an RNA sequence. Both the DNA sequence and the RNA sequence should be printed to the user. For extra credit, the RNA sequence should also be written to a new file Prelude You will be using a premade project with one existing class called Driver. This will have the main method (where the program starts) inside of it. You will also have a text file named dna.txt within the project folder The DNA Class To store the DNA sequence and to contain relevant methods for DNA, we will create a DNA class 1. Create a new java file that will contain the class DNA. This class should model what DNA should know and do for our application. In this case, a DNA object should know the DNA sequence in question and should transcribe its sequence into a RNA sequence 2. Create the relevant field for the DNA class, a constructor that will set this field, and a getter method Create the transcribe method header 3
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