Trim Galore安裝

安裝這個(gè)Trim Galore軟件上之前需要安裝好Fastqc和cutadapt兩個(gè)軟件:

1. 安裝Fastqc

wget http://www.bioinformatics.babraham.ac.uk/projects/fastqc/fastqc_v0.11.8.zip

unzip fastqc_v0.11.8.zip

cd? /data/tools/FastQC

chmod u+x fastqc? 或者 chmod 754 fastqc? ? ? #設(shè)置可執(zhí)行權(quán)限

###配置環(huán)境變量

vim ~/.bashrc

export PATH="/data/tools/FastQC:$PATH"? # 添加至文件最后一行

source ~/.bashrc? #使配置文件生效

fastqc --help? #測(cè)試

2.安裝cutadapt

cutadapt下載源代碼:https://github.com/marcelm/cutadapt

1、conda 安裝成功;但調(diào)用的時(shí)候一直出問題,也找不到原因,于是換成源碼安裝(捂臉。。)

2、嘗試源碼安裝:

? ? ? ? ??git clone https://github.com/marcelm/cutadapt/

? ?? ?????cd cutadapt

? ????????chmod 777 setup.py

? ?? ?????python setup.py?

然后就是遇到各種Python(報(bào)錯(cuò))

configure: error: No modern nasm or yasm found as required. Nasm should be v2.11.01 or later (v2.13)

pkg_resources.VersionConflict: (PyYAML 3.11 (**********), Requirement.parse('pyyaml>=4'))

于是各種更新:

python3 -m pip install --upgrade pip -i https://pypi.douban.com/simple

python3 -m pip install nasm

python3 -m pip list

直到?jīng)]有出現(xiàn)報(bào)錯(cuò)

cutadapt --version? ? ? #檢查是否安裝成功

###配置環(huán)境變量(同上)

3.安裝Trim Galore

TrimGalore: A wrapper around Cutadapt and FastQC to consistently apply adapter and quality trimming to FastQ files, with extra functionality for RRBS data

3.1. 源代碼下載:https://github.com/FelixKrueger/TrimGalore

查看安裝日志:Installation:

Trim Galore!is a a Perl wrapper around two tools:CutadaptandFastQC. To use, ensure that these two pieces of software are available and copy the trim_galore script to a location available on the PATH.

For example:

#Check that cutadapt is installed

cutadapt --version

#Check that FastQC is installed

fastqc -v

#Install Trim Galore!

curl -fsSL https://github.com/FelixKrueger/TrimGalore/archive/0.4.5.tar.gz -o trim_galore.tar.gz?

tar xvzf trim_galore.tar.gz

TrimGalore-0.4.5/trim_galore? ? ? ? ? ? #檢查是否安裝成功

下載源碼安裝成功!

###配置環(huán)境變量(同上)

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容