Back to index

python-biopython  1.60
Variables
generate_three_to_one_dict Namespace Reference

Variables

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

Variable Documentation

tuple generate_three_to_one_dict._rafPath = os.path.normpath(os.path.join(_scriptPath, "..", "..", "Bio", "SCOP"))

Definition at line 115 of file generate_three_to_one_dict.py.

tuple generate_three_to_one_dict._scriptPath = os.path.abspath(os.path.split(inspect.getfile(inspect.currentframe()))[0])

Definition at line 113 of file generate_three_to_one_dict.py.

tuple generate_three_to_one_dict._threeAllPath = os.path.join(_rafPath, 'three_to_one_all.py')

Definition at line 116 of file generate_three_to_one_dict.py.

tuple generate_three_to_one_dict._threePath = os.path.join(_rafPath, 'three_to_one_dict.py')

Definition at line 117 of file generate_three_to_one_dict.py.

tuple generate_three_to_one_dict.cifname = os.extsep.join(gzname.split(os.extsep)[:-1])

Definition at line 24 of file generate_three_to_one_dict.py.

Definition at line 64 of file generate_three_to_one_dict.py.

Definition at line 65 of file generate_three_to_one_dict.py.

string generate_three_to_one_dict.current_line = 'to_one_letter_code = {'

Definition at line 58 of file generate_three_to_one_dict.py.

string generate_three_to_one_dict.current_line_noq = 'to_one_letter_code = {'

Definition at line 59 of file generate_three_to_one_dict.py.

tuple generate_three_to_one_dict.data = url_handle.read(1024)

Definition at line 31 of file generate_three_to_one_dict.py.

tuple generate_three_to_one_dict.fh = gzip.open(gzname, 'rb')

Definition at line 41 of file generate_three_to_one_dict.py.

Definition at line 61 of file generate_three_to_one_dict.py.

Definition at line 62 of file generate_three_to_one_dict.py.

tuple generate_three_to_one_dict.gzname = os.path.basename(url)

Definition at line 22 of file generate_three_to_one_dict.py.

tuple generate_three_to_one_dict.line = fh.readline()

Definition at line 67 of file generate_three_to_one_dict.py.

tuple generate_three_to_one_dict.one = line.strip()

Definition at line 72 of file generate_three_to_one_dict.py.

Definition at line 75 of file generate_three_to_one_dict.py.

Definition at line 55 of file generate_three_to_one_dict.py.

Definition at line 56 of file generate_three_to_one_dict.py.

string generate_three_to_one_dict.url = "ftp://ftp.wwpdb.org/pub/pdb/data/monomers/components.cif.gz"

Definition at line 19 of file generate_three_to_one_dict.py.

tuple generate_three_to_one_dict.url_handle = urllib.urlopen(url)

Definition at line 26 of file generate_three_to_one_dict.py.