![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
extract full fasta file for local blast hits | Oyster | Bioinformatics | 9 | 07-07-2019 08:39 AM |
BLAST - plus/minus strand - non coding region information | niti217 | Bioinformatics | 4 | 08-29-2013 09:23 AM |
How to change MapSplice output(txt format) into bed format? | kanewong | RNA Sequencing | 3 | 04-17-2013 08:57 PM |
Standalone BLAST output format question | dacotahm | Bioinformatics | 0 | 04-27-2012 09:51 AM |
Roche gsMapper output exon contigs rather than full-length sequence? | sulicon | Bioinformatics | 0 | 02-28-2011 05:51 PM |
![]() |
|
Thread Tools |
![]() |
#1 |
Senior Member
Location: US Join Date: Apr 2013
Posts: 222
|
![]()
Hi, I was wondering which BLAST output format I should use to do this. I want to blast against nt database. I want the output not only gives me genus and species name, but also gives me phylum, order, family name.
Is it possible? |
![]() |
![]() |
![]() |
#2 |
Member
Location: ShangHai Join Date: Nov 2009
Posts: 20
|
![]()
you can use the GI number to map the tax id and the get the complete taxonomic lineage information via taxdump.tar.Z. ftp://ftp.ncbi.nlm.nih.gov/pub/taxonomy/
|
![]() |
![]() |
![]() |
#3 |
Senior Member
Location: US Join Date: Apr 2013
Posts: 222
|
![]()
Is it possible to map it when I blast it? or I need to get blast result first and then map to tax?
Which command I should use to map the tax id? |
![]() |
![]() |
![]() |
#4 | |
Member
Location: ShangHai Join Date: Nov 2009
Posts: 20
|
![]()
blast output format 6, 7, and 10 can be additionally configured to produce a custom format , it includes the Subject Taxonomy ID (staxids flag),
for example: Quote:
|
|
![]() |
![]() |
![]() |
#5 | |
Senior Member
Location: US Join Date: Apr 2013
Posts: 222
|
![]() Quote:
|
|
![]() |
![]() |
![]() |
#6 |
Senior Member
Location: US Join Date: Apr 2013
Posts: 222
|
![]()
Hi use format 7 and use your command settings
I still do have the taxonomic lineage and I don't know how to use the taxonomic lineage file Here is my output. query id query length subject length % hsp coverage subject id subject tax ids bit score score evalue % identity q. start q. end s. start " s. end " denovo0 266 297 85 gi|14718977|gb|AF352544.1| 163259 351 190 1.00E-93 95.15 39 265 1 219 denovo1 400 1178 100 gi|117572484|gb|DQ979290.1| 1211 706 382 0 98.5 1 400 670 1069 |
![]() |
![]() |
![]() |
#7 | |||
Member
Location: ShangHai Join Date: Nov 2009
Posts: 20
|
![]()
Usage:
Quote:
format: seqId taxId Quote:
output file:taxids_export.txt Quote:
|
|||
![]() |
![]() |
![]() |
#8 | |
Senior Member
Location: US Join Date: Apr 2013
Posts: 222
|
![]() Quote:
Thank you. Last edited by SDPA_Pet; 02-19-2014 at 08:32 AM. |
|
![]() |
![]() |
![]() |
#9 | ||
Member
Location: ShangHai Join Date: Nov 2009
Posts: 20
|
![]()
You can parse the blast out file using:
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#10 |
Senior Member
Location: US Join Date: Apr 2013
Posts: 222
|
![]()
Hi, what does this mean? "cut -f1,6 blastout.txt >taxids.txt"
|
![]() |
![]() |
![]() |
#11 |
Member
Location: ShangHai Join Date: Nov 2009
Posts: 20
|
![]() |
![]() |
![]() |
![]() |
#12 |
Senior Member
Location: US Join Date: Apr 2013
Posts: 222
|
![]()
Oh, my taxon id is the 5th column. I have another attachment in my post. Is that correct? I can't get taxon information from that file.
|
![]() |
![]() |
![]() |
#13 |
Member
Location: ShangHai Join Date: Nov 2009
Posts: 20
|
![]()
Just fetch the "query id" and "tax ids" collumn .
|
![]() |
![]() |
![]() |
#14 |
Peter (Biopython etc)
Location: Dundee, Scotland, UK Join Date: Jul 2009
Posts: 1,543
|
![]()
Which BLAST output format can give full taxonomony information?
Not the XML output (for now), but the optional taxonomy columns in the tabular/comma separated output get you close: http://blastedbio.blogspot.com/2014/...love-from.html |
![]() |
![]() |
![]() |
#15 |
Member
Location: florida Join Date: Jan 2013
Posts: 67
|
![]()
I think blast+ has option to include taxonomy information. the "sscinames" option --- unique Subject Scientific Name(s)
|
![]() |
![]() |
![]() |
#16 | |
Peter (Biopython etc)
Location: Dundee, Scotland, UK Join Date: Jul 2009
Posts: 1,543
|
![]() Quote:
None of these give the full taxonomy lineage, which is what I think was being asked for here (see the earlier comments). See also http://blastedbio.blogspot.co.uk/201...criptions.html |
|
![]() |
![]() |
![]() |
#17 | |
Junior Member
Location: Raleigh, NC Join Date: Feb 2015
Posts: 4
|
![]()
Thanks so much jamslz, your script works great. I dont know but the sskingdoms option had never worked for me.
you made my day with this post! Best, Lili Quote:
|
|
![]() |
![]() |
![]() |
#18 |
Junior Member
Location: USA Join Date: Apr 2016
Posts: 3
|
![]()
Thanks for sharing! This was very helpful to me.
|
![]() |
![]() |
![]() |
#19 |
Peter (Biopython etc)
Location: Dundee, Scotland, UK Join Date: Jul 2009
Posts: 1,543
|
![]()
I believe the fairly new BLAST XML v2 output also includes taxonomy information, if available.
|
![]() |
![]() |
![]() |
#20 |
Super Moderator
Location: Walnut Creek, CA Join Date: Jan 2014
Posts: 2,707
|
![]()
Just thought I'd mention JGI's new Taxonomy server. You can look up organism names, gi numbers, or accession numbers to get either the NCBI taxid or complete lineage. These are all in the nt sequence headers.
|
![]() |
![]() |
![]() |
Thread Tools | |
|
|