Print command error
Title
Question
In [2]: from Bio import SeqIO
In [3]: for seq_record in SeqIO.parse("sequence.fasta", "fasta"):
...: print(seq_record.id)
------------------------------------------------------------
IndentationError: expected an indented block (<ipython console>, line 2)
In [4]:
Biopython Parsing-Data 05-06 min 40-50 sec
Answers:
Please install the latest version of Biopython
Download link (https://biopython.org/wiki/Download)
Please check the below link for the appropriate command from the documentation.
http://biopython.org/DIST/docs/tutorial/Tutorial.html
Login to add comment