예제 #1
0
파일: qiime.py 프로젝트: widdowquinn/THAPBI
 def __init__(self, exe_path, logger):
     """Instantiate with location of executable"""
     self._logger = logger
     self._no_run = False
     if not is_exe(exe_path):
         self._logger.error("No join_paired_ends.py script (exiting)")
         sys.exit(1)
     self._exe_path = exe_path
예제 #2
0
파일: blast.py 프로젝트: widdowquinn/THAPBI
 def __init__(self, exe_path, logger):
     """Instantiate with location of executable"""
     self._logger = logger
     self._no_run = False
     if not is_exe(exe_path):
         self._logger.error("No blastclust at %s (exiting)" % exe_path)
         sys.exit(1)
     self._exe_path = exe_path
예제 #3
0
파일: qiime.py 프로젝트: widdowquinn/THAPBI
 def __init__(self, exe_path, logger):
     """Instantiate with location of executable"""
     self._logger = logger
     self._no_run = False
     if not is_exe(exe_path):
         self._logger.error("No pick_closed_reference_otus.py script " + "(exiting)")
         sys.exit(1)
     self._exe_path = exe_path
예제 #4
0
파일: swarm.py 프로젝트: widdowquinn/THAPBI
 def __init__(self, exe_path, logger):
     """Instantiate with location of executable"""
     self._logger = logger
     self._no_run = False
     if not is_exe(exe_path):
         self._logger.error("No SWARM program in PATH (exiting)")
         sys.exit(1)
     self._exe_path = exe_path
예제 #5
0
 def __init__(self, exe_path, logger):
     """Instantiate with location of executable"""
     self._logger = logger
     self._no_run = False
     if not is_exe(exe_path):
         self._logger.error("No trim_quality script available (exiting)")
         sys.exit(1)
     self._exe_path = exe_path
     self.format = 'fastq'
예제 #6
0
 def __init__(self, exe_path, logger):
     """Instantiate with location of executable"""
     self._logger = logger
     self._no_run = False
     if not is_exe(exe_path):
         msg = ["trimmomatic executable not valid", "trimming of reads will not be run"]
         for m in msg:
             self._logger.warning(m)
         self._no_run = True
     self._exe_path = exe_path
예제 #7
0
 def __init__(self, exe_path, logger):
     """Instantiate with location of executable"""
     self._logger = logger
     self._no_run = False
     if not is_exe(exe_path):
         self._logger.error("No convert_format script available (exiting)")
         sys.exit(1)
     self._exe_path = exe_path
     self.informat = "fastq"
     self.outformat = "fasta"