Package biana :: Package BianaParser :: Module MyDataParser :: Class MyDataParser
[hide private]
[frames] | no frames]

Class MyDataParser

source code



MyData Parser Class 

Parses data in the following format (meaining Uniprot_id1 interacts with Uniprot_id2 and some scores are associated with both the participants and the interaction):

        Uniprot_id1 Description1 Participant_score1 Uniprot_id2 Description2 Participant_score2 Interaction_Affinity_score

Instance Methods [hide private]
 
__init__(self)
Start with the default values
source code
 
parse_database(self)
Method that implements the specific operations of a MyData formatted file
source code

Inherited from bianaParser.BianaParser: add_to_log, close, get_log_string, initialize_input_file_descriptor, parseArguments, print_help, start

Inherited from bianaParser.BianaParser (private): _indent, _splitsize

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  name = 'mydata'
  description = 'This file implements a program that fills up ta...
  external_entity_definition = 'An external entity represents a ...
  external_entity_relations = 'An external relation represents a...
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

Start with the default values

Overrides: object.__init__

parse_database(self)

source code 

Method that implements the specific operations of a MyData formatted file

Overrides: bianaParser.BianaParser.parse_database

Class Variable Details [hide private]

description

Value:
'This file implements a program that fills up tables in BIANA database\
 from data in MyData format'

external_entity_definition

Value:
'An external entity represents a protein'

external_entity_relations

Value:
'An external relation represents an interaction with given affinity'