[Biopython] Issues parsing sequences
fftrancoso96 at gmail.com
Sat Jan 13 21:07:29 UTC 2018
Thank you very much!
2018-01-13 17:22 GMT-02:00 Markus Piotrowski <
Markus.Piotrowski at ruhr-uni-bochum.de>:
> Dear Fernanda,
> From you description it seems that you run Python from a command line and
> then insert the code.
> The '...' indicate an indented block. Your second line is a for loop that
> ends with a ':', so the following lines will be indented (they are the body
> of the for loop). You just have to hit 'ENTER' two times to make Python
> clear that you are ready to execute the code block.
> The execution will probably fail, if you don't have the file
> "ls_orchid.fasta" in the same directory where you have started your Python
> Best, Markus
> Am 13.01.2018 um 18:55 schrieb Fernanda Trancoso:
> Hello guys,
> I'm trying to do the biopython tutorial and cookbook but i got stuck on
> the "2.4.1 Simple FASTA parsing example". It says
> Now try this in Python:
> from Bio import SeqIO
> for seq_record in SeqIO.parse("ls_orchid.fasta", "fasta"):
> But from the second line forward the ">>>" turns into "..." and I have no
> idea of what input is missing, since I did copy/paste to be sure that i
> wasn't writing something wrong.
> Does anyone knows what might be going wrong?
> Fernanda Fontes Trancoso
> Aluna de Graduação em Ciências Biológicas na UFMG
> Iniciação Científica no Laboratório de Sistemática de Insetos
> +55 (31) 9156-6485 <+55%2031%209156-6485>
> Biopython mailing list - Biopython at mailman.open-bio.orghttp://mailman.open-bio.org/mailman/listinfo/biopython
> Biopython mailing list - Biopython at mailman.open-bio.org
Fernanda Fontes Trancoso
Aluna de Graduação em Ciências Biológicas na UFMG
Iniciação Científica no Laboratório de Sistemática de Insetos
+55 (31) 9156-6485
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Biopython