Skip to content

Call TMHMM from R, to predict transmembrane helices in proteins

License

Notifications You must be signed in to change notification settings

richelbilderbeek/tmhmm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tmhmm

Branch Travis CI logo Codecov logo
master Build Status codecov.io
develop Build Status codecov.io

R package for TMHMM [1].

Supported operating systems

  • Linux
  • Mac (future)
  • Windows (never, as TMHMM does not support Windows)

Install

usethis::install_github("richelbilderbeek/tmhmm")

Install TMHMM to a default folder:

library(tmhmm)
install_tmhmm()

Usage

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.

Notes to self

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

About

Call TMHMM from R, to predict transmembrane helices in proteins

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published