Class KeggOrthologuesConverter


  • public class KeggOrthologuesConverter
    extends org.intermine.bio.dataconversion.BioFileConverter
    Create orthologues based on KEGG pathways.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static org.apache.log4j.Logger LOG  
      protected org.intermine.bio.dataconversion.IdResolver rslv  
    • Constructor Summary

      Constructors 
      Constructor Description
      KeggOrthologuesConverter​(org.intermine.dataconversion.ItemWriter writer, org.intermine.metadata.Model model)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void process​(java.io.Reader reader)
      void setKeggOrganisms​(java.lang.String taxonIds)
      Sets the list of taxonIds that should be imported
      • Methods inherited from class org.intermine.bio.dataconversion.BioFileConverter

        createCrossReference, createSynonym, createSynonym, getDataSet, getDataSet, getDataSource, getOrganism, getSequenceOntologyRefId, makeLocation
      • Methods inherited from class org.intermine.dataconversion.FileConverter

        getCurrentFile, setCurrentFile
      • Methods inherited from class org.intermine.dataconversion.DataConverter

        addUniqueItemId, alias, close, createItem, getItemWriter, getModel, getUniqueItemId, newId, setStoreHook, store, store, store, store, store
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LOG

        protected static final org.apache.log4j.Logger LOG
      • rslv

        protected org.intermine.bio.dataconversion.IdResolver rslv
    • Constructor Detail

      • KeggOrthologuesConverter

        public KeggOrthologuesConverter​(org.intermine.dataconversion.ItemWriter writer,
                                        org.intermine.metadata.Model model)
        Constructor
        Parameters:
        writer - the ItemWriter used to handle the resultant items
        model - the Model
    • Method Detail

      • setKeggOrganisms

        public void setKeggOrganisms​(java.lang.String taxonIds)
        Sets the list of taxonIds that should be imported
        Parameters:
        taxonIds - a space-separated list of taxonIds
      • process

        public void process​(java.io.Reader reader)
                     throws java.lang.Exception
        Specified by:
        process in class org.intermine.dataconversion.FileConverter
        Throws:
        java.lang.Exception