Closed yewero closed 2 years ago
does it work with /dev/stdin
instead of -
?
It works well with /dev/stdin
:
bwameth.py c2t t_R1.fastq.gz t_R2.fastq.gz | \
bwa-mem2 mem -T 40 -B 2 -L 10 -CM -U 100 -p -R '@RG\tID:t_R\tSM:t_R' -t 12 ref.fa.bwameth.c2t /dev/stdin
@PoisonAlien , should we make the change to /dev/stdin
?
Yes, I am ok with the change. I have been using this tool for a while now and, it's weird that I have never encountered it earlier. Regardless, this is probably the robust way than a dash since it is universally available.
Thanks. I have pushed that change and tagged v0.2.4
https://github.com/brentp/bwa-meth/blob/94e2b9beb03f88878172cdccb50b8f483a824035/bwameth.py#L366 In the
example
folder:The cmd was:
An error will occur in the first strategy:
Package version: bwa-meth.py 0.2.3 bwa-mem2 2.0pre2