Hi everyone, I'm new to Biopython and python in general so im going through the tutorials trying to get the hang of it for future job prospects in bioinformatics and for fun because why not.
I am having a few issues though, for example tutorials aren't great at telling you where to be playing with your program. I was using IDLE for a while until it turned out that i needed to use python.exe to actually install biopython. A problem at the minute is the program not finding the example stuff for this tutorial: http://biopython.org/DIST/docs/tutorial/Tutorial.html#htoc10
from Bio import SeqIO for seq_record in SeqIO.parse("ls_orchid.fasta", "fasta"): printseq_record.id) print(repr(seq_record.seq)) print(len(seq_record))
This just leaves the error:
Traceback (most recent call last): File "<pyshell#11>", line 1, in <module> for seq_record in SeqIO.parse("ls_orchid.fasta", "fasta"): File "C:\Users\dlb_p\Desktop\Python\lib\site-packages\Bio\SeqIO\__init__.py", line 592, in parse with as_handle(handle, mode) as fp: File "C:\Users\dlb_p\Desktop\Python\lib\contextlib.py", line 81, in __enter__ return next(self.gen) File "C:\Users\dlb_p\Desktop\Python\lib\site-packages\Bio\File.py", line 87, in as_handle with open(handleish, mode, **kwargs) as fp: FileNotFoundError: [Errno 2] No such file or directory: 'ls_orchid.fasta'
I have no idea where to start with this.
By the way this may be the first of many posts for help so any pointers would be greatly appreciated.