Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(14)  |  Call(10)  |  Derive(0)  |  Import(4)

src/b/i/biopython-1.63/Bio/PDB/PDBList.py   biopython(Download)
#Importing these functions with leading underscore as not intended for reuse
from Bio._py3k import urlopen as _urlopen
from Bio._py3k import urlretrieve as _urlretrieve
 
 
        # Retrieve the file
        print("Downloading PDB structure '%s'..." % pdb_code)
        _urlretrieve(url, filename)
 
        # Uncompress the archive, delete when done
        print("Retrieving sequence file (takes about 15 MB).")
        url = self.pdb_server + '/pub/pdb/derived_data/pdb_seqres.txt'
        _urlretrieve(url, savefile)
 
 

src/b/i/biopython-HEAD/Bio/PDB/PDBList.py   biopython(Download)
#Importing these functions with leading underscore as not intended for reuse
from Bio._py3k import urlopen as _urlopen
from Bio._py3k import urlretrieve as _urlretrieve
 
 
        # Retrieve the file
        print("Downloading PDB structure '%s'..." % pdb_code)
        _urlretrieve(url, filename)
 
        # Uncompress the archive, delete when done
        print("Retrieving sequence file (takes about 15 MB).")
        url = self.pdb_server + '/pub/pdb/derived_data/pdb_seqres.txt'
        _urlretrieve(url, savefile)
 
 

src/b/i/biopython-1.63/Scripts/scop_pdb.py   biopython(Download)
import sys
 
from Bio._py3k import urlretrieve as _urlretrieve
 
from Bio.SCOP import *
def open_pdb(pdbid, pdb_url=None):
    if pdb_url is None:
        pdb_url = default_pdb_url
    url = pdb_url % pdbid
    fn, header = _urlretrieve(url)
    cla_url = args[1]
 
    (raf_filename, headers) = _urlretrieve(raf_url)
    seqMapIndex = Raf.SeqMapIndex(raf_filename)
 
    (cla_filename, headers) = _urlretrieve(cla_url)

src/b/i/biopython-HEAD/Scripts/scop_pdb.py   biopython(Download)
import sys
 
from Bio._py3k import urlretrieve as _urlretrieve
 
from Bio.SCOP import *
def open_pdb(pdbid, pdb_url=None):
    if pdb_url is None:
        pdb_url = default_pdb_url
    url = pdb_url % pdbid
    fn, header = _urlretrieve(url)
    cla_url = args[1]
 
    (raf_filename, headers) = _urlretrieve(raf_url)
    seqMapIndex = Raf.SeqMapIndex(raf_filename)
 
    (cla_filename, headers) = _urlretrieve(cla_url)