Entering edit mode
2.6 years ago
Natasha
▴
40
Hi All,
I have downloaded a fasta from UniprotKB. I would like to use this file for protein identification but the identification step in OpenMS also requires .pin, .phr, .psq files of the relevant fasta file. I am not sure how to generate these files.
Could someone please help me with this?
The fasta file that I have is uploaded here
no idea what that openMS is but those file extensions hint towards blast-DB formatted files.
You could thus, if that makes sense for that tool, get those by making a blastDB from your fasta file (
makeblastdb
cmd)Hi, thanks for the suggestion. I'm sorry for the naive question, I'm new to this. Could you please let me know which package has to be installed to use this command?
sure, you'll need the blast package (NCBI blast) to be installed.
https://blast.ncbi.nlm.nih.gov/Blast.cgi?PAGE_TYPE=BlastDocs&DOC_TYPE=Download
Hi, I tried
I am not sure what are other arguments have to be specified. Could you please have a look?
USAGE
well, as the message says you need to specify the
-dbtype
argument on your cdmline (it will beprot
given the extensions you mentioned, this means you want to format a DB containing protein sequences)Thanks so much, I get the above error this time. I'm not sure if I have missed something. Could you please have a look?
can't tell remotely :/
there are a number of things to check though:
I didn't run a command that does the formatting.
From what's described here https://cgpdb.ucdavis.edu/BlastParser/Blast_Parser.html
but I am not sure where to find
formatdb
. This is not available in the bin folder of the blast package which I have downloaded. Instead offormatdb
,blast_formatter
is available. But the input arguments are different (I don't findT
). Not sure how to format the fasta file.those are the old NBCI blast versions (< 2.10.1 ) , perhaps you need those but then you'll have to download a blast version of a couple of years old, those still have the formatdb etc .
In the new version those have been replaced with makeblastdb
Ahh, my mistake. It wasn't writable. Thanks so much. This works