Skip to content

Commit

Permalink
remove expected sam output file, do not redirect stderr to stdout
Browse files Browse the repository at this point in the history
remove expected sam output file, do not redirect stderr to stdout
  • Loading branch information
tomkinsc committed Dec 5, 2016
1 parent c73a5db commit 83a0886
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 44 deletions.

This file was deleted.

3 changes: 1 addition & 2 deletions tools/samtools.py
Expand Up @@ -154,8 +154,7 @@ def filterByCigarString(self, inBam, outBam,
# an input samtools process to read a bam file
# bufsize 0=unbuffered, 1=linebuffered, -1=system buffered (usually fully)
in_process = subprocess.Popen(in_args, bufsize=1, stdout=subprocess.PIPE,
universal_newlines=True,
stderr=subprocess.STDOUT)
universal_newlines=True)

# an output samtools process to write filtered output via stdin
out_args = [self.install_and_get_path(), 'view', '-h', '-o', outBam]
Expand Down

0 comments on commit 83a0886

Please sign in to comment.