Examples of DBCompound


Examples of net.sf.mzmine.modules.peaklistmethods.identification.dbsearch.DBCompound

    if (compoundName == null) {
      throw (new IOException(
          "Could not parse compound name for compound " + ID));
    }

    DBCompound newCompound = new DBCompound(OnlineDatabase.MASSBANK, ID,
        compoundName, compoundFormula, databaseURL, structure2DURL,
        structure3DURL);

    return newCompound;
View Full Code Here

Examples of net.sf.mzmine.modules.peaklistmethods.identification.dbsearch.DBCompound

      name = ERROR_MESSAGE;
      formula = null;
    }

    // Create and return the compound record.
    return new DBCompound(OnlineDatabase.CHEMSPIDER, ID, name, formula,
        new URL(STRUCTURE_URL_PATTERN.replaceFirst("CSID", ID)),
        new URL(STRUCTURE2D_URL_PATTERN.replaceFirst("CSID", ID)),
        new URL(STRUCTURE3D_URL_PATTERN.replaceFirst("CSID", ID)));
  }
View Full Code Here

Examples of net.sf.mzmine.modules.peaklistmethods.identification.dbsearch.DBCompound

    URL structure2DURL = new URL(metLinStructureAddress1 + ID
        + metLinStructureAddress2);

    URL structure3DURL = null;

    DBCompound newCompound = new DBCompound(OnlineDatabase.METLIN, ID,
        compoundName, compoundFormula, entryURL, structure2DURL,
        structure3DURL);

    return newCompound;
View Full Code Here

Examples of net.sf.mzmine.modules.peaklistmethods.identification.dbsearch.DBCompound

    if (ID3DMet != null) {
      structure3DURL = new URL(met3DStructureAddress1 + ID3DMet
          + met3DStructureAddress2);
    }

    DBCompound newCompound = new DBCompound(OnlineDatabase.KEGG, ID,
        compoundName, compoundFormula, entryURL, structure2DURL,
        structure3DURL);

    return newCompound;
View Full Code Here

Examples of net.sf.mzmine.modules.peaklistmethods.identification.dbsearch.DBCompound

    if (compoundName == null) {
      throw (new IOException("Invalid compound ID " + ID));
    }

    DBCompound newCompound = new DBCompound(OnlineDatabase.PLANTCYC, ID,
        compoundName, compoundFormula, entryURL, structure2DURL,
        structure3DURL);

    return newCompound;
View Full Code Here

Examples of net.sf.mzmine.modules.peaklistmethods.identification.dbsearch.DBCompound

    URL entryURL = new URL(pubchemEntryAddress + CID);
    URL structure2DURL = new URL(pubchem2DStructureAddress + CID);
    URL structure3DURL = new URL(pubchem3DStructureAddress + CID);

    DBCompound newCompound = new DBCompound(OnlineDatabase.PubChem, CID,
        compoundName, compoundFormula, entryURL, structure2DURL,
        structure3DURL);

    return newCompound;
View Full Code Here

Examples of net.sf.mzmine.modules.peaklistmethods.identification.dbsearch.DBCompound

    if (compoundName == null) {
      throw (new IOException("Could not parse compound name"));
    }

    DBCompound newCompound = new DBCompound(OnlineDatabase.HMDB, ID,
        compoundName, compoundFormula, entryURL, structure2DURL,
        structure3DURL);

    return newCompound;
View Full Code Here

Examples of net.sf.mzmine.modules.peaklistmethods.identification.dbsearch.DBCompound

    String compoundFormula = fields[3];
    URL structure2DURL = new URL(lipidMapsStructureAddress + ID);
    URL structure3DURL = null;
    URL databaseURL = new URL(lipidMapsDetailsAddress + ID);

    DBCompound newCompound = new DBCompound(OnlineDatabase.LIPIDMAPS, ID,
        compoundName, compoundFormula, databaseURL, structure2DURL,
        structure3DURL);

    return newCompound;
View Full Code Here

Examples of net.sf.mzmine.modules.peaklistmethods.identification.dbsearch.DBCompound

    if (compoundName == null) {
      throw (new IOException("Could not parse compound name"));
    }

    DBCompound newCompound = new DBCompound(OnlineDatabase.YMDB, ID,
        compoundName, compoundFormula, entryURL, structure2DURL,
        structure3DURL);

    return newCompound;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.