Question
write toString that just prints out info below in the same format: Region Name: cure for cancer protein Nucleotides: ATGCCACTATGGTAG Nuc. Counts: [4, 3, 4,
write toString that just prints out info below in the same format:
Region Name: cure for cancer protein Nucleotides: ATGCCACTATGGTAG Nuc. Counts: [4, 3, 4, 4] Total Mass%: [27.3, 16.8, 30.6, 25.3] of 1978.8
Region Name: captain picard hair growth protein Nucleotides: ATGCCAACATGGATGCCCGATATGGATTGA Nuc. Counts: [9, 6, 8, 7] Total Mass%: [30.7, 16.8, 30.5, 22.1] of 3967.5 1.Region Name: bogus protein 2.Nucleotides: CCATT-AATGATCA-CAGTT 3.Nuc. Counts: [6, 4, 2, 6] 4.Total Mass%: [32.3, 17.7, 12.1, 29.9] of 2508.1
Output meaning:
row 1.region Name - read in and written to output file
row 2.Nucleotides - read in from input and written out to output- change to all uppercase
row 3.Nuc Counts - array representing count of A,C,G,T in that order from string
row 4.Total Mass %- A,C,G,T and - have different masses. Sum the mass for each type. Get overall total then find the percentages of total for A,C,G,T
Adenine (A): 135.128
b. Cytosine (C): 111.103
c. Guanine (G): 151.128
d. Thymine (T): 125.107
e. Junk (-): 100.000
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