On Wed, Mar 10, 2021 at 04:04:52PM -0500, Remik Ziemlinski wrote:
> The attached file worked with version 1.9, but is failing with 1.10 and
> 1.11.  Is the file valid? Is there a regression after v1.9?

No, the file is not valid.  The HD line contains spaces instead of
tabs.

> @HD VN:1.6 SO::unsorted

We added the header parser API in 1.10 the header, which is more
strict at validating the input data.  Arguably it could have been more
friendly in error message, but I recommend just opening it in a text
editor or using "hd" to look at the bytes to spot white space
problems.

James

-- 
James Bonfield (j...@sanger.ac.uk)
The Sanger Institute, Hinxton, Cambs, CB10 1SA


-- 
 The Wellcome Sanger Institute is operated by Genome Research 
 Limited, a charity registered in England with number 1021457 and a 
 company registered in England with number 2742969, whose registered 
 office is 215 Euston Road, London, NW1 2BE. 


_______________________________________________
Samtools-help mailing list
Samtools-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/samtools-help

Reply via email to