You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
!! ERROR (genfile::MalformedInputError): the sample file "/mnt/storage/private/mrcieu/data/ukbiobank/genetic/variants/arrays/imputed/released/2018-09-18/data/sample-files/data.chr01.sample" is malformed on line 17, column 1. Quitting.
Error (genfile::MalformedInputError): Source "/mnt/storage/private/mrcieu/data/ukbiobank/genetic/variants/arrays/imputed/released/2018-09-18/data/sample-files/data.chr01.sample" is malformed on line 17, column 1..
So I removed all lines start with # using the following codes
sed '/^#/d' /mnt/storage/private/mrcieu/data/ukbiobank/genetic/variants/arrays/imputed/released/2018-09-18/data/sample-files/data.chr01.sample > /mnt/storage/scratch/yc16575/bp_mr_drug/geno/sample/data.chr01.sample
sample index missing_proportion missing_call_proportion heterozygous_proportion heterozygous_call_proportion
0 C C C C C
IEU6189432 0 0 0.0184638 0.195346 0.190014
IEU3007655 1 0 0.0214294 0.206779 0.200754
IEU3987068 2 0 0.0182489 0.208061 0.202874
IEU7396518 3 0 0.0179826 0.197685 0.192267
IEU8375037 4 0 0.0189953 0.196003 0.190471
Then qctool would return this error:
Welcome to qctool
(version: 2.2.0, revision: unknown)
(C) 2009-2020 University of Oxford
Opening genotype files : [******************************] (1/1,-7.8s,-0.1/s)
terminate called after throwing an instance of 'genfile::MismatchError'
what(): genfile::MismatchError
Aborted
The text was updated successfully, but these errors were encountered:
Making bgen files for sub-populations using qctools:
This returned the following error message:
where the data.chr01.sample looks like:
So I removed all lines start with # using the following codes
Then inserted "Column type line" referencing the file format instruction for qctools.
Now the sample file for CHR 1 looks like:
Then qctool would return this error:
The text was updated successfully, but these errors were encountered: