Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Bachbioinfo
    Member
    • Nov 2013
    • 24

    #1

    Parallel BLAST multithreading, old and new question

    Hello,

    I am wondered what is the best way to run blastn on a huge query file (5G ) against small database (SILVA or RDP) in parallel CPUs ?

    1- split queries into parts which each part is smaller then database size, then run the blastn on all parts at the same time. Then use mpiru or qsub -pe of (#$ -pe smp 8G ; #$ -l h_vmem= ? ! 8x8) on each part. I ignore until now how to run the blastn on all parts at the same time, not just doing a "while" or "for" into the parts list

    2- Use it simply with -num_threads option of blastn on (each part of course)
    3- use "-task megablast" in blastn

    I have the same question when we have a huge database like nr or nt.
    Please share with me your views, help, remarks into the aim of improving these questions and finding right answers

    thanks
    __Bach__
  • mikesh
    Member
    • Jul 2012
    • 29

    #2
    As far as I remember, -num_threads option is actually not working as expected, and blast runs in a single thread most of time. What I usually do (for the same type of problem): split query to #threads parts and run parallel on them. Sometimes it is wise to do redundancy elimination, something like CD-HIT, or at least combine identical reads.

    Comment

    • maubp
      Peter (Biopython etc)
      • Jul 2009
      • 1544

      #3
      If your query file has 10,000s of sequences, break it up into sub-files, e.g. files of 1000 sequences each. Then run a separate blastn for each query file, and if need be combine the output.
      Last edited by maubp; 12-17-2013, 08:47 AM. Reason: blastp -> blastn

      Comment

      • Bachbioinfo
        Member
        • Nov 2013
        • 24

        #4
        I see, I think spiting the query into multi-files is the best solution.
        the option -num_threads i not working correctly

        Thanks
        __Bach__

        Comment

        • maubp
          Peter (Biopython etc)
          • Jul 2009
          • 1544

          #5
          I think the -num_threads option works better on large databases.

          Comment

          Latest Articles

          Collapse

          • SEQadmin2
            Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
            by SEQadmin2



            Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

            Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
            ...
            10-14-2026, 09:55 AM
          • SEQadmin2
            New Genomics Technologies Take Aim at Long-Standing Limits
            by SEQadmin2


            Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

            We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
            ...
            09-28-2026, 10:25 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, Yesterday, 11:13 AM
          0 responses
          19 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, Yesterday, 10:48 AM
          0 responses
          18 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-15-2026, 10:52 AM
          0 responses
          36 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-14-2026, 05:39 AM
          0 responses
          42 views
          0 reactions
          Last Post SEQadmin2  
          Working...