Question: Download NCBI genome sequences from Python
0
gravatar for jolespin
3.1 years ago by
jolespin130
United States
jolespin130 wrote:

I have data that looks like:

1. Cronobacter phage Dev2
Characterization of lytic Cronobacter turicensis phage Dev2 isolated from wastewater treatment
Kingdom: Viruses
Chromosome: 1
Genome ID: 36224

2. Pseudomonas phage vB_Pae-TbilisiM32
Modified complete genome sequence of Pseudomonas phage vB_Pae-TbilisiM32
Kingdom: Viruses
Chromosome: 1
Genome ID: 13968

How can I fetch the genome sequences from these in Python? I know how to do it for specific kegg genes using bioservices but how do I get full genomes?

ADD COMMENTlink modified 3.1 years ago by Jenez520 • written 3.1 years ago by jolespin130
1
gravatar for Jenez
3.1 years ago by
Jenez520
Sweden
Jenez520 wrote:

Biopython has this functionality.

http://biopython.org/DIST/docs/tutorial/Tutorial.html

See section '9.6 EFetch: Downloading full records from Entrez'

ADD COMMENTlink written 3.1 years ago by Jenez520
0
gravatar for lakhujanivijay
3.1 years ago by
lakhujanivijay4.6k
India
lakhujanivijay4.6k wrote:

Do you have the corresponding accessions? Or can you get them?

If yes, I have a Python script which uses the accessions and downloads the sequences.

Looking forward to your response. :)

ADD COMMENTlink modified 3.1 years ago • written 3.1 years ago by lakhujanivijay4.6k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1253 users visited in the last hour