Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Extracting all microbial sequences from NT

    Hi all,

    I have been trying to find a way to extract all microbial (and eukaryotic) sequences in the NT database but I am running into a bunch of problems.

    I have tried to download the GI lists for all bacterial entries using the NCBI nucleotide database, but the generated files always time out and fail to download the file completely. Then I thought maybe I could get the GI IDs using blastdbcmd, but that also fails. I tried the following:

    Code:
    blastdbcmd -db nt -entry all -outfmt '%g %T' | awk '{ if ($2 == "2") print $1 }' > ../gi/bacteria.gi
    But that also failed, since the individual entries have their species taxon in the %T field, instead of the domain, etc.

    Then I thought maybe I could get a list of all taxon IDs for bacteria, eukaryota, etc., but that also doesn't appear to exist.

    So in short - does anybody have an idea how I can extract all microbial sequences (to make a custom database) from the NT database? Whatever method works....

    Thanks guys!

  • #2
    Hey

    Not a full solution, but MEGAN provides files which map GIs to taxon IDs for nt and nr via this link: http://ab.inf.uni-tuebingen.de/data/...d/welcome.html

    Hope that helps

    Comment


    • #3
      Easiest method to get taxonomy ids ...
      Just check out this directory: ftp://ftp.ncbi.nih.gov/pub/taxonomy/

      ________________
      If you want bacteria and virsus genome in fasta format files ...

      Check out doucmentation here :
      A brief description of file extensions and file formats found at the National Center for Biotechnology Information

      for NCBI file name extensions.

      You can ftp download data from NCBI here :
      ftp://ftp.ncbi.nlm.nih.gov/genomes/Bacteria/
      Look for the all* files. The ftp://ftp.ncbi.nlm.nih.gov/genomes/B...all.fna.tar.gz file should be all bacterial genomes.

      Virae here : ftp://ftp.ncbi.nlm.nih.gov/genomes/Viruses/

      "WGS bacteria OLD" is thereabouts, just look around. Draft genomes there abouts, too.

      _____

      Alternate way to get taxon ids for example bacteria ...

      You can get the file "all rpt" file via wget :
      wget ftp://ftp.ncbi.nlm.nih.gov/genomes/B...all.rpt.tar.gz
      Unzip and untar.

      Run the command
      -bash-3.00$ find . -name '*.rpt' -exec grep Taxid {} \; | sort | uniq
      There you go.

      Comment


      • #4
        Wow, thanks so much guys - this was incredible helpful! I got it all covered now

        Comment

        Latest Articles

        Collapse

        • seqadmin
          Essential Discoveries and Tools in Epitranscriptomics
          by seqadmin




          The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
          04-22-2024, 07:01 AM
        • seqadmin
          Current Approaches to Protein Sequencing
          by seqadmin


          Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
          04-04-2024, 04:25 PM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, Yesterday, 08:47 AM
        0 responses
        12 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-11-2024, 12:08 PM
        0 responses
        60 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-10-2024, 10:19 PM
        0 responses
        59 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-10-2024, 09:21 AM
        0 responses
        54 views
        0 likes
        Last Post seqadmin  
        Working...
        X