[BioPython] Question!!!
    Christof Winter 
    winter at biotec.tu-dresden.de
       
    Tue May  2 16:05:13 UTC 2006
    
    
  
Dear Alper,
you might want to try
print NCBIWWW.__doc__
print NCBIWWW.__file__
to first see if the doc string of the NCBIWWW module has a section that mentions qblast as 
a function, and, if not, check the source code of the module (__file__ tells you the 
location) if it's correct. It should contain a qblast function (line 1038 in my version of 
NCBIWWW.py).
HTH,
Christof
alper soyler wrote:
> Hi all,
>  
>  I have a protein in fasta format in a file called 'fasta' and I am writing below script:
>  
>  from Bio.Blast import NCBIWWW
>  result_handle = NCBIWWW.qblast('blastp', 'nr', fasta)
>  
>  However, it gives me the following error:
>  
>  Traceback (most recent call last):
>    File "<stdin>", line 1, in ?
>  AttributeError: 'module' object has no attribute 'qblast'
>  
>  Do I have something missing in my Biopython? How can I solve this problem? Thank you.
>  
>  Regards,
>  Alper 
    
    
More information about the Biopython
mailing list