![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
BLAST+ creating custom blast database and using blast+ filtering features | deniz | Bioinformatics | 3 | 07-07-2019 08:04 AM |
surprisingly hard: Going from Genbank Accession number to Genome Name | berthubert | Bioinformatics | 4 | 01-25-2014 11:17 AM |
how to identify blast hits with only 1 HSP (not limit the number of HSP) | Kennels | Bioinformatics | 9 | 11-17-2013 10:17 PM |
Download RefSeq .gb files based on accession number | thedamian | Bioinformatics | 4 | 12-13-2012 04:31 AM |
Get chromosome number from BLAST results | logicthief | Bioinformatics | 5 | 04-12-2012 06:34 PM |
![]() |
|
Thread Tools |
![]() |
#1 |
Member
Location: italy Join Date: Jul 2014
Posts: 26
|
![]()
Hey guys,
I have a list of all the genes I have with the respective GI and accession number. What I would like to do is to make a blast using these accession number instead of the fasta sequence (as I ususally do with blast+), in order to have all the info (and particularly the taxonimy ID). Is it possible? How can I do? Thank you in advance |
![]() |
![]() |
![]() |
#2 |
Senior Member
Location: sub-surface moon base Join Date: Apr 2013
Posts: 372
|
![]()
You don't need blast for connecting GI/Accession to Taxonomy ID. This file links Prot GI to TaxID and this file does the same with Nucl GIs. Alternatively, if you don't want to download the big map files, you can use e.g. Entrez Direct, for example:
Code:
esearch -db protein -query ProtGiNumber | elink -target taxonomy | efetch -format xml | xtract -element TaxId | cut -f1
__________________
savetherhino.org Last edited by rhinoceros; 08-10-2014 at 11:45 PM. |
![]() |
![]() |
![]() |
#3 |
Member
Location: italy Join Date: Jul 2014
Posts: 26
|
![]()
Thank you very much. It seems really perfect for my problem.
But, how can I work with that kind of file (dmp)? Sorry but I'm really new of this world |
![]() |
![]() |
![]() |
#4 | |
Senior Member
Location: sub-surface moon base Join Date: Apr 2013
Posts: 372
|
![]() Quote:
Code:
grep -m1 -w ^74664614 gi_taxid_prot.dmp Code:
awk '$1 == 74664614 {print;exit}' gi_taxid_prot.dmp
__________________
savetherhino.org |
|
![]() |
![]() |
![]() |
#5 |
Member
Location: italy Join Date: Jul 2014
Posts: 26
|
![]()
Thank's again. It works perfectly
![]() |
![]() |
![]() |
![]() |
Tags |
blast+, ncbi |
Thread Tools | |
|
|