Learn R Programming

GenomicTools (version 0.2.6)

importGFF3: Import a GFF3 File

Description

This function imports a gff3 file, as provided by NCBI.

Usage

importGFF3(gff, chromosomes)

Arguments

gff

File name of the gff3 file.

chromosomes

Matrix with chromosome/accession number pair.

Value

A data table.

Details

This function imports a standard gff3 file as provided by NCBI. The gff3 files on NCBI do not have a chromosome identifier, but they use the accession ID of the chromosome instead. For that reason, on can provide a matrix (as 'chr_accessions...' on the NCBI ftp server).