Announcement

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

  • 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__

  • #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


    • #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


      • #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


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

          Comment

          Latest Articles

          Collapse

          • seqadmin
            Advanced Methods for the Detection of Infectious Disease
            by seqadmin




            The recent pandemic caused worldwide health, economic, and social disruptions with its reverberations still felt today. A key takeaway from this event is the need for accurate and accessible tools for detecting and tracking infectious diseases. Timely identification is essential for early intervention, managing outbreaks, and preventing their spread. This article reviews several valuable tools employed in the detection and surveillance of infectious diseases.
            ...
            11-27-2023, 01:15 PM
          • seqadmin
            Strategies for Investigating the Microbiome
            by seqadmin




            Microbiome research has led to the discovery of important connections to human and environmental health. Sequencing has become a core investigational tool in microbiome research, a subject that we covered during a recent webinar. Our expert speakers shared a number of advancements including improved experimental workflows, research involving transmission dynamics, and invaluable analysis resources. This article recaps their informative presentations, offering insights...
            11-09-2023, 07:02 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, Today, 10:48 AM
          0 responses
          11 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, Yesterday, 08:26 AM
          0 responses
          11 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, Yesterday, 08:12 AM
          0 responses
          12 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 11-27-2023, 08:12 AM
          0 responses
          20 views
          0 likes
          Last Post seqadmin  
          Working...
          X