Class StructureWriterImpl

java.lang.Object
org.rcsb.strucmotif.io.StructureWriterImpl
All Implemented Interfaces:
StructureWriter

@Service public class StructureWriterImpl extends Object implements StructureWriter
This implementation keeps a sparse representation of structure data including:
  • label_asym_id
  • label_seq_id
  • label_comp_id
  • label_atom_id
  • coordinates
  • entry identifier and data used for assembly generation

This implementation ignores:

  • models with number unequal to 1
  • hydrogen atoms
  • non-polymer groups
  • 2nd and all subsequent alt locs
  • Constructor Details

    • StructureWriterImpl

      public StructureWriterImpl()
      Construct a writer.
  • Method Details

    • write

      public void write(org.rcsb.cif.schema.mm.MmCifFile source, Path destination)
      Description copied from interface: StructureWriter
      Write structure data to the file system.
      Specified by:
      write in interface StructureWriter
      Parameters:
      source - a MmCifFile to process
      destination - where to write data