View source: R/01_domain_annotation.R
annotate_pfam | R Documentation |
PFAM domains are assigned to each sequence using HMMER.
annotate_pfam(seq = NULL, evalue = 1e-05)
seq |
An AAStringSet object as returned
by |
evalue |
Numeric indicating the E-value threshold for hmmsearch to be used for domains without pre-defined domain cutoffs. Only valid if parameter mode = 'local'. Default: 1e-05. |
A 2-column data frame with the variables Gene and Domain, which contain gene IDs and domain IDs, respectively.
data(gsu)
seq <- gsu[1:5]
if(hmmer_is_installed()) {
annotate_pfam(seq)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.