By the way, the same happens for samtools merge:

samtools merge test2.bam test.bam
You must specify at least 2 input files.
...

Dario

On 3 December 2014 at 15:00, Peter Cock <p.j.a.c...@googlemail.com> wrote:

> This was the use case I envisioned on reading the original request.
> To me this seems like a sensible thing to add to samtools cat :)
>
> Peter
>
> On Wed, Dec 3, 2014 at 2:04 PM, Dario Beraldi <dario.bera...@gmail.com>
> wrote:
> > Hi Devon, Sure, I see your point. However, I have a simple script that
> takes
> > batches of bam files, concatenate them and do something else. One of the
> > batches is actually a single file so samtools cat fails. The work around
> is
> > easy enough, of course, but even easier would have been to have cat spit
> out
> > the single file as it is.
> >
> > 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

Reply via email to