aspera
mkdir app && cd app
wget http://download.asperasoft.com/download/sw/connect/3.7.4/aspera-connect-3.7.4.147727-linux-64.tar.gz &
tar zxvf aspera-connect-3.7.4.147727-linux-64.tar.gz
bash aspera-connect-3.7.4.147727-linux-64.sh #安装
cd ~ # 去根目录
ls -alh # 如果看到.aspera文件夹,代表安装成功
echo 'export PATH=~/.aspera/connect/bin:$PATH' >> ~/.bashrc
source ~/.bashrc
ascp --help #ok
conda安装
fastqc multiqc samtools htslib bcftools trimmomatic bwa gatk
conda install -c bioconda fastqc multiqc trimmomatic htslib bcftools bwa gatk4
conda install -c bioconda samtools=1.9
troubleshooting
- 运行samtools报错是因为版本太低 强制安装1.9版本可以解决问题
samtools: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory
MAC
Julia 设置RCall
和PyCall
Sys.getenv("R_HOME") #在R中获取地址
using Pkg
Pkg.add("RCall")
ENV["R_HOME"] = "/Library/Frameworks/R.framework/Resources"
conda activate julia #shell
which python #shell
Pkg.add("PyCall")
ENV["PYTHON"] = "/Users/Saul/miniconda3/envs/julia/bin/python"
Pkg.build("PyCall")
pip install xlrd==1.2.0