run_tmhmm | R Documentation |
The function run_tmhmm_on_one_protein_fasta_file is the function that actually calls TMHMM, on a per-protein basis.
run_tmhmm( fasta_filename, one_protein_fasta_filename = tempfile(fileext = ".fasta"), folder_name = get_default_tmhmm_folder() )
fasta_filename |
path to a FASTA file |
one_protein_fasta_filename |
name of a FASTA file, that contains one name and one sequence |
folder_name |
superfolder of TMHMM.
The superfolder's name is |
the topology as text, in a similar form as a FASTA file,
for example c(">Protein A", "iiiimmmmmoooo")
.
Use predict_topology to get the same result
in the form of a tibble
Richèl J.C. Bilderbeek
Use mock_run_tmhmm to mock this function
if (is_tmhmm_installed()) { fasta_filename <- system.file("extdata", "tmhmm.fasta", package = "tmhmm") topology_text <- run_tmhmm(fasta_filename) cat(topology_text, sep = "\n") }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.