[BioPython] Help with Biopython BLAST

Michiel Jan Laurens de Hoon mdehoon at ims.u-tokyo.ac.jp
Thu Apr 28 08:05:23 EDT 2005


You can check b_record.__dict__.keys() to find out the members of b_record.

It appears that you should use b_record.query_letters instead of 
b_record.header.query_letters.

--Michiel.

Karthik Raman wrote:

> Hi
> 
> How do I access query_letters from Blast Headers?
> 
> I've been trying to access it as b_record (from the standard example in 
> the cookbook):
> 
> b_record.header.query_letters
> 
> What is the mistake I am doing?
> 
> Regards
> 
> Karthik
> 
> ********************************************************
> 
>     KARTHIK RAMAN
>     Graduate Research Student
>     Supercomputer Education and Research Centre
>     Indian Institute of Science
>     Bangalore - 560 012
> 
>     Phone: +91-80-22932469 (Ext 24)
> 	   +91-80-23601409 (Ext 24)			
>            +91-98862-22404 (Mobile)
> 	
>     E-mail  :  karthik AT rishi.serc.iisc.ernet.in
>     Webpage :  http://rishi.serc.iisc.ernet.in/~karthik/
>     Blog    :  karthikraman.blogspot.com
> 
> *******************************************************
> 
> _______________________________________________
> BioPython mailing list  -  BioPython at biopython.org
> http://biopython.org/mailman/listinfo/biopython
> 
> 

-- 
Michiel de Hoon, Assistant Professor
University of Tokyo, Institute of Medical Science
Human Genome Center
4-6-1 Shirokane-dai, Minato-ku
Tokyo 108-8639
Japan
http://bonsai.ims.u-tokyo.ac.jp/~mdehoon


More information about the BioPython mailing list