Branch | ||
---|---|---|
master | ||
develop |
R package for TMHMM [1].
- Linux
- Mac (future)
- Windows (never, as TMHMM does not support Windows)
usethis::install_github("richelbilderbeek/tmhmm")
Install TMHMM to a default folder:
library(tmhmm)
install_tmhmm()
We need a FASTA file:
fasta_file <- system.file("extdata", "example.fas", package = "tmhmm")
Calling tmhmm_run
will do the NetMHC2pan analysis:
df <- tmhmm_run(fasta_file)
The data frame df
contains the results.
cat example.fasta | /home/richel/.local/share/tmhmm-2.0c/bin/decodeanhmm.Linux_x86_64 -f /home/richel/.local/share/tmhmm-2.0c/lib/TMHMM2.0.options -modelfile /home/richel/.local/share/tmhmm-2.0c/lib/TMHMM2.0.model