Class: Bio::DDBJ::XML::Blast
- Inherits:
-
Bio::DDBJ::XML
- Object
- SOAPWSDL
- Bio::DDBJ::XML
- Bio::DDBJ::XML::Blast
- Defined in:
- lib/bio/io/ddbjxml.rb
Overview
Description
DDBJ XML BLAST Database Search
Examples
serv = Bio::DDBJ::XML::Blast.new
program = 'blastp'
database = 'SWISS'
query = "MSSRIARALALVVTLLHLTRLALSTCPAACHCPLEAPKCAPGVGLVRDGCGCCKVCAKQL"
report = serv.searchSimple(program, database, query)
Bio::Blast::Default::Report.new(report).each_hit do |hit|
hit.hsps.find_all {|x| x.evalue < 0.1 }.each do |hsp|
p [hsps.evalue, hsps.identity, hsps.definition]
end
end
program = 'tblastn'
database = 'ddbjvrl'
param = '-m 8 -e 0.001'
puts serv.searchParam(program, database, query, param)
WSDL Methods
-
searchSimple(program, database, query)
Returns a blast report in the default format.
-
searchParam(program, database, query, param)
Blasts with param and returns a blast report.
References
Constant Summary collapse
- SERVER_URI =
BASE_URI + "Blast.wsdl"
Constants inherited from Bio::DDBJ::XML
Instance Attribute Summary
Attributes inherited from SOAPWSDL
Method Summary
Methods inherited from Bio::DDBJ::XML
Methods inherited from SOAPWSDL
Constructor Details
This class inherits a constructor from Bio::DDBJ::XML
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Bio::SOAPWSDL