saving . . . saved Print command error has been deleted. Print command error has been hidden .
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 25-06-24, 8:15 p.m. bharvi.baria005@mithibai.edu.in

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


22-07-24, 4:36 p.m. snehalathak


Log-in to answer to this question.