This function is used to download the Cambridge Centre for Proteomics cRAP FASTA database using sequences from the lastest UniProt release.

download_ccp_crap(file, is_crap = TRUE, overwrite = FALSE, verbose = TRUE)

Arguments

file

character, filepath to save the fasta to e.g. "crap.fasta"

is_crap

logical, should cRAP001, cRAP002, etc. be appended to the sequence headers in the FASTA file? Default is TRUE

overwrite

logical, if the FASTA file already exists should it be overwritten? Default is FALSE

verbose

logical, should the function send messages to the console? Default is TRUE

Value

Returns a FASTA saved to disk at the specified file path.

Examples

if (FALSE) {
download_ccp_crap("path/to/file/2021-01_CCP_cRAP.fasta")
}