download_ccp_crap: Download CCP cRAP FASTA file

View source: R/download_ccp_crap.R

download_ccp_crapR Documentation

Download CCP cRAP FASTA file

Description

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

Usage

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

## Not run: 
download_ccp_crap("path/to/file/2021-01_CCP_cRAP.fasta")

## End(Not run)


CambridgeCentreForProteomics/camprotR documentation built on Jan. 27, 2023, 8:36 p.m.