Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • salamay
    Member
    • May 2014
    • 20

    #1

    BLASTX Issues

    I am attempting to run blastx from the command line, and it seems to be very slow (~5-6 minutes for 10 100bp sequences). I compared this to blastx on the NCBI website, which took only 30 seconds. This indicates that there is an issue with the command line usage of blastx, but I don't know where to start examining this issue.

    I made sure that the db used in the command line and on the ncbi website was the same (nr). I am using all default parameters.

    Any help would be appreciated.

    Thanks
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    That is an apples to oranges comparison.

    Hardware NCBI uses for Blast searches is going to be tremendously more powerful than anything you are using locally.

    What kind of hardware are you running your searches on? How much RAM are you allocating to your searches locally?

    Comment

    • salamay
      Member
      • May 2014
      • 20

      #3
      The machine I run the searches on is a 48 core 2.7ghz with 264 Gb RAM, but not sure how much of that is allocated for the search (nor do I know how to specify allocation). I run the search with default parameters so num_threads is set to 1 by default. Even though, I don't think it should be that slow. Or am I wrong?

      Comment

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #4
        If you have 48 cores then you would certainly want to up that num_threads option. You may need to experiment with that number to find the sweet spot for your hardware configuration. Start at the half-way point (and go up and down).

        If you have admin access on the machine you may want to make a RAMDISK and copy the database files there (http://askubuntu.com/questions/15286...ake-a-ram-disk) If you are not using linux then look for an appropriate set of instructions for your OS.

        Comment

        • salamay
          Member
          • May 2014
          • 20

          #5
          Increasing the threads definitely helps. I guess I'll fiddle around with that. Thanks GenoMax!

          Comment

          • debem
            Junior Member
            • Dec 2014
            • 1

            #6
            Hi ..
            I am trying to get only the "no hits" result after perform the Blastx on the command line

            I've tried:

            <my Blastx command> | tee redirect.result33.txt | cut -d ' ' -f 1 | uniq | comm -31 - ids33_query.txt

            Any help would be appreciated.

            Thanks
            Last edited by debem; 12-09-2014, 05:42 PM.

            Comment

            • Rhewter
              Member
              • Sep 2014
              • 10

              #7
              Hi debem,

              Input your results in to two files.csv and try:
              sdiff 1.csv 2.csv > difer.csv

              Open the file difer.csv and select the lines with "<".
              This is your differents IDs.

              Big hub,
              Rhewter.

              Comment

              Latest Articles

              Collapse

              • kinpict.com
                Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
                by kinpict.com
                The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
                Today, 06:37 PM
              • SEQadmin2
                16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
                by SEQadmin2





                NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
                10-30-2026, 06:46 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, 11-12-2026, 07:59 AM
              0 responses
              27 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 11-05-2026, 09:25 AM
              0 responses
              35 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 11-03-2026, 11:54 AM
              2 responses
              56 views
              0 reactions
              Last Post kinpict.com  
              Started by SEQadmin2, 10-28-2026, 09:57 AM
              0 responses
              175 views
              0 reactions
              Last Post SEQadmin2  
              Working...