Skip to content

Commit 77177dd

Browse files
foisysandreasprlic
authored andcommitted
Change to wiki page
1 parent 6e9b406 commit 77177dd

File tree

2 files changed

+16
-13
lines changed

2 files changed

+16
-13
lines changed

_wikis/BioJava:CookBook3:NCBIQBlastService.md

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,19 @@ requests, grab the requests ID and fetch the results at a later time.
2323
To use QBlast, you use a NCBIQBlastService object (which implements
2424
RemotePairwiseAlignmentService) to manage the connection to the QBlast
2525
service, submission of requests and fetching of results. To do so, it
26-
needs a sequence (represented by either a string, a RichSequence object
27-
or a GID) and a NCBIQBlastAlignmentProperties object. This class
28-
implements RemotePairwiseAlignmentProperties and it is use to set which
29-
program and which database to use for the analysis. Right now, it can't
30-
much make use of other parameters of the QBlast service but the methods
31-
are in development to fix this situation. One would recover results
32-
using the same RemoteQBlastService object, which hold submission
33-
information, and an object of type NCBIQBlastOutputProperties to
34-
specifiy the informations to recover and the format to present to the
35-
submitter.
26+
needs a sequence (represented by either a string or a Sequence object;
27+
search by GID will be added in a future release) and a
28+
NCBIQBlastAlignmentProperties object. Submitting a Sequence object is
29+
the preferred method since it allows for some basic sanity checks
30+
related to the sequence type-to-program selection. The
31+
NCBIQBlastAlignmentProperties class implements
32+
RemotePairwiseAlignmentProperties and it is use to set which program and
33+
which database to use for the analysis. Right now, it can't much make
34+
use of other parameters of the QBlast service but the methods are in
35+
development to fix this situation. One would recover results using the
36+
same NCBIQBlastService object, which hold submission information, and an
37+
object of type NCBIQBlastOutputProperties to specify the informations to
38+
recover and the format to present to the submitter.
3639

3740
Using the interfaces found in package org.biojava3.ws.alignment should
3841
allow extensions to other remote alignment services like FASTA and Blast
@@ -47,7 +50,7 @@ high in the TO DO list.
4750
on a ProteinSequence object...
4851

4952
- Do not use multiple threads to send loads of requests to NCBI. This
50-
would only get you into trouble, up to getting blacklisted by NCBI.
53+
would only get you into trouble, up to getting you blacklisted by NCBI.
5154

5255
<java>
5356

_wikis/BioJava:CookBook3:NCBIQBlastService.mediawiki

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ BioJava now has some ability to use remote bioinformatics services to execute ta
44

55
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.
66

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.
88

99
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.
1010

@@ -14,7 +14,7 @@ WARNING (as of early February 2011):
1414

1515
- Basic sanity checks are in place so that you won't try to use blastn on a ProteinSequence object...
1616

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.
1818

1919
<java>
2020

0 commit comments

Comments
 (0)