コード例 #1
0
	def __init__(self, inputFnameLs=None, **keywords):
		"""
		"""
		parentClass.__init__(self, inputFnameLs=inputFnameLs, **keywords)
		self.alignmentIDList = utils.getListOutOfStr(list_in_str=self.alignmentIDList, data_type=int)
		
		self.characterPattern = re.compile(r'[a-zA-Z]')
コード例 #2
0
	def __init__(self,  **keywords):
		"""
		2012.9.17 call parentClass.__init__() directly
		2011-7-11
		"""
		self.pathToInsertHomePathList.extend(['sfs_code_path'])
		
		parentClass.__init__(self, **keywords)
		
		if hasattr(self, 'simulateLocusLengthList', None):
			self.simulateLocusLengthList = utils.getListOutOfStr(self.simulateLocusLengthList, data_type=int)
		else:
			self.simulateLocusLengthList = []
コード例 #3
0
	def __init__(self, inputFnameLs=None, **keywords):
		"""
		"""
		AbstractVervetMapper.__init__(self, inputFnameLs=inputFnameLs, **keywords)
		self.sequencedMonkeyCountryIDList = utils.getListOutOfStr(self.sequencedMonkeyCountryIDList)
		self.newSampleMonkeyCountryIDList = utils.getListOutOfStr(self.newSampleMonkeyCountryIDList)
	def __init__(self, inputFnameLs=None, **keywords):
		"""
		"""
		parentClass.__init__(self, inputFnameLs=inputFnameLs, **keywords)
		self.perturbedMonkeyList = utils.getListOutOfStr(list_in_str=self.perturbedMonkeyList, data_type=str, separator1=',', separator2=None)
コード例 #5
0
	def __init__(self, inputFnameLs=None, **keywords):
		"""
		"""
		parentClass.__init__(self, inputFnameLs=inputFnameLs, **keywords)
		self.alignmentIDList = utils.getListOutOfStr(list_in_str=self.alignmentIDList, data_type=int)