Module 11
Basic sequence statistics
Computing stats with Biopython.
Statistics
Biopython provides functions for common sequence statistics, including GC content.
from Bio.Seq import Seq
from Bio.SeqUtils import gc_fraction
seq = Seq("ATGCGCAT")
print(gc_fraction(seq) * 100)Your task
GC with Biopython
- Compute GC content using gc_fraction.