Package name.mjw.jamber.IO.AMBER

Examples of name.mjw.jamber.IO.AMBER.ParameterStore


  }

  private static ParameterStore openAndReadGaffFile(String gaffFileName) {

    InputStream inputStream = null;
    ParameterStore gaffParameterStore = null;

    try {
      inputStream = new FileInputStream(gaffFileName);
    } catch (FileNotFoundException e) {
      System.out.println("Cannot open file" + gaffFileName);
      e.printStackTrace();
    }

    try {
      gaffParameterStore = new ParameterStore();
      gaffParameterStore.readParm(inputStream);
    } catch (IOException e) {
      System.out.println("Cannot parse ParameterStore file"
          + gaffFileName);
      e.printStackTrace();
    }

    LOG.debug(gaffParameterStore.getTitle());
    return gaffParameterStore;

  }
View Full Code Here


    InputStream frcmodIs = OpenMMXMLWithMol2RitonavirTest.class.getClass()
        .getResourceAsStream(
            "/name/mjw/jamber/IO/OpenMM/ritonavir/ritonavir.frcmod");

    try {
      parameterStore = new ParameterStore();
      parameterStore.readParm(gaffIs);
      parameterStore.readFrcmod(frcmodIs);

    } catch (Exception e) {
View Full Code Here

    InputStream parmIs = OpenMMXMLWithLibTest.class
        .getClass()
        .getResourceAsStream("/name/mjw/jamber/IO/AMBER/lib/parm99.dat");

    try {
      parameterStore = new ParameterStore();
      parameterStore.readParm(parmIs);

    } catch (IOException e) {

      e.printStackTrace();
View Full Code Here

        .getClass()
        .getResourceAsStream(
            "/name/mjw/jamber/IO/OpenMM/bromoergocryptine/bromoergocryptine.frcmod");

    try {
      parameterStore = new ParameterStore();
      parameterStore.readParm(gaffIs);
      parameterStore.readFrcmod(frcmodIs);

    } catch (Exception e) {
View Full Code Here

    InputStream parmLiteFrcmod = OpenMMXMLWithMol2CYPCPDITest.class
        .getClass().getResourceAsStream(
            "/name/mjw/jamber/IO/AMBER/CPDI/parm99_lite.dat");

    try {
      parameterStore = new ParameterStore();

      parameterStore.readParm(gaffIs);

      // TODO make consistent with other methods
      try {
View Full Code Here

        .getClass()
        .getResourceAsStream(
            "/name/mjw/jamber/IO/OpenMM/erythromycin/erythromycin.frcmod");

    try {
      parameterStore = new ParameterStore();
      parameterStore.readParm(gaffIs);
      parameterStore.readFrcmod(frcmodIs);

    } catch (Exception e) {
View Full Code Here

    InputStream gaffIs = OpenMMXMLWithMol2KetoconazoleTest.class.getClass()
        .getResourceAsStream("/name/mjw/jamber/IO/AMBER/lib/gaff.dat");

    try {
      parameterStore = new ParameterStore();
      parameterStore.readParm(gaffIs);

    } catch (IOException e) {

      e.printStackTrace();
View Full Code Here

        .getResourceAsStream("/name/mjw/jamber/IO/AMBER/lib/gaff.dat");



    try {
      parameterStore = new ParameterStore();
      parameterStore.readParm(gaffIs);

    } catch (Exception e) {

      e.printStackTrace();
View Full Code Here

        .getResourceAsStream("/name/mjw/jamber/IO/AMBER/lib/gaff.dat");



    try {
      parameterStore = new ParameterStore();
      parameterStore.readParm(gaffIs);

    } catch (Exception e) {

      e.printStackTrace();
View Full Code Here

TOP

Related Classes of name.mjw.jamber.IO.AMBER.ParameterStore

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.