Hi,
I was wondering if there is any way of downloading a batch of selected regions from sequences from Genbank. I have several accession numbers for different contigs but I need only selected regions from them and not full sequences. Is there any way to download them in a batch and not doing that one by one, because that will take me ages to finish?
Ok, it seems that with Efetch I can still download one sequence fragment at a time (or I'm just missing something, but I was trying for a while now with different options and still no success. I need to download 180 fragments of different contigs and it is getting a bit silly. I was thinking about using Biopython and their Entrez and SeqIO but I got kind of stuck. Input is a file which looks more or less like that:
What I have so far. But not sure if that even has any chances to work in that form ...
See if these help: Speed Of Efetch In Biopython
How To Retrieve Multiple Sequence In One Python Script
How To Retrive Selected Region From Each Protein In A Multiple Fasta File
Great! Thanks for all your help. It seems I need to improve also my search strategy ;)