简体   繁体   中英

shapeit command not found - shapeit installation for GWAS phasing

I would like to install the shapeit for GWAS phasing and impuation. I downloaded the Shapeit version for macos from Shapeit website:

https://mathgen.stats.ox.ac.uk/genetics_software/shapeit/shapeit.html#download

I extracted the file and got the shapeit execuable file, example folder, and licience file.

Next, I open the terminal in Mac, cd the directory to shapeit folder and type the command line as the website guided:

shapeit -B gwas \
        -M genetic_map.txt \
        -O gwas.phased

And I got the response:

shapeit command not found.

I guess that means i need to install the shapeit or set a path for shapeit. But I don't know how to do. I am very new with Macos.

Could someone help me ?

  1. Try ./shapeit instead of shapeit , or
  2. Run cp shapeit /usr/local/bin first and try again.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM