Matrix Science Mascot Parser toolkit
 
Loading...
Searching...
No Matches
ms_unigene Class Referenceabstract

This class encapsulates a complete unigene file. More...

#include <ms_unigene.hpp>

Inherited by ms_unigene_dat.

Collaboration diagram for ms_unigene:

Public Member Functions

 ms_unigene (const ms_mascotresfilebase &resfile, const char *filename)
 The constructor for a unigene object.
 
virtual const ms_unigene_entryfindEntry (const char *id)=0
 Given an accession, return a pointer to the relevant unigene entry.
 
virtual std::string getUnigeneForAccession (const std::string accession, const int index)=0
 Return the Unigene 'accession' (ID) for a given EST accession.
 

Protected Member Functions

void addAccessionUnigenePair (const ms_unigene_entry *unigene, const std::string &accession)
 Used internally to create a lookup of gi numbers to a list of accessions.
 

Detailed Description

This class encapsulates a complete unigene file.

Creating one of these objects reads in the unigene file, creating a number of ms_unigene_entry objects. The gi and EMBL accessions are all indexed.


The documentation for this class was generated from the following files: