Hi Devon,

Thanks for your quick response. I did not use "-h inh.sam". The test is
attached. The header looks good.

Thanks for your help.

Yifeng


> Hi Yifeng,
>
> Can you post one of the headers (preferably the one from the first file
> that you specified in the merge command)? Am I correct in assuming that
> you
> didn't use the "-h inh.sam" option?
>
> In general, this error means that there's something about the header file
> that samtools is trying to write to the merged file that it can't quite
> parse correctly.
>
> Best,
> Devon
>
> --
> Devon Ryan, Ph.D.
> Email: dpr...@dpryan.com
> Laboratory for Molecular and Cellular Cognition
> German Centre for Neurodegenerative Diseases (DZNE)
> Ludwig-Erhard-Allee 2
> 53175 Bonn
> Germany
> <devon.r...@dzne.de>
>
> On Fri, Nov 28, 2014 at 2:43 AM, <yif...@cmmt.ubc.ca> wrote:
>
>> Hi,
>>
>> I can successfully merge two bam files (replicates from ENCODE) using
>> samtools version 0.1.19, but got an invalid header error with version
>> 1.1.
>> Is there anything I need to do with the parameters of v1.1, in order to
>> be
>> consistent with v0.1.19?
>>
>> Thanks,
>>
>> Yifeng
>>
>>
>>
>> ------------------------------------------------------------------------------
>> 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=157005751&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Samtools-help mailing list
>> Samtools-help@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/samtools-help
>>
>

Attachment: example.out
Description: Binary data

------------------------------------------------------------------------------
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=157005751&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