Hello,
I realized that samtools cat doesn't work if only one input file is
supplied. Is this behavior intentional? I would prefer if one input file
was allowed, just like in Unix cat. Example:
## Two files, OK:
samtools cat test.bam test.bam | samtools view -c -
352
## One file:
samtools cat test.bam
Usage: samtools cat [-h header.sam] [-o out.bam] <in1.bam> <in2.bam> [...]
samtools --version
samtools 1.1
Using htslib 1.1
Copyright (C) 2014 Genome Research Ltd.
Thanks!
Dario
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Samtools-help mailing list
Samtools-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/samtools-help