check_uniprot_release: Check the current UniProt release

View source: R/make_fasta.R

check_uniprot_releaseR Documentation

Check the current UniProt release

Description

UniProt releases are published approximately every 8 weeks. This function checks what the current UniProt release is.

Usage

check_uniprot_release()

Value

Returns a character, the current release number in the format YYYY_XX where YYYY is the calendar year and XX a 2-digit number that is incremented for each release of a given year, e.g. 2010_01, 2010_02, etc.

Examples

# print release number to console
check_uniprot_release()

# save release number and use in e.g. a file name
rls <- check_uniprot_release()

paste0("folder/filename_", rls, ".fasta")


CambridgeCentreForProteomics/camprotR documentation built on July 7, 2024, 2:13 a.m.