Package org.intermine.bio.dataconversion
Class NcbiGeneConverter
- java.lang.Object
-
- org.intermine.dataconversion.DataConverter
-
- org.intermine.dataconversion.FileConverter
-
- org.intermine.bio.dataconversion.BioFileConverter
-
- org.intermine.bio.dataconversion.NcbiGeneConverter
-
public class NcbiGeneConverter extends org.intermine.bio.dataconversion.BioFileConverterNcbi gene info converter
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.apache.log4j.LoggerLOG
-
Constructor Summary
Constructors Constructor Description NcbiGeneConverter(org.intermine.dataconversion.ItemWriter writer, org.intermine.metadata.Model model)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprocess(java.io.Reader reader)Read the NCBI gene_info file and create genes setting identifiers, organism and synonyms.voidsetOrganisms(java.lang.String taxonIds)Set the organisms to include by a space separated list of taxon ids.-
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
-
-
-
-
Method Detail
-
setOrganisms
public void setOrganisms(java.lang.String taxonIds)
Set the organisms to include by a space separated list of taxon ids.- Parameters:
taxonIds- the organisms to include
-
process
public void process(java.io.Reader reader) throws java.lang.ExceptionRead the NCBI gene_info file and create genes setting identifiers, organism and synonyms.- Specified by:
processin classorg.intermine.dataconversion.FileConverter- Throws:
java.lang.Exception
-
-