Import a GFF3 File

Share:

Description

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

Usage

1
  importGFF3(gff, chromosomes)

Arguments

gff

File name of the gff3 file.

chromosomes

Matrix with chromosome/accession number pair.

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).

Value

A data table.

Author(s)

Daniel Fischer