1 Jun 2007 01:52
Re: interaction networks in biopython
Jake Feala <jfeala <at> gmail.com>
2007-05-31 23:52:36 GMT
2007-05-31 23:52:36 GMT
Hi Everybody - I've been thinking about the possible structure of a "BioNet" package, and here is what I think would be most useful: InteractionRecord.py - a storage object for biological interactions, mirroring information stored in the PSI-MI (Proteomics Standards Initiative - Molecular Interaction) XML standard - unless someone knows a better one. Network.py - network object inheriting a NetworkX graph class with additional methods for manipulating an InteractionRecord stored with each edge InteractionIO - a submodule with parsers to read and write interactions to/from Cytoscape, PSI-MI, and other formats or online interaction databases BioNetSQL - a submodule for storing and querying to a local SQL database of interactions I've started on the code, including parsers for Cytoscape, PSI-MI XML files, and GRID flat files. I haven't fixed up my SQL scripts yet because I want to rethink the database design. All the code is available at http://cmrg.ucsd.edu/JakeFeala#software Here is an example that worked fine for me: from Network import * f = open(<GRID flat file from http://theBioGRID.org>) parser = GRIDIterator(f):(Continue reading)
RSS Feed