Пример #1
0
  private static EnzymeType makeEnzymeType() {

    EnzymeType enzymeType = new EnzymeType();
    enzymeType.setId("Enz1");
    enzymeType.setCTermGain("OH");
    enzymeType.setNTermGain("H");
    enzymeType.setMinDistance(1);
    return enzymeType;
  }
Пример #2
0
  public static EnzymeType makeNoEnzyme() {

    EnzymeType enzymeType = new EnzymeType();
    enzymeType.setId("Enz1");
    ParamListType nameParam = new ParamListType();
    nameParam
        .getParamGroup()
        .add(CvParamMaker.getInstance().make("MS:1001091", "NoEnzyme", CvConstants.PSI_CV));
    enzymeType.setEnzymeName(nameParam);
    return enzymeType;
  }