get_hmm: Query hmmer web server.

Description Usage Arguments Value Note Source See Also Examples

Description

hmmer web server offers biosequence analysis using profile hidden Markov Models. This function allows searching of a protein sequence vs a profile-HMM database (Pfam-A).

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
get_hmm(data, ...)

## S3 method for class 'character'
get_hmm(data, ...)

## S3 method for class 'data.frame'
get_hmm(data, sequence, id, ...)

## S3 method for class 'list'
get_hmm(data, ...)

## Default S3 method:
get_hmm(
  data = NULL,
  sequence,
  id,
  verbose = FALSE,
  sleep = 1,
  attempts = 2L,
  timeout = 10,
  progress = FALSE,
  ievalue = NULL,
  bitscore = NULL,
  ...
)

## S3 method for class 'AAStringSet'
get_hmm(data, ...)

Arguments

data

A data frame with protein amino acid sequences as strings in one column and corresponding id's in another. Alternatively a path to a .fasta file with protein sequences. Alternatively a list with elements of class SeqFastaAA resulting from read.fasta call. Alternatively an AAStringSet object. Should be left blank if vectors are provided to sequence and id arguments.

...

currently no additional arguments are accepted apart the ones documented bellow.

sequence

A vector of strings representing protein amino acid sequences, or the appropriate column name if a data.frame is supplied to data argument. If .fasta file path, or list with elements of class "SeqFastaAA" provided to data, this should be left blank.

id

A vector of strings representing protein identifiers, or the appropriate column name if a data.frame is supplied to data argument. If .fasta file path, or list with elements of class "SeqFastaAA" provided to data, this should be left blank.

verbose

Boolean, whether to print out the output for each sequence, defaults to FALSE.

sleep

Numeric indicating the pause in seconds between server calls, at default set to 1.

attempts

Integer, number of attempts if server unresponsive, at default set to 2.

timeout

Numeric, time in seconds to wait for server response.

progress

Boolean, whether to show the progress bar, at default set to FALSE.

ievalue

Numeric, all sequences with independent E-value lower or equal to this value will be retained in the function output. Used to filter out low similarity matches. If set some queried sequences might be discarded from the output. Suggested values: 1e-2 - 1e-5.

bitscore

Numeric, all sequences with bitscore greater or equal to this value will be retained in the function output. Used to filter out low similarity. If set some queried sequences might be discarded from the output. Suggested values: 10 - 20.

Value

A data frame with columns:

id

Character, as supplied in the function call

name

Character, PFAM family name

acc

Character, PFAM family accession

desc

Character, PFAM family description

clan

Character, PFAM clan

align_start

Numeric, start of domain alignment in query sequence

align_end

Numeric, end of domain alignment in query sequence

model_start

Numeric, start of alignment in domain model

model_end

Numeric, end of alignment in domain model

ievalue

Numeric, the "independent E-value", the E-value that the sequence/profile comparison would have received if this were the only domain envelope found in it, excluding any others. This is a stringent measure of how reliable this particular domain may be. The independent E-value uses the total number of targets in the target database.

cevalue

Numeric, the "conditional E-value", a permissive measure of how reliable this particular domain may be.

bitscore

Numeric, the domain bit score.

reported

Logical, is the result reported on the hmmer site. The hmmer web server outputs more hmm profile matches than it presents to the user. Results below a certain threshold are not reported (hidden) on the site.

Note

hmmscan does not handle sequences longer than 1000 amino acids. get_hmm splits these sequences into shorter substrings which overlap by 300 amino acids and queries hmmscan. Some results might be redundant or partially overlapping in this case. When this is an issue it is advisable to provide a subsequence of appropriate length as get_hmm input.

Source

https://www.ebi.ac.uk/Tools/hmmer/search/hmmscan

See Also

pfam2go

Examples

1
2
3
4
5
6
pfam_pred <- get_hmm(data = at_nsp[1:5,],
                    sequence = sequence,
                    id = Transcript.id,
                    verbose = FALSE,
                    sleep = 0)
pfam_pred

missuse/ragp documentation built on Jan. 4, 2022, 10:49 a.m.