uniprot.fasta: Fetch FASTA sequence from Uniprot

Description Usage Arguments Author(s)

View source: R/uniprotfasta.R

Description

This function fetches the FASTA sequence directly from the UniProt .fasta page

Usage

1
2
3
4
5
6
uniprot.fasta(
  uniprot.id,
  download.fasta = FALSE,
  console.message = TRUE,
  fasta.directory = getwd()
)

Arguments

uniprot.id

Uniprot ID of sequence wanted in the form "ID-isoform". Leave out isoform if using the canonical sequence.

download.fasta

If TRUE, will download the FASTA file to your chosen directory. Defaults to FALSE.

console.message

If TRUE, will display the name of the FASTA file when being loaded into R in the console. Defaults to TRUE.

fasta.directory

Directory chosen for your downloaded FASTA file. Defaults to current directory.

Author(s)

Emma Gail


egmg726/crisscrosslinker documentation built on Jan. 23, 2021, 1:50 a.m.