Changeset 367

Show
Ignore:
Timestamp:
05/30/10 02:42:01 (21 months ago)
Author:
AlexanderPico
Message:

Added Gene Wiki as a datasource

Location:
trunk
Files:
2 added
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/org.bridgedb.bio/src/org/bridgedb/bio/BioDataSource.java

    r308 r367  
    117117        public static final DataSource GRAMENE_PATHWAY = DataSource.register ( 
    118118                "Gp", "Gramene Pathway").asDataSource(); 
    119         public static final DataSource GEN_PEPT = DataSource.register ( 
    120                 "Gp", "GenPept").asDataSource();  
     119        public static final DataSource GENE_WIKI = DataSource.register ( 
     120                "Gw", "GeneWiki").asDataSource();  
    121121        public static final DataSource HUGO = DataSource.register ( 
    122122                "H", "HUGO").asDataSource(); 
     
    223223                                Pattern.compile("\\d+") 
    224224                ); 
     225                //gene wiki (using entrez gene ids) 
     226                DataSourcePatterns.registerPattern( 
     227                                BioDataSource.GENE_WIKI,  
     228                                Pattern.compile("\\d+") 
     229                ); 
    225230 
    226231                //MGI