Get metadata about a GFF file

getGFFMetadata(file)

Arguments

file

character(1). File path.

Value

list. Containing values, when possible:

  • directives

  • format

  • genomeBuild

  • gffVersion

  • md5

  • organism

  • provider

  • release

  • sha256

Note

Updated 2021-02-26.

See also

Examples

url <- pasteURL( "ftp.ensembl.org", "pub", "release-102", "gtf", "homo_sapiens", "Homo_sapiens.GRCh38.102.gtf.gz", protocol = "ftp" ) x <- getGFFMetadata(url)
#> → Getting GFF metadata for Homo_sapiens.GRCh38.102.gtf.gz.
print(x)
#> $directives #> DataFrame with 5 rows and 2 columns #> key value #> <character> <character> #> 1 genebuild-last-updated 2020-09 #> 2 genome-build GRCh38.p13 #> 3 genome-build-accession NCBI:GCA_000001405.28 #> 4 genome-date 2013-12 #> 5 genome-version GRCh38 #> #> $file #> [1] "ftp://ftp.ensembl.org/pub/release-102/gtf/homo_sapiens/Homo_sapiens.GRCh38.102.gtf.gz" #> #> $format #> [1] "GTF" #> #> $genomeBuild #> [1] "GRCh38.p13" #> #> $md5 #> [1] "69e32eb8ff85bad11005fb06cf4ca0fb" #> #> $organism #> [1] "Homo sapiens" #> #> $provider #> [1] "Ensembl" #> #> $release #> [1] 102 #> #> $sha256 #> [1] "307038294611aaf86c3e61e70273a26c7b3a343cd416feed137e6e86d471ea32" #>