<< btd_entropydna BTD btd_isoelectricpoint >>

BTD >> BTD > btd_gccontent

btd_gccontent

Computes the GC content of a DNA sequence

Calling Function

y = btd_gccontent(x)

Arguments

x

String of single-letter codes specifying a DNA sequence

y

Fraction of G+C bases of given DNA sequence (string)

Description

y = btd_gccontent(x) calculates the number of G and C in a given DNA sequence x.

Examples

y = btd_gccontent("ATCGATCGATCGTATATGCTAGCTA")
--> y = btd_gccontent("ATCGATCGATCGTATATGCTAGCTA")
 y  = 
 40 % 

See Also


Report an issue
<< btd_entropydna BTD btd_isoelectricpoint >>