2022. 11. 30. 16:48ㆍ리눅스
Hisat2-build를 실행했을 때, 다음과 같은 오류가 발생했다.
/usr/bin/env: python: Permission denied
python의 권한 문제인가 싶었지만, python --version 명령어는 정상적으로 작동했다.
which python으로 봤더니 python이 설치된 경로가 /usr/bin/python3인 것 같았다.
아마도 hisat2-build 내부 스크립트에서 설정한 python 설치 경로(/usr/bin/env)와 실제 존재하는 경로(/usr/bin/)가 달라서 일어나는 오류인 모양이다.
해결방법은 hisat2-build 대신
python '/hisat2가 설치된 경로/hisat2-build'로 실행하니 실행되었다.
python '/hisat2가 설치된 경로/hisat2-build' [reference genome.fa] [output파일이름]
참고: https://www.biostars.org/p/9494176/#9494632
hisat2 /usr/bin/env: ‘python’: No such file or directory
hisat2 /usr/bin/env: ‘python’: No such file or directory 1 Hi all, I am really struggling with hisat2 recently and getting confused. I'm trying to run hisat2: hisat2-build -p 2 genome.fa genome This is my error: /usr/bin/env: ‘python’: No such file
www.biostars.org
'리눅스' 카테고리의 다른 글
clustalw로 여러 염기서열을 alignment하기 (0) | 2023.01.11 |
---|---|
bcftools를 이용해서 BAM파일로부터 공통염기배열(consensus sequence) 생성하기 (4) | 2022.12.06 |
rpm으로 설치할 때, `XZ_5.1.2alpha' not found 오류 (0) | 2022.11.30 |
CentOS에서 yum 명령어를 사용하지 않고 프로그램 설치 (0) | 2022.11.30 |
우분투 구글 크롬 원격 데스크톱 블랙스크린 해결 방법 (0) | 2022.11.12 |