Package org.infinispan.ec2demo

Examples of org.infinispan.ec2demo.Nucleotide_Protein_Element


    //check the influenza cache first
    Influenza_N_P_CR_Element myRec = influenzaCache.get(searchGBAN);
   
    if (myRec != null) {
      log.trace("Searching nucleiodCache for " + myRec.getGanNucleoid());
      Nucleotide_Protein_Element nucldet = nucleiodCache.get(myRec.getGanNucleoid());     
      request.setAttribute("Nucleotide", nucldet);

      // Display the protein details
      Map<String, String> myProt = myRec.getProtein_Data();
      Map<String, String> myMap = new HashMap<String, String>();
      for (String x : myProt.keySet()) {
        log.trace("Searching proteinCache for " + x);
        Nucleotide_Protein_Element myProtdet = proteinCache.get(x);
        String protein_CR = myProt.get(x);   
        myMap.put(myProtdet.getGenbankAccessionNumber(), protein_CR);
      }
      request.setAttribute("PMap", myMap);
    }

View Full Code Here


    //check the influenza cache first
    Influenza_N_P_CR_Element myRec = influenzaCache.get(searchGBAN);
   
    if (myRec != null) {
      log.trace("Searching nucleiodCache for " + myRec.getGanNucleoid());
      Nucleotide_Protein_Element nucldet = nucleiodCache.get(myRec.getGanNucleoid());     
      request.setAttribute("Nucleotide", nucldet);

      // Display the protein details
      Map<String, String> myProt = myRec.getProtein_Data();
      Map<String, String> myMap = new HashMap<String, String>();
      for (String x : myProt.keySet()) {
        log.trace("Searching proteinCache for " + x);
        Nucleotide_Protein_Element myProtdet = proteinCache.get(x);
        String protein_CR = myProt.get(x);   
        myMap.put(myProtdet.getGenbankAccessionNumber(), protein_CR);
      }
      request.setAttribute("PMap", myMap);
    }

View Full Code Here

    //check the influenza cache first
    Influenza_N_P_CR_Element myRec = influenzaCache.get(searchGBAN);
   
    if (myRec != null) {
      myLogger.trace("Searching nucleiodCache for " + myRec.getGanNucleoid());
      Nucleotide_Protein_Element nucldet = nucleiodCache.get(myRec.getGanNucleoid());     
      request.setAttribute("Nucleotide", nucldet);

      // Display the protein details
      Map<String, String> myProt = myRec.getProtein_Data();
      Map<String, String> myMap = new HashMap<String, String>();
      for (String x : myProt.keySet()) {
        myLogger.trace("Searching proteinCache for " + x);
        Nucleotide_Protein_Element myProtdet = proteinCache.get(x);
        String protein_CR = myProt.get(x);   
        myMap.put(myProtdet.getGenbankAccessionNumber(), protein_CR);
      }
      request.setAttribute("PMap", myMap);
    }

View Full Code Here

TOP

Related Classes of org.infinispan.ec2demo.Nucleotide_Protein_Element

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.