Open curtisim0 opened 3 weeks ago
Proteins downloaded from the ncbi-asn1/protein_fasta repo have organism names in [square brackets] at the end of the header. These appear to be unique for phage names e.g., [Mycobacterium phage Aminay], [Serratia phage Muldoon]. This could be a good bet for parsing out as an organism ID. FASTA headers from the protein_fasta repo have this form:
protein_accession protein name [organism name] MXXXXXXXXX
AIX32998.1 hypothetical protein Syn7803US50_14 [Synechococcus phage ACG-2014f] MAEQNWERRILQSFGANFRLDVSNPQKTVGGEDVYNFYSVTDEEKVCLMGQQQDGLWRLYNDDKVEIVGG AKVVEDGVCVTIVGKNGDVVINADNNGRVRIRGQNINLQADEDVNITAGRNVNIKSGSGRTLLAGNTLEK DALKGNLLDPEKQWAWRVFEGTGLPAGMFPQLMSPFSGITDLAGSIVGGVGFGDAISGAVSSAVSGAVSG
WPJ71242.1 RNA polymerase sigma factor for late transcription [Escherichia phage vB-Eco-KMB39] MSETKPKYNYVNNKELLQAIIDWKTELANNKDPNKVVRQNDTIGLAIMLIAEGLSKRFNFSGYTQSWKQE MIADGIEASIKGLHNFDETKYKNPHAYITQACFNAFVQRIKKERKEVAKKYSYFVHNVYDSRDDDMVALV DETFIQDIYDKMTHYEESTYRTPGAEKKSVVDDSPSLDFLYEAND
Also the ability to read BLASTXML output doesn't work, I think Anthony wrote it to only recognize XML2 which only our own Galaxy was set to make. If the tool could parse data out of XML output that might make it more portable. Here is 1 hit, the [organism] would show up in the
/XML
example blastp output which would be input for the tool:
Galaxy6-[blastp_Peptide_sequences_from_Apollo_vs_protein_BLAST_database_from_data_3].txt
From Jason:
Is the tool very specific for only the NCBI DB format?
Problem: is organism reliably identified in the headers of proteins?
Retool for Uniprot protein headers? These seem to always contain organism info in header
Headers from the CPT Galaxy databases (retrieved from the NCBI ftp repo??) work with the tool, they contain explicit organism names in the headers, last field in the header in [square brackets]
It is possible to download only phage protein datasets from NCBI:
Will try this out on usegalaxy.eu
This is a good tool for phages with little to no DNA identity, still useful