You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _wikis/BioJava:CookBook3:NCBIQBlastService.mediawiki
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ BioJava now has some ability to use remote bioinformatics services to execute ta
4
4
5
5
The QBlast BioJava classes implement a serie of interfaces: RemotePairwiseAlignmentService, RemotePairwiseAlignmentProperties and RemotePairwiseAlignmentOutputProperties. These interfaces are designed in such a fashion that setting the parameters for alignement, submitting the results and fetching the results in a desired format are done independently from each other. This allows a program to send a bunch of requests, grab the requests ID and fetch the results at a later time.
6
6
7
-
To use QBlast, you use a NCBIQBlastService object (which implements RemotePairwiseAlignmentService) to manage the connection to the QBlast service, submission of requests and fetching of results. To do so, it needs a sequence (represented by either a string, a RichSequence object or a GID) and a NCBIQBlastAlignmentProperties object. This class implements RemotePairwiseAlignmentProperties and it is use to set which program and which database to use for the analysis. Right now, it can't much make use of other parameters of the QBlast service but the methods are in development to fix this situation. One would recover results using the same RemoteQBlastService object, which hold submission information, and an object of type NCBIQBlastOutputProperties to specifiy the informations to recover and the format to present to the submitter.
7
+
To use QBlast, you use a NCBIQBlastService object (which implements RemotePairwiseAlignmentService) to manage the connection to the QBlast service, submission of requests and fetching of results. To do so, it needs a sequence (represented by either a string or a Sequence object; search by GID will be added in a future release) and a NCBIQBlastAlignmentProperties object. Submitting a Sequence object is the preferred method since it allows for some basic sanity checks related to the sequence type-to-program selection. The NCBIQBlastAlignmentProperties class implements RemotePairwiseAlignmentProperties and it is use to set which program and which database to use for the analysis. Right now, it can't much make use of other parameters of the QBlast service but the methods are in development to fix this situation. One would recover results using the same NCBIQBlastService object, which hold submission information, and an object of type NCBIQBlastOutputProperties to specify the informations to recover and the format to present to the submitter.
8
8
9
9
Using the interfaces found in package org.biojava3.ws.alignment should allow extensions to other remote alignment services like FASTA and Blast at EBI, which use web services.
10
10
@@ -14,7 +14,7 @@ WARNING (as of early February 2011):
14
14
15
15
- Basic sanity checks are in place so that you won't try to use blastn on a ProteinSequence object...
16
16
17
-
- Do not use multiple threads to send loads of requests to NCBI. This would only get you into trouble, up to getting blacklisted by NCBI.
17
+
- Do not use multiple threads to send loads of requests to NCBI. This would only get you into trouble, up to getting you blacklisted by NCBI.
0 commit comments