AUREA.parser.GMTParser
index
/home/earls3/Price/AUREA/build/lib.linux-x86_64-2.6/AUREA/parser/GMTParser.py

Copyright (C) 2011  N.D. Price Lab
 
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.
 
You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

 
Classes
       
GMTParser

 
class GMTParser
    This class parses a gmt file and returns a dict of geneNetworks -> list(genes)
The GMT file that has been used in testing is 2.biocarta.v2.5.symbols.gmt.
Note in 2.0 we should use pyBabel.
 
  Methods defined here:
__init__(self, file_name)
getAllNetworks(self)
Returns a dictionary with a mapping from gene networks to genes.
The genes are stored as a list of strings.
getNetwork(self, name)