I am using plink2 (code below) to extract some SNPs and since I need specific allele dosage I am using --export-allele option but there are some SNP ids which are multiple (multi-alleleic). I have the required allele in the file which I provide with --export-allele option but still i get the following error "Error: --export-allele variant ID 'rs00000000' appears multiple times in dataset". How can I force plink to look at the allele and chose that variant.
plink2 \
--pfile $inpath/chr${SLURM_ARRAY_TASK_ID}.03292018 \
--extract range $datpath/chr_pos_extraction.txt \
--export A-transpose \
--export-allele $datpath/snp_allele_extraction.txt \
--memory 16000 \
--threads 5 \
--freq cols=+pos,+reffreq \
--out $outpath/chr${SLURM_ARRAY_TASK_ID}