Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use filenames with SeqIO.read in Tutorial

Documentation change only - Travis [ci skip]
  • Loading branch information...
commit e6be8b13c419045dd24541cc2fa770725a8551ff 1 parent 3d14a24
Peter Cock peterjc authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 Doc/Tutorial.tex
4 Doc/Tutorial.tex
View
@@ -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}
Please sign in to comment.
Something went wrong with that request. Please try again.