This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Calculate heterozygosity for each SNPs in the bim file.

Hi all dear,

I have downloaded a database that is related to SNP-chip data. This database contains three files:

enter image description here

So, i want to Calculate heterozygosity for each SNPs. I use plink --make-bed --file Colli_buffalo_diversity --freqx --out Coli_freqx script to calculate heterozygosity, but I encounter the following error and ask me for a map file.

(plink) [m.rafiepour222@abrii1 New_folder]$ plink --make-bed --file Colli_buffalo_diversity --freqx --out Coli_freqx
PLINK v1.90b4 64-bit (20 Mar 2017)             www.cog-genomics.org/plink/1.9/
(C) 2005-2017 Shaun Purcell, Christopher Chang   GNU General Public License v3
Logging to Coli_freqx.log.
Options in effect:
  --file Colli_buffalo_diversity
  --freqx
  --make-bed
  --out Coli_freqx

2132707 MB RAM detected; reserving 1066353 MB for main workspace.
Error: Failed to open Colli_buffalo_diversity.map.

What is the best suggestion for my case?

Best Regard

Mostafa

snp snp-chip

Error: Failed to open Colli_buffalo_diversity.map

You have binary format (bim/bam files) acceptable by plink. Use --bfile

0 answers

No answers yet.

Log in to answer this question.