Skip to content
Snippets Groups Projects
Commit c45d1761 authored by Gabriel Studer's avatar Gabriel Studer
Browse files

suppress terminal output, when running kclust with binding.

parent 1e7f33d6
Branches
Tags
No related merge requests found
......@@ -99,7 +99,7 @@ def _RunkClust(tmp_dir_name, clustering_thresh, create_alignments):
executable=settings.Locate('kClust')
cmd=[]
cmd.append('kClust')
cmd.append(executable)
cmd.append('-i')
cmd.append(os.path.join(tmp_dir_name,'fastadb.fasta'))
cmd.append('-d')
......@@ -108,8 +108,8 @@ def _RunkClust(tmp_dir_name, clustering_thresh, create_alignments):
cmd.append(str(bitscore))
cmd=' '.join(cmd)
ps=subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE)
ps.stdout.readlines()
ps=subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdout, stderr = ps.communicate()
result=_ParseOutput(tmp_dir_name)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment