Rosalind - Computing GC Content
rosalindProblem:
Please find the problem here.
Solution:
The only challenge for this problem is to parse the FASTA format. To make life easy, I added a ‘>’ sign at the end of all the inputs - now every DNA is simply a ‘>’ terminating string. Therefore a simple scan of the file parses all the input correctly.
Code: