View source: R/predict_topology.R
predict_topology | R Documentation |
Predict the topology of zero, one or more proteins, of which the names and sequences are stored in the FASTA format
predict_topology(
fasta_filename,
folder_name = get_default_pureseqtm_folder(),
topology_filename = tempfile(fileext = ".top")
)
fasta_filename |
path to a FASTA file |
folder_name |
superfolder of PureseqTM.
The superfolder's name is |
topology_filename |
name of the file to save a protein's topology to |
a tibble with the columns 'name' and 'topology', where the 'name' column hold all the proteins' names, and 'topology' contains all respective topologies.
unlike PureseqTM, the topologies predicted are returned in the same order as the original sequences. A bugreport is posted at the PureseqTM GitHub repository at https://github.com/PureseqTM/PureseqTM_Package/issues/11
Richèl J.C. Bilderbeek
use mock_predict_topology to do a mock prediction, as can be useful in testing
if (is_pureseqtm_installed()) {
fasta_filename <- get_example_filename("1bhaA.fasta")
predict_topology(fasta_filename)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.