-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Hi WGlab,
I'm using convert_bim_allele.pl to fill the missing alleles in my data with the next command.
convert_bim_allele.pl --replacezero --intype top genotypes.clean.bim OMNI_chip.snptable --outfile output_fill.bim
But I'm getting this error:
NOTICE: The default --outtype of 'dbsnp' is assumed as output format
NOTICE: Reading SNP Table file OMNI_chip.snptable ... Done with 1705969 SNPs
NOITCE: 23612 insertion/deletion polymorphism are annotated in OMNI_chip (examples:1:100316615-CAG-C,1:100336041-TAGAC-T,1:100379098-GT-G)
NOTICE: The new bim file will be written to output_fill.bim ...
FATAL ERROR: the minor allele for SNP JHU_1.17537 is C but major allele is a zero allele in BIM file genotypes.clean.bim
It stops at the first allele. I don't know if changing the order of my alleles will help of if I'm missing something.
My inputs look like this:
BIM file:
1 JHU_1.17537 0 17538 C 0
1 JHU_1.54675 0 54676 T 0
1 JHU_1.56018 0 56019 T 0
1 JHU_1.61461 0 61462 A T
1 JHU_1.66161 0 66162 A 0
1 JHU_1.84138 0 84139 A 0
1 JHU_1.88337 0 88338 A G
1 JHU_1.91535 0 91536 G T
1 JHU_1.91580 0 91581 G A
SNPTable:
Name SNP ILMN Strand Customer Strand
1:10002775-GA [A/G] TOP TOP
1:100152282-CT [A/G] TOP BOT
1:100154376-GA [T/C] BOT TOP
1:100154844-CA [T/G] BOT TOP
1:100155035-AC [A/C] TOP TOP
1:100155084-CT [T/C] BOT BOT
1:100182985-CA [A/C] TOP TOP
1:100183042-AG [T/C] BOT TOP
1:100185177-GT [A/C] TOP BOT
I'll appreciate you help.
Thanks,
Cristian