Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mrb
    Junior Member
    • Jul 2012
    • 4

    #1

    How come that the Trinity assembler seems to work on a computer with low memory

    Hi Dear All

    I have a dataset (about 60m reads paired or 120m together~ 14.5Gb each file). at the first I run trinity (latest version) on my dataset with below code on my pc with 16G Ram, 8 Core CPU :

    Trinity --seqType fq --JM 10G --left reads_1.fq --right reads_2.fq --CPU 8

    the run failed (because RAM deficiency).

    after search I found that i have to set CPU with butterfly dependency RAM (bflyHeapSpaceMax) then i change my code as follow and the all of process were OK and trinity.fasta file was created. All of results and statistics is OK (for example mapped back reads to trinity.fasta)

    Trinity --seqType fq --bflyHeapSpaceMax 4G --JM 10G --left reads_1.fq --right reads_2.fq --CPU 4

    and now i am really confused. because I thought that i should to run my dataset on a server with 100G RAm and ...


    I am sure. during running I had't have any error. I insert trinity.timing below:

    Statistics:
    ===========
    Trinity Version: trinityrnaseq_r20140717
    Compiler: GCC
    Trinity Parameters: --bflyHeapSpaceMax 4G --seqType fq --JM 10G --left /home/mrb/NGS/A-Project/Dr.Hosseinpour/Trimmed-data/forward.fq --right /home/mrb/NGS/A-Project/Dr.Hosseinpour/Trimmed-data/reverse.fq --CPU 4
    Paired mode
    Input data
    Left.fasta 8308 MByte
    Right.fasta 8302 MByte
    Number of unique KMERs: 204827561
    Number of reads: 0 Output data
    Trinity.fasta 65 MByte

    Runtime
    =======
    Start: Mon Sep 29 12:45:10 IRST 2014
    End: Mon Sep 29 23:09:51 IRST 2014
    Trinity 37481 seconds
    Inchworm 1230 seconds
    Chrysalis 22880 seconds
    Butterfly 12326 seconds
    Rest 1045 seconds

    I know that CPU*bflyHeapSpaceMax must be equal your RAM or lesser.

    But I dont know with decreasing bflyHeapSpaceMax, quality of my assembly is changed or not.

    Now i am really confused. how it is possible with my 16G Ram PC!!!! OR really trinity is improved.

    Has decreasing bflyHeapSpaceMax (10G to 4G) any effect on assembly quality or not?


    so please help me about this situation. is it my results ok?????

    Please guide me.

    Best
  • westerman
    Rick Westerman
    • Jun 2008
    • 1104

    #2
    Originally posted by mrb View Post
    Has decreasing bflyHeapSpaceMax (10G to 4G) any effect on assembly quality or not?
    No it has no effect. Butterfly will run the same no matter how much or little memory you give it. The only difference is that, as you found out, Butterfly will crash and not complete if it does not have enough memory.

    Comment

    • mrb
      Junior Member
      • Jul 2012
      • 4

      #3
      Thanks for your reply.
      then my results is OK?
      is Trinity improved so we can run it on a PC like mine?

      Best

      Comment

      • westerman
        Rick Westerman
        • Jun 2008
        • 1104

        #4
        Results ok.

        As for running Trinity on a PC, it depends on what you mean by "PC" -- yours is 8-core, 16 GB RAM -- which several years ago would have qualified as 'server-class'. It also depends on the size of your data. At 60M paired reads your data is on the small side.

        That said, yes Trinity has improved a lot. The old rule of thumb of 1 GB memory per 1 M reads hasn't been true in a while.

        Comment

        • mrb
          Junior Member
          • Jul 2012
          • 4

          #5
          Thanks again.
          I thought 1 GB memory per 1 M reads yet and it confused me.

          Best

          Comment

          Latest Articles

          Collapse

          • SEQadmin2
            Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
            by SEQadmin2



            CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

            Despite this, “CRISPR helped turn genome editing from a specialized technique into
            ...
            Today, 11:01 AM
          • SEQadmin2
            Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
            by SEQadmin2


            Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

            The systematic characterization of the human proteome has
            ...
            07-20-2026, 11:48 AM
          • SEQadmin2
            Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
            by SEQadmin2



            Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
            ...
            07-09-2026, 11:10 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, Today, 02:55 AM
          0 responses
          7 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-24-2026, 12:17 PM
          0 responses
          11 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-23-2026, 11:41 AM
          0 responses
          12 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-20-2026, 11:10 AM
          0 responses
          24 views
          0 reactions
          Last Post SEQadmin2  
          Working...