Hi,

no, the order should not matter. There were some issues with header parsing in older versions of htslib and those should be all fixed. If you encounter anything odd in the new version, please open an issue on github with a reproducible test case.

Best wishes,
Petr

On 29/11/2021 10:53, Thomas Juettemann wrote:
Hello Everyone,

another hopefully simple question:

Does the order of the Metadata section matter? To be more specific,
does it matter if metadata types are not in a block?

For example:
[...]
FORMAT
FORMAT
INFO
CONTIG
CONTIG
INFO
CONTIG
FORMAT
[...]

I'm experiencing some records being lost when using bcftools sort 1.9,
and I am wondering if that could be the reason. It does not happen
when using the latest version.

Thanks,
Thomas


_______________________________________________
Samtools-help mailing list
Samtools-help@lists.sourceforge.net
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_samtools-2Dhelp&d=DwICAg&c=D7ByGjS34AllFgecYw0iC6Zq7qlm8uclZFI0SqQnqBo&r=xdvdTaAZDWitAtUqWIZL0P13OEx0W20kZW6y-ipKSDY&m=0iAvKcutdTqr7jLnl3XimB4cqGOnp7E-NSS7oIuuQsQIl9cyH_nDg_jSXLahedGw&s=MP5R1bV7WlWwraJ6bJjjODkS8EQ37i5T0ZMjv746JkI&e=




--
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