[BioPython] NCBIWWW.blast(): how to get text formatted output

Frank Kauff fkauff at duke.edu
Thu Sep 18 15:33:33 EDT 2003


On Thu, 2003-09-18 at 15:10, Sebastian Bassi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Frank Kauff wrote:
> 
> | does anybody know which is the correct value for format_type in
> | NCBIWWW.blast() to get a plain text output? It's 'html' by default, and
> | I tried format_type='txt'/'text'/'plain'/'plaintext' and even 'ascii',
> | but still it returns html. And maybe I'm blind, but is there any place
> | in the web which lists exactly the different options?
> 
> I use NCBIStandalone.blastall function and the last parameter is
> "html=T" or "html=F"

Yes, that works fine with NCBIStandalone.blastall(), but for the www
interface some options differ (for whatever reason). There's no option
html= in ncbiwww.blast(), instead format_type is used. At least that's
what I think.

> 
> |
> | PS: and the show_overview question is still open... :-)
> 
> Don't remember that question.
> 

Posted some days ago:

when doing a web blast with NCBIWWW.blast, the htlm returned looks
pretty much like the normal www output when blasting directly at the
ncbi website. However, that little grpahical distribution overview at
the beginning that shows the color-coded alignments is missing. Is there
a possibility to get that?
show_overview seems to do this at the website, but has no effect when
used in a script?

Frank

> - --
> Best regards,
> 
> //=\ Sebastian Bassi - Diplomado en Ciencia y Tecnologia, UNQ   //=\
> \=// IT Manager Advanta Seeds - Balcarce Research Center -      \=//
> //=\ Pro secretario ASALUP - www.asalup.org - PGP key available //=\
> \=// E-mail: sbassi at genesdigitales.com - ICQ UIN: 3356556 -     \=//
> 
> ~                http://Bioinformatica.info
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iEYEARECAAYFAj9qAzsACgkQ6lc7ixf6gKooHACeKVIzpeUr5h286f2sOFGq2t6P
> UNcAn1JPfNB2B9JypwodtFgz8910lFr6
> =ermr
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> BioPython mailing list  -  BioPython at biopython.org
> http://biopython.org/mailman/listinfo/biopython
-- 
Frank Kauff
Dept. of Biology
Duke University
Box 90338
Durham, NC 27708
USA

Phone 919-660-7382
Fax 919-660-7293



More information about the BioPython mailing list