% This function returns the percent of G+C  and A+T 
% in a sequence passed as a parameter.
% seq is the input, and f is compostion of C+G and g is A+T

function  [f, g] = GC (seq)
    comp = basecount(seq);
    g_plus_c = comp.G + comp.C;
    f = g_plus_c / length(seq);
    a_plus_t = comp.A + comp.T;
    g = a_plus_t / length(seq);
end
