Skip to content

Commit

Permalink
input from stdin fix
Browse files Browse the repository at this point in the history
  • Loading branch information
agalitsyna committed Mar 28, 2022
1 parent bb5e919 commit 333a2bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pairtools/pairtools_parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def parse_py(
if sam_path: # open input sam file with pysam
input_sam = AlignmentFilePairtoolized(sam_path, "r", threads=kwargs.get('nproc_in'))
else: # read from stdin
input_sam = AlignmentFilePairtoolized("_", "r", threads=kwargs.get('nproc_in'))
input_sam = AlignmentFilePairtoolized("-", "r", threads=kwargs.get('nproc_in'))

### Set up output streams
outstream = (
Expand Down

0 comments on commit 333a2bb

Please sign in to comment.