predict_topologies_from_sequences: Run PureseqTM directy on a protein sequence

View source: R/predict_topologies_from_sequences.R

predict_topologies_from_sequencesR Documentation

Run PureseqTM directy on a protein sequence

Description

Run PureseqTM directy on a protein sequence

Usage

predict_topologies_from_sequences(
  protein_sequences,
  folder_name = get_default_pureseqtm_folder(),
  temp_fasta_filename = tempfile(fileext = ".fasta")
)

Arguments

protein_sequences

one ore more protein sequence, each sequence with the amino acids as capitals, for example MEILCEDNTSLSSIPNSL

folder_name

superfolder of PureseqTM. The superfolder's name is /home/[user_name]/.local/share by default, as can be obtained by get_default_pureseqtm_folder

temp_fasta_filename

temporary FASTA filename, which will deleted after usage

Value

a topology as a string of zeroes and ones, where a one denotes that the corresponding amino acid is located within the membrane.

Author(s)

Richèl J.C. Bilderbeek

See Also

use mock_predict_topologies_from_sequences to mock the prediction of protein sequences, as can be useful in testing

Examples

if (is_pureseqtm_installed()) {
  protein_sequence <- paste0(
    "QEKNWSALLTAVVIILTIAGNILVIMAVSLEKKLQNATNYFLM",
    "SLAIADMLLGFLVMPVSMLTILYGYRWP"
  )
  predict_topology_from_sequence(protein_sequence)
}

pureseqtmr documentation built on April 6, 2023, 5:20 p.m.