For example, the res_num needs too be between spaces resnum = int( line[22:26] ) (A residue number cant be greater than 4 digits with this notation which may be a problem for proteins with larger than 100,000 residues) and chain needs too be chain = line[21].
For example, the res_num needs too be between spaces resnum = int( line[22:26] ) (A residue number cant be greater than 4 digits with this notation which may be a problem for proteins with larger than 100,000 residues) and chain needs too be chain = line[21].