Question: IN MATLAB A DNA molecule can be represented as a sequence of Adenine, Guanine, Cytosine, and Thymine nucleotides (A,C,G,T). The GC-content of a DNA molecule

IN MATLAB A DNA molecule can be represented as a sequence of Adenine, Guanine, Cytosine, and Thymine nucleotides (A,C,G,T). The GC-content of a DNA molecule is calculated as the ratio of Cytosine or Guanine nucleotides. For example, the GC-content of the DNA sequence ACACCGCTGT is 0.6 (There are 6 G or C nucleotides out of 10 total). Write a function gccontent( s ) that returns the GC-content of the DNA sequence s.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!