def GC_wide(genome, window=<NUM_LIT:1000>):
GC = []<EOL>from Bio import SeqIO<EOL>with open(genome) as handle:<EOL><INDENT>sequence = "<STR_LIT>".join([str(record.seq)<EOL>for record in SeqIO.parse(handle, "<STR_LIT>")])<EOL><DEDENT>n = len(sequence)<EOL>for i in range(<NUM_LIT:0>, n, window):<EOL><INDENT>portion = sequence[i:min(i + window, n)]<EOL>GC.append(GC_partial(portion))<EOL><DEDENT>return GC<EOL>
Compute GC across a window of given length.

    :note: Requires Biopython