seconday-structure.ts 552 B

1234567891011121314151617
  1. /**
  2. * Copyright (c) 2017 mol* contributors, licensed under MIT, See LICENSE file for more info.
  3. *
  4. * @author David Sehnal <david.sehnal@gmail.com>
  5. */
  6. import { SecondaryStructureType } from '../types';
  7. /** Secondary structure "indexed" by residues. */
  8. interface SecondaryStructure {
  9. // assign flags to each residue
  10. readonly type: ArrayLike<SecondaryStructureType>,
  11. /** unique value for each "element". This is because single sheet is speficied by multiple records. */
  12. readonly key: ArrayLike<number>
  13. }
  14. export { SecondaryStructure }