getResultsFromServer: Get results from server MUFOLD server

Description Usage Arguments Value Examples

View source: R/aatoss.R

Description

Get results from server MUFOLD server

Usage

1
getResultsFromServer(send_object)

Arguments

send_object

object which was obtained by function 'sendToServer'

Value

data.frame with prediction of secondary structure

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
email = "test11@test.com"
testseq <- data.frame(target = c("fasta_seq1", "fasta_seq2"),
                      fasta  = c("RDPHPAPPRTSQEPHQNPHGVIPSESKPFVASKPKPHT",
                                 "PSLPRPPGCPAQQGGSAPIDPPPVHESPHPPLPATEPASRLSSE"),
                      stringsAsFactors=FALSE)

# send sequences to server

sequences <- sendToServer(testseq, email)

# wait a couple of minutes, 1 sequence ~ 1-2 minutes of calculation

# retrive results from server ( only finished sequences )

structures <- getResultsFromServer(sequences)

# or you can obtain all finished sequences which associated with this email

all.structures <- getAllResultsFromServer(email)

mpyatkov/aatoss documentation built on Jan. 6, 2021, 12:46 p.m.