Exemplo n.º 1
0
def _run_fixture(input_files, config):
    if len(input_files) == 2:
        out_file = tophat.run_with_config(input_files[0], input_files[1],
                                          config["ref"], "tophat", config)
    else:
        out_file = tophat.run_with_config(input_files[0], None,
                                          config["ref"], "tophat", config)
    return out_file
Exemplo n.º 2
0
def _run_fixture(input_files, config):
    if len(input_files) == 2:
        out_file = tophat.run_with_config(input_files[0], input_files[1],
                                          config["ref"], "tophat", config)
    else:
        out_file = tophat.run_with_config(input_files[0], None, config["ref"],
                                          "tophat", config)
    return out_file
Exemplo n.º 3
0
 def __call__(self, in_file):
     self._start_message(in_file)
     if is_pair(in_file):
         out_file = run_with_config(in_file[0], in_file[1],
                                    self.ref, self.stage, self.config,
                                    gtf=self.gtf)
     else:
         out_file = run_with_config(in_file[0], None, self.ref,
                                    self.stage, self.config, gtf=self.gtf)