Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • GenoMax
    replied
    Originally posted by hyates View Post
    Thanks. I think I tried this before and put it in the directory with update_blastdb.pl, so I moved the files to a new directory. However, I am rerunning the command into a directory I wish for it to be in.

    So, in theory, this command should work with the local blast nt I download, right? In otherwords, blast my fasta file against the local nt database?
    Code:
    blastn -db ~/path/to/my/local/nt/db -query ~/path/to/this/fasta/even_tribolium.fasta
    You minimally want something like this, if you want click-able html output:
    Code:
    $ blastn –query ~/path/to/this/fasta/even_tribolium.fasta -db /path_to/nt -task blastn -html -out out.html

    Leave a comment:


  • hyates
    replied
    Originally posted by GenoMax View Post
    This would be a large download. So depending on bandwidth available it could take some time. Make sure you have enough space available on disk and do not try this on wi-fi
    Thanks. I think I tried this before and put it in the directory with update_blastdb.pl, so I moved the files to a new directory. However, I am rerunning the command into a directory I wish for it to be in.

    So, in theory, this command should work with the local blast nt I download, right? In otherwords, blast my fasta file against the local nt database?
    Code:
    blastn -db ~/path/to/my/local/nt/db -query ~/path/to/this/fasta/even_tribolium.fasta
    Last edited by hyates; 03-05-2015, 10:25 AM.

    Leave a comment:


  • GenoMax
    replied
    Originally posted by hyates View Post
    • I ran ./update_blastdb.pl nt but I don't think I specified a directory. Oh no...
    This would be a large download. So depending on bandwidth available it could take some time. Make sure you have enough space available on disk and do not do this via wi-fi

    Leave a comment:


  • hyates
    replied
    Originally posted by GenoMax View Post
    Some questions for you:

    1. Did you download all pre-formatted nt.nn.tar.gz files from this link: ftp://ftp.ncbi.nlm.nih.gov/blast/db/ and unzip them in a single directory. Do not do anything else to the files. This database is pre-formatted.

    When using the database provide -db /path_to/nt (do not worry about file numbers).

    2. Output options for blast: http://www.ncbi.nlm.nih.gov/books/NB...BLAST_search_r
    If you don't like what you see there are custom parsers available to get just what you need.
    • I ran ./update_blastdb.pl nt but I don't think I specified a directory. Oh no...
    • Thanks for the link to options. I am hopeful it has what I need since I am asking for basic fields.

    Leave a comment:


  • GenoMax
    replied
    Originally posted by hyates View Post
    I have been reading this.

    I was able to write a basic query using blast n as follows:
    Code:
    blastn -db ~/programming/blastexample/db/tdb -query ~/programming/blastexample/db/even_tribolium.fasta
    It seems to me that I must replace tdb (I used makedb to create this) with the downloaded local nt database?

    However, I now downloaded nt into local database and I have the following questions:
    • How can I blast my fasta file against local nt blast database?
    • Are there options only to output the species name, contig, and E-value?
    • Where did my nt local blast database go? ha ha ha.



    Thanks for considering my question and your patience. I am very new to all of this.
    Some questions for you:

    1. Did you download all pre-formatted nt.nn.tar.gz files from this link: ftp://ftp.ncbi.nlm.nih.gov/blast/db/ and unzip them in a single directory. Do not do anything else to the files. This database is pre-formatted.

    When using the database provide -db /path_to/nt (do not worry about file numbers).

    2. Output options for blast: http://www.ncbi.nlm.nih.gov/books/NB...BLAST_search_r
    If you don't like what you see there are custom parsers available to get just what you need.

    Leave a comment:


  • How can I write a bash command to blast local nt database?

    I have been reading this.

    I was able to write a basic query using blast n as follows:
    Code:
    blastn -db ~/programming/blastexample/db/tdb -query ~/programming/blastexample/db/even_tribolium.fasta
    It seems to me that I must replace tdb (I used makedb to create this) with the downloaded local nt database?

    However, I now downloaded nt into local database and I have the following questions:
    • How can I blast my fasta file against local nt blast database?
    • Are there options only to output the species name, contig, and E-value?
    • Where did my nt local blast database go? ha ha ha.



    Thanks for considering my question and your patience. I am very new to all of this.

Latest Articles

Collapse

  • SEQadmin2
    From Collection to Sequencing: Why Sample Preparation and Preservation Define Sequencing Data
    by SEQadmin2


    Data variability is still an issue in sequencing technologies despite the advances in reproducibility and accuracy of these platforms. But the problem does not originate in the sequencing itself, but in the previous steps, before the sample reaches the sequencer.


    The first step is collection, followed by preservation and sample preparation for analysis. Most scientists overlook those steps, but not being careful might just be skewing the experiment’s results.
    ...
    06-02-2026, 10:05 AM
  • SEQadmin2
    Single-Cell Sequencing at an Inflection Point: Early Impacts of New Platforms and Emerging Trends
    by SEQadmin2


    With the launch of new single-cell sequencing platforms in 2026, the field stands at an exciting inflection point. This article surveys the most impactful advances in the field and discusses how they’re reshaping research in cancer, immunology, and beyond.


    Introduction

    Single-cell sequencing technologies have undergone remarkable advances over the past decade, transitioning from low-throughput experimental approaches to highly scalable platforms capable of...
    05-22-2026, 06:42 AM
  • SEQadmin2
    Environmental Genomics in the Age of NGS: From Microbes to Conservation Strategies
    by SEQadmin2

    Studying ecosystems means dealing with complex, multi-species communities that are hard to observe at scale. This complexity, however, hides many important questions to be answered, from how biogeochemical cycles work and how climate change can affect species distribution to how conservation strategies can work best.


    Genomics, particularly since the expansion of NGS, has transformed ecosystem ecology. By sequencing environmental DNA, we can now assess biodiversity without direct...
    05-06-2026, 09:04 AM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by SEQadmin2, 06-02-2026, 12:03 PM
0 responses
21 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 06-02-2026, 11:40 AM
0 responses
14 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 05-28-2026, 11:40 AM
0 responses
29 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 05-26-2026, 10:12 AM
0 responses
31 views
0 reactions
Last Post SEQadmin2  
Working...