bamUtil
bamUtil copied to clipboard
cannot consume -.ubam on a pipe
samtools view ... | bam trimBam -.ubam -.ubam --clip -R
produces this error:
bam: invalid option -- '.'
ERROR: Unrecognized option left
works ok with
samtools view ... |bam trimBam - - --clip -R
does work though
looks like a getopt problem to me.
You are correct, there was a getopt problem with that tool. I checked a fix into master. Please let me know if that resolves your problem. Thank you
seems to work for me now - thanks!