Class BiomartEnsembleNcbiParser

All Implemented Interfaces:
LineParser<Ensembl2NcbiValueObject>, Parser<Ensembl2NcbiValueObject>

public class BiomartEnsembleNcbiParser extends LineMapParser<String,Ensembl2NcbiValueObject>
Parser for BioMart file. The taxon and the attributes in the file are essential for construction so that the parser is configured to parse the file in the correct fashion for the taxon. The biomart file is taxon spefic which means that the file is generated from bioamrt after providing taxon as a query parameter. It is of the gemma type LineMapParser which means that after parsing a Map of BioMartEnsembleNcbi value objects are returned keyed on ensembl peptide id. Parsing is triggered by calling super class method parse which then calls child method parse oneline.
Author:
ldonnison
  • Constructor Details

    • BiomartEnsembleNcbiParser

      public BiomartEnsembleNcbiParser(Taxon taxon, String[] attributesInFile)
      Class needs to be initialised with taxon and which attributes have been used in query for biomart and thus what columns are in this file.
      Parameters:
      taxon - Taxon for the current file being processed
      attributesInFile - The attributes that were queried for in Biomart
  • Method Details