downloadDb: Database download

Description Usage Arguments Value Examples

View source: R/downloadDb.R

Description

Downloads database from EBI ftp server.

Usage

1
2
downloadDb(URL, type = "nuc", directory = getwd(),
  mergeIntoOneFasta = FALSE, name = "database")

Arguments

URL

URL to database on EBI

type

type of sequences (nuc for nucletide, prot for aminoacid)

directory

directory to which the database is saved

mergeIntoOneFasta

TRUE: merge all FASTA files to a single FASTA file

name

name of the merged FASTA file

Value

None

Examples

1
download_DB('ftp://ftp.ebi.ac.uk/pub/databases/ipd/mhc/nhp/')

janmatula/genDP documentation built on Feb. 2, 2021, 7 p.m.