are_tmhs: Are the sequences transmembrance helices?

View source: R/are_tmhs.R

are_tmhsR Documentation

Are the sequences transmembrance helices?

Description

Are the sequences transmembrance helices?

Usage

are_tmhs(protein_sequences, folder_name = get_default_pureseqtm_folder())

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

Value

a vector of booleans of the same length as the number of sequences. The ith element is TRUE if the ith protein sequence is a transmembrane helix

Author(s)

Richèl J.C. Bilderbeek

Examples

if (is_pureseqtm_installed()) {
  sequences <- c(
    "QEKNWSALLTAVVIILTIAGNILVIMAVSLEKKLQNATNYFLM",
    "VVIILTIRGNILVIMAVSLE"
  )
  are_tmhs(sequences)
}

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