Esempio n. 1
0
	def __init__(self, **keywords):
		"""
		2008-09-18
			use pymodule.ProcessOptions
		2008-01-21
			ecotype_duplicate2tg_ecotypeid_table, snp_locus_table1 and snp_locus_table2 are useless
		"""
		from pymodule import ProcessOptions
		self.ad = ProcessOptions.process_function_arguments(keywords, self.option_default_dict, error_doc=self.__doc__, class_to_have_attr=self)
		QualityControl.__init__(self, debug=self.debug)
Esempio n. 2
0
	def load_dstruc(self):
		if self.debug:
			import pdb
			pdb.set_trace()
		QualityControl.load_dstruc(self)
		self.header1, self.strain_acc_list1, self.category_list1, self.data_matrix1 = read_data(self.input_fname1)
		self.header2, self.strain_acc_list2, self.category_list2, self.data_matrix2 = read_data(self.input_fname2)
	 	
		self.col_id2col_index1, self.col_id2col_index2, self.col_id12col_id2 = self.get_col_matching_dstruc(self.header1, self.header2)
		self.row_id2row_index1, self.row_id2row_index2, self.row_id12row_id2 = self.get_row_matching_dstruc(self.strain_acc_list1, self.category_list1, self.strain_acc_list2)
Esempio n. 3
0
    def __init__(self, **keywords):
        """
		2008-09-18
			use pymodule.ProcessOptions
		2008-01-21
			ecotype_duplicate2tg_ecotypeid_table, snp_locus_table1 and snp_locus_table2 are useless
		"""
        from pymodule import ProcessOptions
        self.ad = ProcessOptions.process_function_arguments(
            keywords,
            self.option_default_dict,
            error_doc=self.__doc__,
            class_to_have_attr=self)
        QualityControl.__init__(self, debug=self.debug)
Esempio n. 4
0
    def load_dstruc(self):
        if self.debug:
            import pdb
            pdb.set_trace()
        QualityControl.load_dstruc(self)
        self.header1, self.strain_acc_list1, self.category_list1, self.data_matrix1 = read_data(
            self.input_fname1)
        self.header2, self.strain_acc_list2, self.category_list2, self.data_matrix2 = read_data(
            self.input_fname2)

        self.col_id2col_index1, self.col_id2col_index2, self.col_id12col_id2 = self.get_col_matching_dstruc(
            self.header1, self.header2)
        self.row_id2row_index1, self.row_id2row_index2, self.row_id12row_id2 = self.get_row_matching_dstruc(
            self.strain_acc_list1, self.category_list1, self.strain_acc_list2)