Retrieve annotation *.gff files for metagenomes from NCBI Genbank — getMetaGenomeAnnotations • biomartr
Description: Retrieve available annotation *.gff files for metagenomes from NCBI Genbank. NCBI Genbank allows users to download entire metagenomes and their annotations of several metagenome projects. This function downloads available metagenomes that can then be downloaded via getMetaGenomes.

# Retrieve annotation *.gff files for metagenomes from NCBI Genbank

Source: `R/getMetaGenomeAnnotations.R`
`getMetaGenomeAnnotations.Rd`

Retrieve available annotation *.gff files for metagenomes from NCBI Genbank. NCBI Genbank allows users to download entire metagenomes and their annotations of several metagenome projects. This function downloads available metagenomes that can then be downloaded via `getMetaGenomes`.

    getMetaGenomeAnnotations(
      name,
      path = file.path("_ncbi_downloads", "metagenome", "annotations")
    )

## Arguments

name

  metagenome name retrieved by `listMetaGenomes`.

path

  a character string specifying the location (a folder) in which the corresponding metagenome annotations shall be stored. Default is `path` = `file.path("_ncbi_downloads","metagenome","annotations")`.

## See also

`getMetaGenomes`, `listMetaGenomes`, `getGFF`

## Author

Hajk-Georg Drost

## Examples

    if (FALSE) {
    # Frist, retrieve a list of available metagenomes
    listMetaGenomes()

    # Now, retrieve the 'human gut metagenome'
    getMetaGenomeAnnotations(name = "human gut metagenome")
    }