building_myubuntu_distro
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
building_myubuntu_distro [2022/07/25 11:26] – [과제] hyjeong | building_myubuntu_distro [2022/07/25 14:21] (current) – [NCBI legacy blast] hyjeong | ||
---|---|---|---|
Line 97: | Line 97: | ||
===== Miniconda 및 실습용 프로그램 설치(bioconda package) ===== | ===== Miniconda 및 실습용 프로그램 설치(bioconda package) ===== | ||
- | **파이썬 3.8** 기반의 [[https:// | + | **파이썬 3.8** 기반의 [[https:// |
$ wget https:// | $ wget https:// | ||
$ bash Miniconda3-py38_4.11.0-Linux-x86_64.sh | $ bash Miniconda3-py38_4.11.0-Linux-x86_64.sh | ||
- | 설치 중에는 'conda init' 스크립트를 이용하여 startup script를 수정하도록 만든다. 종료 후 재시작하면 자동으로 conda base environment에 들어갈 것이다. 혹은 재시작하지 않고 다음과 같이 ' | + | 설치 중에는 'conda init' 스크립트를 이용하여 startup script를 수정하도록 만든다. |
+ | installation finished. | ||
+ | Do you wish the installer to initialize Miniconda3 | ||
+ | by running conda init? [yes|no] | ||
+ | [no] >>> | ||
+ | |||
+ | 종료 후 재시작하면 자동으로 conda base environment에 들어갈 것이다. 혹은 재시작하지 않고 다음과 같이 ' | ||
$ source ~/.bashrc | $ source ~/.bashrc | ||
(base) $ conda config --set auto_activate_base false | (base) $ conda config --set auto_activate_base false | ||
Line 130: | Line 136: | ||
export PATH=/ | export PATH=/ | ||
- | ==== KentUtils ==== | + | ==== KentUtils(MIT license) |
[[https:// | [[https:// | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
- | ==== 간단한 ANI 계산기 ==== | ||
- | https:// | ||
- | ==== check_circularity.pl 스크립트 ==== | + | $ cd ~/bin |
- | [[https:// | + | $ wget http:// |
+ | $ wget http:// | ||
+ | $ chmod a+x faSomeRecords faSplit | ||
+ | ==== 간단한 ANI 계산기(license 정보 없음) ==== | ||
+ | https:// | ||
+ | $ cd ~/bin | ||
+ | $ wget https:// | ||
+ | $ chmod a+x ANI.pl | ||
+ | |||
+ | ==== check_circularity.pl 스크립트(in sprai package; MIT license)==== | ||
+ | [[https:// | ||
+ | $ cd ~/apps | ||
+ | $ wget https:// | ||
+ | $ tar -xvf sprai-0.9.9.23-py27pl5.22.0_0.tar.bz2 | ||
+ | ~/apps/bin/check_circularity.pl의 라인 | ||
# | # | ||
| | ||
Line 145: | Line 163: | ||
==== run-mummer4.sh ==== | ==== run-mummer4.sh ==== | ||
- | 내가 만든 짤막한 스크립트. 우분투에서는 shebang line에 '/ | + | 내가 만든 짤막한 스크립트. 우분투에서는 shebang line에 '/ |
# | # | ||
# | # | ||
Line 181: | Line 199: | ||
mummerplot --postscript $1.delta -R $2 -Q $3 --layout --prefix=$1 | mummerplot --postscript $1.delta -R $2 -Q $3 --layout --prefix=$1 | ||
- | ==== Seqtool ==== | + | ==== Seqtool(MIT license) |
https:// | https:// | ||
Line 188: | Line 206: | ||
ANI.pl | ANI.pl | ||
- | ==== NCBI legacy blast ==== | + | ==== NCBI legacy blast(License: Public Domain) |
ANI.pl과 pyani 실행에 필요하다. [[https:// | ANI.pl과 pyani 실행에 필요하다. [[https:// | ||
+ | $ cd ~/apps | ||
+ | $ wget https:// | ||
+ | $ tar -xvzf blast-2.2.26-x64-linux.tar.gz | ||
===== SSL 인증서 설치하기 ===== | ===== SSL 인증서 설치하기 ===== | ||
KRIBB 전산망 내에 있다면 SSLPrism.crt를 설치해야 한다. [[https:// | KRIBB 전산망 내에 있다면 SSLPrism.crt를 설치해야 한다. [[https:// | ||
===== 파일로 export 후 재설치하기(import) ===== | ===== 파일로 export 후 재설치하기(import) ===== | ||
- | 홈 디렉토리에서 꼭 필요하지 않은 파일을 지운다. | + | tar 파일로 export하려 배포하려면 크기를 줄이는 것이 중요하므로, |
$ rm .viminfo .wget-hsts .sudo_as_admin_successful .bash_history | $ rm .viminfo .wget-hsts .sudo_as_admin_successful .bash_history | ||
용량을 줄이기 위해 원본 패키지를 삭제한다. | 용량을 줄이기 위해 원본 패키지를 삭제한다. | ||
Line 222: | Line 243: | ||
$ conda install mamba -n base -c conda-forge | $ conda install mamba -n base -c conda-forge | ||
[[https:// | [[https:// | ||
+ | |||
+ | ==== 힌트 ==== | ||
+ | * Canu는 v2.2의 바이너리 압축 파일을 가져다가 설치하라. xz로 압축되어 있으므로 conda base environment를 사용하라. | ||
+ | * prokka는 conda base environment에서 mamba를 이용하여 설치하라. | ||
+ |
building_myubuntu_distro.1658716016.txt.gz · Last modified: 2022/07/25 11:26 by hyjeong