GC_content {qckitfastq} | R Documentation

## Calculates GC content percentage for each read in the dataset.

### Description

Calculates GC content percentage for each read in the dataset.

### Usage

    GC_content(infile, output_file = NA)

### Arguments

`infile` | the object that is the path to the FASTQ file
`output_file` | File to write results to. Default NA.

### Value

Data frame with read ID and GC content of each read.

### Examples

    infile <- system.file("extdata", "10^5_reads_test.fq.gz",
        package = "qckitfastq")
    head(GC_content(infile))

[Package qckitfastq version 1.4.0 Index]