gc_content.RdCalculate the GC content for a region
gc_content(bam, index, reg)
| bam | the cram/bam/sam file |
|---|---|
| index | the index of the cram/bam/sam file |
| reg | the region of interest, typically in format of chr1:start-begin |
a dataframe with the sequnce reads, counts of GC bases, and proportion of GC per read
# NOT RUN { gc_content(bam, index, "chr1:10001-100050") # }