Computing GC Content Problem The GC content of a DNA string is given bythe percentage of symbols in the string that are 'C' or 'G'. For example, theGC content of AGCTATAG is 37.5%. Note that the reverse complementof any DNA string has the same GC content. DN ...
Complementing a Strand of DNA In DNA strings, symbols 'A' and 'T' arecomplements of each other, as are 'C' and 'G'. The reverse complement of a DNA string s isthe string sc formed by reversing the symbols of s, then taking the complementof each symbol (e.g. ...
Counting DNA nucleotides An example of a length 21 DNA string (whosealphabet contains the symbols 'A', 'C', 'G', and 'T') isATGCTTCAGAAAGGTCTTACG. Given: ADNA string s of length at most 1000 nt. Return: Fourintegers (separated by spaces) counting ...