View source: R/predict_topology_from_sequence.R
predict_topology_from_sequence | R Documentation |
Will stop if the protein sequence is shorter than three amino acids.
predict_topology_from_sequence(
protein_sequence,
folder_name = get_default_pureseqtm_folder(),
temp_fasta_filename = tempfile(fileext = ".fasta")
)
protein_sequence |
a protein sequence, with
the amino acids as capitals, for
example |
folder_name |
superfolder of PureseqTM.
The superfolder's name is |
temp_fasta_filename |
temporary FASTA filename, which will deleted after usage |
a topology as a string of zeroes and ones, where a one denotes that the corresponding amino acid is located within the membrane.
Richèl J.C. Bilderbeek
if (is_pureseqtm_installed()) {
protein_sequence <- paste0(
"QEKNWSALLTAVVIILTIAGNILVIMAVSLEKKLQNATNYFLM",
"SLAIADMLLGFLVMPVSMLTILYGYRWP"
)
predict_topology_from_sequence(protein_sequence)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.