types.ts 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /**
  2. * Copyright (c) 2018-2022 mol* contributors, licensed under MIT, See LICENSE file for more info.
  3. *
  4. * @author Michal Malý <michal.maly@ibt.cas.cz>
  5. * @author Jiří Černý <jiri.cerny@ibt.cas.cz>
  6. */
  7. export namespace DnatcoTypes {
  8. export const DataTag = 'dnatco-confal-half-step';
  9. export type Step = {
  10. PDB_model_number: number,
  11. name: string,
  12. auth_asym_id_1: string,
  13. auth_seq_id_1: number,
  14. label_comp_id_1: string,
  15. label_alt_id_1: string,
  16. PDB_ins_code_1: string,
  17. auth_asym_id_2: string,
  18. auth_seq_id_2: number,
  19. label_comp_id_2: string,
  20. label_alt_id_2: string,
  21. PDB_ins_code_2: string,
  22. confal_score: number,
  23. NtC: string,
  24. rmsd: number,
  25. }
  26. export type MappedChains = Map<string, MappedResidues>;
  27. export type MappedResidues = Map<number, number[]>;
  28. export interface Steps {
  29. steps: Array<Step>,
  30. mapping: MappedChains[],
  31. }
  32. export interface HalfStep {
  33. step: Step,
  34. isLower: boolean,
  35. }
  36. }