5 #ifndef BALL_FORMAT_PDBDEFS_H
6 #define BALL_FORMAT_PDBDEFS_H
12 #ifndef BALL_KERNEL_ATOM_H
16 #ifndef BALL_KERNEL_SECONDARYSTRUCTURE_H
20 #ifndef BALL_KERNEL_CHAIN_H
24 #ifndef BALL_KERNEL_RESIDUE_H
28 #ifndef BALL_DATATYPES_HASHSET_H
32 #ifndef BALL_MATHS_MATRIX44_H
353 insertion_code =
' ';
355 void set(const ::BALL::Residue& residue)
357 strncpy(name, residue.getName().c_str(), 3);
358 sequence_number = residue.getID().toInt();
359 const Chain* chain = residue.getChain();
360 chain_ID = (chain == 0 ?
' ' : chain->
getName().c_str()[0]);
361 insertion_code = residue.getInsertionCode();
471 record_name[0] =
'\0';
472 atom_serial_number = 0;
473 bond_atom[0] = bond_atom[1] = bond_atom[2] = bond_atom[3] = 0;
474 hbond_atom[0] = hbond_atom[1] = hbond_atom[2] = hbond_atom[3] = 0;
475 salt_bridge_atom[0] = salt_bridge_atom[1] = 0;
491 record_name[0] =
'\0';
492 atom_serial_number = 0;
493 bond_atom[0] = bond_atom[1] = bond_atom[2] = bond_atom[3] = 0;
507 record_name[0] =
'\0';
508 atom_serial_number = 0;
509 bond_atom[0] = bond_atom[1] = bond_atom[2] = bond_atom[3] = 0;
523 record_name[0] =
'\0';
524 atom_serial_number = 0;
539 record_name[0] =
'\0';
540 atom_serial_number = 0;
541 bond_atom[0] = bond_atom[1] = 0;
555 record_name[0] =
'\0';
556 atom_serial_number = 0;
557 bond_atom[0] = bond_atom[1] = bond_atom[2] = 0;
610 } initial_database_segment;
616 } ending_database_segment;
693 initial_residue.clear();
694 terminal_residue.clear();
828 zero = number_of_HET_records = number_of_HELIX_records
829 = number_of_SHEET_records = number_of_TURN_records
830 = number_of_SITE_records = number_of_ORIGX_SCALE_MTRIX_records
831 = number_of_ATOM_HETATM_records = number_of_TER_records
832 = number_of_CONECT_records = number_of_SEQRES_records = 0;
990 number_of_residues_in_chain = 0L;
991 residue_name[0][0] =
'\0';
992 residue_name[1][0] =
'\0';
993 residue_name[2][0] =
'\0';
994 residue_name[3][0] =
'\0';
995 residue_name[4][0] =
'\0';
996 residue_name[5][0] =
'\0';
997 residue_name[6][0] =
'\0';
998 residue_name[7][0] =
'\0';
999 residue_name[8][0] =
'\0';
1000 residue_name[9][0] =
'\0';
1001 residue_name[10][0] =
'\0';
1002 residue_name[11][0] =
'\0';
1003 residue_name[12][0] =
'\0';
1029 sheet_ID[0] =
'\0';;
1030 number_of_strands = 0;
1031 initial_residue.clear();
1032 terminal_residue.clear();
1033 sense_of_strand = 0;
1034 atom_name_in_current_strand[0] =
'\0';
1035 residue_in_current_strand.clear();
1036 atom_name_in_previous_strand[0] =
'\0';
1037 residue_in_previous_strand.clear();
1142 partner_residue[0].clear();
1143 partner_residue[1].clear();
1144 symmetry_operator[0] = 0;
1145 symmetry_operator[1] = 0;
1186 sequence_number = 0;
1188 initial_residue.clear();
1189 terminal_residue.clear();
1236 coordinate_transformation_records = 0;
1237 atomic_coordinate_records = 0;
1291 strcpy(space_group,
"");
1301 matrix[0] = m(0,0); matrix[1] = m(0,1); matrix[2] = m(0,2); matrix[3] = m(0,3);
1302 matrix[4] = m(1,0); matrix[5] = m(1,1); matrix[6] = m(1,2); matrix[7] = m(1,3);
1303 matrix[8] = m(2,0); matrix[9] = m(2,1); matrix[10] = m(2,2); matrix[11] = m(2,3);
1322 conect_atoms.clear();
1323 hydrogen_bonds.clear();
1324 saltbridges.clear();
1345 : current_chain(0x0),
1346 current_residue(0x0),
1348 residue_insertion_code(
' '),
1352 strncpy(residue_name,
"UNK", 4);
1353 strncpy(pdb_id,
" ", 5);
1365 #endif // BALL_FORMAT_PDBDEFS_H