-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
108 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,19 @@ | ||
# WebBLAST | ||
|
||
An API for Julia to call the BLAST Web API of NCBI and EBI. | ||
## Usage | ||
API for Julia to call the BLAST Web API of NCBI and EBI. | ||
|
||
``` | ||
usage: WebBLAST.jl [-f FASTA FASTA] [-s SEQUENCE] [-t THRESHOLD] [-h] | ||
fasta_out | ||
WebBLAST | ||
## Exported functions | ||
|
||
positional arguments: | ||
fasta_out FASTA output file | ||
optional arguments: | ||
-f, --fasta FASTA FASTA | ||
Sequences in FASTA format, Sequence # | ||
-s, --sequence SEQUENCE | ||
Sequence as string | ||
-t, --threshold THRESHOLD | ||
E-Value threshold (type: Float64, default: | ||
0.0) | ||
-h, --help show this help message and exit | ||
#### webblast | ||
|
||
```julia | ||
webblast(provider::String, sequence::String, threshold::Float64, cached=false) | ||
``` | ||
## Examples | ||
|
||
Sequence: | ||
```julia WebBLAST/WebBLAST.jl -s MNQLQQLQNPGESPPVHPFVAPLSYLLGTWRGQGEGEYPTIPSFRYGEEIRFSHSGKPVIAY -t 0.000000000000000000000000000001 out.fasta``` | ||
Calls the the API of the given provider to search for a protein sequence and returns all hits within a E-Value threshold. | ||
|
||
**provider** A provider for a BLAST REST API, e.g. NCBI/EBI BLAST. Default "ncbi" (EBI to be implemented), "ncbi" searches for the sequence in the PDB. | ||
|
||
FASTA: | ||
**sequence** The sequence to search for. | ||
|
||
```julia WebBLAST.jl -f fasta.txt 4``` | ||
**cached** Default ```false```, results can be cached, for example during development. |