blast p-error with making directory

Bioinformatics Asked by dominic chang on May 3, 2021

I tried running this command python CmydPro tlr TLR.txt to extract the query sequence for the target species I’m looking at. However, whenever I try running it always comes up as a blast p error and says there’s no directory. I downloaded as a file made from my lab’s GitHub but I have no idea how to troubleshoot the error since it’s not a required directory. I made sure all my directories were correct and that all my files were intact. Any help with this would be greatly appreciated.

This is the error I keep getting:

Traceback (most recent call last):
File "", line 53, in
blastp_scout = subprocess.Popen(['blastp', '-db', organism_db, '-query', 'temp.fa', '-out', 'blast', '-num_descriptions', '5', '-num_alignments', '0'])
File "/home/dylan_w190/miniconda3/lib/python3.8/", line 854, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/dylan_w190/miniconda3/lib/python3.8/", line 1702, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'blastp'

These are all the files I have stored in my directory:

'$RECYCLE.BIN' 'Genome Files' TLR.txt
'ASM 28112' 'Genome Files (1)' Tham
'ASM 28964' 'Genome Files (2)' Vim
'ASM 3597' 'Genome Files (3)' Xenopus
'ASM 45574' 'Genome Files (4)' blast-2.11.0+
AnoCar Git
Chrysemys GopAga
Cliv GopAga2.0-Genome human
CmydPro Halia ls
CmydPro_results.txt LICENCE mouse
Config.Msi Lib ncbi-blast-2.6.0+
CroPor ncbi-blast-2.6.0+-win64.exe
'FASTAs (2)' OpenSSH-Win64 pip
Format Ornitho pvi
GCF_015237465.1_rCheMyd1.pri_genomic.fna PelSin pyzo
GFFs Python
'GFFs (2)' PythonX temp.fa
GRCh38 README.txt tlr_CmydPro.fa
GRCm38 Rnor tlr_ref.fasta
Gallus 'Rnor - Copy' vs_buildtools__576366542.1609221376.exe
GavGan Scripts vs_community__576366542.1609221376.exe
Gekko 'System Volume Information'

One Answer

You don't have blastp in your path. Blast is either not installed on your system or it's just not been added to path right.

Answered by Liam McIntyre on May 3, 2021

Add your own answers!

Related Questions

Principle of TMT Tags in Multiplex Proteomics

1  Asked on August 22, 2021 by osaama-shehzad


How I change a function not to need an input

1  Asked on August 22, 2021 by exhausted


How do I get cromwell to create soft-links?

0  Asked on August 22, 2021 by greg-dougherty


How can I restrict the search space when querying GEO?

1  Asked on August 22, 2021 by an-ignorant-wanderer


Ask a Question

Get help from others!

© 2023 All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir