예제 #1
0
 def __init__(self, path=None, **keywords):
     MatrixFile.__init__(self, path=path, **keywords)
     
     self.familyID2MemberList= {}
     self.familySize2SampleIDList = {}
     self._pedigreeGraph = None
     self._childNodeSet = None
예제 #2
0
 def __init__(self, path=None, **keywords):
     MatrixFile.__init__(self, path=path, **keywords)
     self.header = None
     self.col_name2index = None	#key is sampleID, value is index of first haplotype
     
     self.sampleIDList = []
     self.sampleID2index = {}	#same as col_name2index
     self.locusIDList = []
     self.haplotypeMatrix = []
     
     self.snpData = None	#to store everything above . SNPData type
 def __init__(self, path=None, **keywords):
     MatrixFile.__init__(self, path=path, **keywords)
     
     #summary data
     self.no_of_intervals = 0
     self.interval_value_ls = []
     self.interval_length_ls = []
     self.chromosome_size = 0
     
     self.min_interval_value = None
     self.max_interval_value = None
     self.median_interval_value = None
     
     self.min_interval_length = None
     self.max_interval_length = None
     self.median_interval_length = None
     
     self.interval_ls = []