Entering edit mode
4.0 years ago
hkarakurt
▴
190
Hello everyone, I am looking for a method that calculates GC content of a specific genomic region. I could not find an automated Python (or R) library that calculates GC content around a location.
For example; I want the GC contect of + and - 20bp around Chr3 16500 location. Is it possible to do it?
Thank you in advance.
Hi,
You can use Biopython to import a sequence, to subset a sequence to the region of interest and then just apply the function
GC()
, like appears explained in the documentation:I hope this helps,
António