How to deal with qctool Error: sample file and genotype file sample IDs do not match!

Trying to convert BGEN files from zstd to zlib, using code from UKB_RAP/format_conversion/bgen_compression_conversion.md at main · dnanexus/UKB_RAP · GitHub

But occurred this:

Welcome to qctool

(version: 2.2.0, revision: unknown)

(C) 2009-2020 University of Oxford

 

Opening genotype files                   : [               ] (0/22,0.0s,0.0/s)

Opening genotype files                   : [*               ] (1/22,1.3s,0.8/s)

Opening genotype files                   : [****             ] (3/22,2.3s,1.3/s)

Opening genotype files                   : [********           ] (6/22,3.7s,1.6/s)

Opening genotype files                   : [******************************] (22/22,2.3s,9.4/s)

Opening genotype files                   : [******************************] (22/22,2.3s,9.4/s)

!! Error: sample file and genotype file sample IDs do not match!

!! First mismatch is at sample 1: IDs are "XYZ" and "YXZ".

terminate called after throwing an instance of 'genfile::MismatchError'

 what(): genfile::MismatchError

Comments

2 comments

Please sign in to leave a comment.