View source: R/run_tmhmm_to_file.R
run_tmhmm_to_file | R Documentation |
Creates a FASTA-like file, that has the locations of the amino acids.
run_tmhmm_to_file( fasta_filename, tmhmm_filename, one_protein_fasta_filename = tempfile(fileext = ".fasta"), folder_name = get_default_tmhmm_folder() )
fasta_filename |
path to a FASTA file |
tmhmm_filename |
filename to write the TMHMM results to |
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 |
if (is_tmhmm_installed()) { # Write results to a temporary file tmhmm_filename <- tempfile() run_tmhmm_to_file( fasta_filename = system.file( "extdata", "tmhmm.fasta", package = "tmhmm" ), tmhmm_filename = tmhmm_filename ) # Result is written to 'tmhmm_filename', cleaning up file.remove(tmhmm_filename) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.