Hi all, Sorry if this already has a clever answer, but I failed to figure it out. I am trying to collect and merge all the unmapped reads from many bam files. I can run samtools merge -R 'contig' but how do you run it for unmapped '*' I tried quotes escaping but no luck. I know samtools view and flags can do it but I have many files generated in a pipeline and I like to extract all the unmapped reads in a separate file for other analysis. Samtools view does not take multiple inputs so merge will work the best. Any thoughts anybody?
Thank you for the help ------------------------------------------------------------------------------ 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