Skip to content

Commit

Permalink
The bcftools head command does not support -o either
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarshall committed Oct 22, 2024
1 parent a25bd31 commit 256adfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pysam/libcutils.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ def _pysam_dispatch(collection,
if collection == "bcftools":
# in bcftools, most methods accept -o, the exceptions
# are below:
if method not in ("index", "roh", "stats"):
if method not in ("head", "index", "roh", "stats"):
stdout_option = "-o {}"
elif method in MAP_STDOUT_OPTIONS[collection]:
# special case - samtools view -c outputs on stdout
Expand Down

0 comments on commit 256adfc

Please # to comment.