Browse files

Use filenames with SeqIO.read in Tutorial

Documentation change only - Travis [ci skip]
  • Loading branch information...
1 parent 3d14a24 commit e6be8b13c419045dd24541cc2fa770725a8551ff @peterjc peterjc committed Apr 11, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 Doc/Tutorial.tex
View
4 Doc/Tutorial.tex
@@ -5021,7 +5021,7 @@ \section{Running BLAST over the Internet}
\begin{verbatim}
>>> from Bio.Blast import NCBIWWW
>>> from Bio import SeqIO
->>> record = SeqIO.read(open("m_cold.fasta"), format="fasta")
+>>> record = SeqIO.read("m_cold.fasta", format="fasta")
>>> result_handle = NCBIWWW.qblast("blastn", "nt", record.seq)
\end{verbatim}
@@ -5033,7 +5033,7 @@ \section{Running BLAST over the Internet}
\begin{verbatim}
>>> from Bio.Blast import NCBIWWW
>>> from Bio import SeqIO
->>> record = SeqIO.read(open("m_cold.fasta"), format="fasta")
+>>> record = SeqIO.read("m_cold.fasta", format="fasta")
>>> result_handle = NCBIWWW.qblast("blastn", "nt", record.format("fasta"))
\end{verbatim}

0 comments on commit e6be8b1

Please sign in to comment.