Back to index

python-biopython  1.60
Namespaces | Variables
generate_three_to_one_dict.py File Reference

Go to the source code of this file.

Namespaces

namespace  generate_three_to_one_dict

Variables

string generate_three_to_one_dict.url = "ftp://ftp.wwpdb.org/pub/pdb/data/monomers/components.cif.gz"
tuple generate_three_to_one_dict.gzname = os.path.basename(url)
tuple generate_three_to_one_dict.cifname = os.extsep.join(gzname.split(os.extsep)[:-1])
tuple generate_three_to_one_dict.url_handle = urllib.urlopen(url)
tuple generate_three_to_one_dict.data = url_handle.read(1024)
tuple generate_three_to_one_dict.fh = gzip.open(gzname, 'rb')
list generate_three_to_one_dict.three_to_one_buf = []
list generate_three_to_one_dict.three_to_one_buf_noq = []
string generate_three_to_one_dict.current_line = 'to_one_letter_code = {'
string generate_three_to_one_dict.current_line_noq = 'to_one_letter_code = {'
 generate_three_to_one_dict.found_one = False
 generate_three_to_one_dict.found_three = False
int generate_three_to_one_dict.counter = 0
int generate_three_to_one_dict.counter_noq = 0
tuple generate_three_to_one_dict.line = fh.readline()
tuple generate_three_to_one_dict.one = line.strip()
string generate_three_to_one_dict.three = '%-3s'
tuple generate_three_to_one_dict._scriptPath = os.path.abspath(os.path.split(inspect.getfile(inspect.currentframe()))[0])
tuple generate_three_to_one_dict._rafPath = os.path.normpath(os.path.join(_scriptPath, "..", "..", "Bio", "SCOP"))
tuple generate_three_to_one_dict._threeAllPath = os.path.join(_rafPath, 'three_to_one_all.py')
tuple generate_three_to_one_dict._threePath = os.path.join(_rafPath, 'three_to_one_dict.py')