submit: Submit job to JPred REST interface.

Description Usage Arguments Value Examples

Description

Submit job to JPred REST API.

Usage

1
2
3
4
submit(mode, user_format, file = NULL, seq = NULL, skipPDB = TRUE,
  email = NULL, name = NULL, silent = FALSE,
  host = "http://www.compbio.dundee.ac.uk/jpred4/cgi-bin/rest",
  suffix = "job")

Arguments

mode

Submission mode, possible values: "single", "batch", "msa".

user_format

Submission format, possible values: "raw", "fasta", "msf", "blc".

file

File path to a file with the job input (sequence or msa).

seq

Alternatively, amino acid sequence passed as string of single-letter code without spaces, e.g. –seq=ATWFGTHY

skipPDB

Should the PDB query be skipped? (default = TRUE)

email

For a batch job submission, where to send the results?

name

A name for the job.

silent

Should the work be done silently? (default = FALSE)

host

JPred host address.

suffix

Host address suffix.

Value

Response.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
## Not run: 
## Not run ---
example_path <- system.file("exampledata", package = "jpredapir")
submit(mode = "single", user_format = "raw", seq = "MQVWPIEGIKKFETLSYLPP")
submit(mode = "single", user_format = "raw", 
       file = file.path(example_path, "single_raw.example"))
submit(mode = "single", user_format = "fasta", 
       file = file.path(example_path, "single_fasta.example"))
submit(mode = "batch", user_format = "fasta", 
       file = file.path(example_path, "batch_fasta.example"), email = "name@domain.com")
submit(mode = "msa", user_format = "fasta", 
       file = file.path(example_path, "msa_fasta.example"), email = "name@domain.com")
submit(mode = "msa", user_format = "msf", 
       file = file.path(example_path, "msa_msf.example"), email = "name@domain.com")
submit(mode = "msa", user_format = "blc", 
       file = file.path(example_path, "msa_blc.example"), email = "name@domain.com")

## End(Not run)

MoseleyBioinformaticsLab/jpredapir documentation built on May 20, 2019, 1:13 p.m.