Seqanswers Leaderboard Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • evensrii
    Junior Member
    • Jan 2018
    • 1

    Generate local blast database with RefSeq bacteria AND taxonomy

    Dear all,

    I would like to be able to create my own custom local blast database, as this may be relevant in many different situations in bioinformatics. In this case, I hope to make a database containing all the latest versions of the bacterial genomes found in RefSeq. For starters, I have downloaded bacterial genomes (assemblies) from ftp://ftp.ncbi.nlm.nih.gov/genomes/refseq/bacteria, using information in the "assembly_summary.txt" to fetch the latest genome versions only. As a result, I now have almost 104,000 files (one per bacterial genome) containing one or multiple contigs. So far, so good.

    Each contig within a genome has a header containing the NCBI accession number ++, i.e.:

    Genome (file) 1:

    Code:
    >NZ_NMDP01000102.1 Escherichia coli strain MOD1-EC6062
    
    >NZ_NMDP01000103.1 Escherichia coli strain MOD1-EC6062
    Genome (file) 2:

    Code:
    >NZ_NOBY01000102.1 Escherichia coli strain MOD1-EC5816
    
    >NZ_NOBY01000115.1 Escherichia coli strain MOD1-EC5816
    etc...

    I now want to associate all genomes with a taxonomy (taxid?), as I understand this is important in many applications. For example, by blasting to my local database, I want to be able to quickly determine from which bacterium my blast query sequence originates.

    My questions are therefore:

    1. How do I find the taxon ID for all the bacterial genomes in question?

    (Note: These are genomes from ../genomes/refseq/bacteria, not ..refseq/release/bacteria)?

    2. How do I incorporate that information into my genome files and/or final local database?

    I suspect I first have to link up the NCBI accession number in the headers to a taxon ID in some way, but I'm not sure how to do that, or in what format it should be.

    All answers are highly appreciated!

    Kind regards,

    Even Sannes Riiser,

    PhD candidate, University of Oslo, Norway

Latest Articles

Collapse

  • seqadmin
    New Genomics Tools and Methods Shared at AGBT 2025
    by seqadmin


    This year’s Advances in Genome Biology and Technology (AGBT) General Meeting commemorated the 25th anniversary of the event at its original venue on Marco Island, Florida. While this year’s event didn’t include high-profile musical performances, the industry announcements and cutting-edge research still drew the attention of leading scientists.

    The Headliner
    The biggest announcement was Roche stepping back into the sequencing platform market. In the years since...
    03-03-2025, 01:39 PM
  • seqadmin
    Investigating the Gut Microbiome Through Diet and Spatial Biology
    by seqadmin




    The human gut contains trillions of microorganisms that impact digestion, immune functions, and overall health1. Despite major breakthroughs, we’re only beginning to understand the full extent of the microbiome’s influence on health and disease. Advances in next-generation sequencing and spatial biology have opened new windows into this complex environment, yet many questions remain. This article highlights two recent studies exploring how diet influences microbial...
    02-24-2025, 06:31 AM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by seqadmin, 03-20-2025, 05:03 AM
0 responses
17 views
0 reactions
Last Post seqadmin  
Started by seqadmin, 03-19-2025, 07:27 AM
0 responses
18 views
0 reactions
Last Post seqadmin  
Started by seqadmin, 03-18-2025, 12:50 PM
0 responses
19 views
0 reactions
Last Post seqadmin  
Started by seqadmin, 03-03-2025, 01:15 PM
0 responses
185 views
0 reactions
Last Post seqadmin  
Working...