Class DifferentialModificationUtil

java.lang.Object
org.biopax.paxtools.pattern.util.DifferentialModificationUtil

public class DifferentialModificationUtil extends Object
THis class is used for comparing modification features of two PhysicalEntity objects of same EntityReference.
Author:
Ozgun Babur
  • Constructor Details

    • DifferentialModificationUtil

      public DifferentialModificationUtil()
  • Method Details

    • getChangedModifications

      public static Set<ModificationFeature>[] getChangedModifications(PhysicalEntity before, PhysicalEntity after)
      Gets the differential features.
      Parameters:
      before - first entity
      after - second entity
      Returns:
      array of differential features. index 0: gained features, index 1: lost features
    • collectChangedPhosphorylationSites

      public static Set<String> collectChangedPhosphorylationSites(PhysicalEntity before, PhysicalEntity after, boolean gained)