본문 바로가기

Bioinfomatics

[centrifuge] 설치 및 실행하기

conda create --yes -n centrifuge centrifuge
conda activate centrifuge
mkdir centrifuge
cd centrifuge
curl -O ftp://ftp.ccb.jhu.edu/pub/infphilo/centrifuge/data/p_compressed+h+v.tar.gz
tar -xvzf p_compressed+h+v.tar.gz

#paired-end
centrifuge -x p_compressed+h+v -1 example.1.fq -2 example.2.fq --report-file report.txt -S results.txt

#single-end
centrifuge -x p_compressed+h+v -U single.fq --report-file report.txt -S results.txt

reference)

1. https://genomics.sschmeier.com/ngs-taxonomic-investigation/index.html

2. https://github.com/gwcbi/cbi_reference_databases