Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lingling huang
    Member
    • Mar 2016
    • 48

    #1

    Can use multiple CPUs or thread to speed up the running rate for tofu_wrap.py?

    Hi, there. I have 7 smrtcell data. It's really slow to run tofu_wrap.py, I want to know to weather I can use multiple CPUs or thread to speed up the running rate. Thank you for any tips!
  • Magdoll
    Member
    • Aug 2011
    • 31

    #2
    Hi,

    Short answer is yes. There are multiple ways to hack tofu_wrap.py -- will require additional monitoring of the parallel jobs. But I first need to ask what parameters did you use to call tofu_wrap.py? What are the size bins (aka what are the subdirectories in clusterOut/)? Do you have an SGE cluster? Do you have multiple nodes from which you can run parallel pbtranscript.py cluster jobs?

    Also, please consider joining the Iso-Seq google group: https://groups.google.com/forum/#!forum/smrt_isoseq

    Since tofu_wrap.py is on the cutting edge (it's not officially supported in SMRTAnalysis 2.x but is on the agenda for SMRTAnalysis 3.x), the google group is better suited

    --Liz

    Comment

    • lingling huang
      Member
      • Mar 2016
      • 48

      #3
      Originally posted by Magdoll View Post
      Hi,

      Short answer is yes. There are multiple ways to hack tofu_wrap.py -- will require additional monitoring of the parallel jobs. But I first need to ask what parameters did you use to call tofu_wrap.py? What are the size bins (aka what are the subdirectories in clusterOut/)? Do you have an SGE cluster? Do you have multiple nodes from which you can run parallel pbtranscript.py cluster jobs?

      Also, please consider joining the Iso-Seq google group: https://groups.google.com/forum/#!forum/smrt_isoseq

      Since tofu_wrap.py is on the cutting edge (it's not officially supported in SMRTAnalysis 2.x but is on the agenda for SMRTAnalysis 3.x), the google group is better suited

      --Liz
      Code:
      tofu_wrap.py --nfl_fa isoseq_nfl.fasta --ccs_fofn reads_of_insert.fofn --bas_fofn input.fofn -d clusterOut --quiver --bin_manual "(0,2,4,6,8,9,10,11,12,13,15,17,19,20,23)" --gmap_db /zs32/data-analysis/liucy_group/llhuang/Reflib/gmapdb --gmap_name gmapdb_h19 --output_seqid_prefix human isoseq_flnc.fasta final.consensus.fa
      The lab's sever is high-powered single-node computer and
      has no an SGE cluster. Can I use multiple CPUs to run command?

      Comment

      • Magdoll
        Member
        • Aug 2011
        • 31

        #4
        Without SGE, it will be slow anyway.

        But if you think that single node can handle it, one way is to run multiple instances of `pbtranscript.py cluster` on the different bins.

        ex: tofu_wrap.py always creates bins 0to1kb_part0, 1to2kb_part0, etc

        You can terminate tofu_wrap and keep the bins as they are. Then separately in each bin call a separate instance of cluster:

        pbtranscript.py cluster isoseq_flnc.fasta final.consensus.fa \
        --nfl_fa isoseq_nfl.fasta -d cluster --ccs_fofn reads_of_insert.fofn \
        --bas_fofn input.fofn --quiver --use_sge \
        --max_sge_jobs 40 --unique_id 300 --blasr_nproc 24 --quiver_nproc 8

        (for you, you would remove the --use_sge and --max_sge_jobs option)

        (see cluster tutorial here: https://github.com/PacificBioscience...-and-Quiver%29)

        My guess is this would make it a bit faster but still relatively slow since everything is running in serial instead of parallel, but may be better than nothing...

        Comment

        Latest Articles

        Collapse

        • 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, detection...
          Today, 06:46 AM
        • 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

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 10-28-2026, 09:57 AM
        0 responses
        23 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-28-2026, 09:51 AM
        0 responses
        15 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-22-2026, 11:13 AM
        0 responses
        68 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-22-2026, 10:48 AM
        0 responses
        48 views
        0 reactions
        Last Post SEQadmin2  
        Working...