Description Usage Arguments Value Examples
Submit job to JPred REST API.
1 2 3 4 |
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. |
Response.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.