Strings from Data (Strings)

A colleague has produced a file with one DNA sequence on each line. Download the file and load it into R using read_delim(). The file has no header and is separated by white space ("").

Calculate the GC content of each sequence. The GC content is the percentage of bases that are either G or C (as a percentage of total base pairs). Print each GC content in order to the screen (in %).

Expected outputs for Strings from Data