示例#1
0
 def _paste_pipelines(self, config_file):
     """merge intermediate pipelines."""
     pipeline_script = os.path.join(self.args.working_dir,
                                    self.args.pipeline_name + '.py')
     with open(pipeline_script, 'w') as ps:
         plumber = Plumber(ps, None)
         plumber.paste_pipelines(self.pipelines, config_file)
示例#2
0
文件: utils.py 项目: radaniba/kronos
 def make_script(self, sample_id):
     """run the plumber and make a python script for the pipeline."""
     with open(self.pipeline_script, 'w') as ps:
         plumber = Plumber(ps, self.wf)
         plumber.make_script(sample_id)
示例#3
0
文件: kronos.py 项目: radaniba/kronos
	def _paste_pipelines(self, config_file):
		"""merge intermediate pipelines."""
		pipeline_script = os.path.join(self.args.working_dir, self.args.pipeline_name + '.py') 
		with open(pipeline_script, 'w') as ps:
			plumber = Plumber(ps, None)
			plumber.paste_pipelines(self.pipelines, config_file)
示例#4
0
 def make_script(self, sample_id):
     """run the plumber and make a python script for the pipeline."""
     with open(self.pipeline_script, 'w') as ps:
         plumber = Plumber(ps, self.wf)
         plumber.make_script(sample_id)