Skip to content
Snippets Groups Projects
Commit 32d04dbe authored by Tobias Schmidt's avatar Tobias Schmidt
Browse files

Revert "added nopgap flag to clustalw binding"

This reverts commit d1818e3b.
parent f33f424f
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@ from ost import settings, io, seq, LogError
import os
import subprocess
def ClustalW(seq1, seq2=None, clustalw=None, keep_files=False, nopgap=False):
def ClustalW(seq1, seq2=None, clustalw=None, keep_files=False):
clustalw_path=settings.Locate(('clustalw', 'clustalw2'),
explicit_file_name=clustalw)
......@@ -32,8 +32,6 @@ def ClustalW(seq1, seq2=None, clustalw=None, keep_files=False, nopgap=False):
command='%s -infile="%s" -output=fasta -outfile="%s"' % (clustalw_path,
temp_dir.files[0],
out)
if nopgap:
command+=" -nopgap"
ps=subprocess.Popen(command, shell=True, stdout=subprocess.PIPE)
ps.stdout.readlines()
aln=io.LoadAlignment(out)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment