Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • seq_GA
    Senior Member
    • Feb 2009
    • 124

    picard reOrder problem

    Hi,
    I am getting the following error while trying to use picard ReorderSam. The bam file is around 29G size.

    Code:
     java -Xmx30G -jar /picard-tools-1.55/ReorderSam.jar I=test.bam O=test_reOrder.bam R=hg19.fa
    [Wed Nov 02 16:30:11 SGT 2011] net.sf.picard.sam.ReorderSam done. Elapsed time: 50.22 minutes.
    Runtime.totalMemory()=11533090816
    Exception in thread "main" net.sf.samtools.util.RuntimeIOException: java.io.FileNotFoundException: /tmp/userrig/sortingcollection.7495261805918270421.tmp (Too many open files)
    at net.sf.samtools.util.SortingCollection$FileRecordIterator.<init>(SortingCollection.java:445)
    at net.sf.samtools.util.SortingCollection$MergingIterator.<init>(SortingCollection.java:384)
    at net.sf.samtools.util.SortingCollection.iterator(SortingCollection.java:254)
    at net.sf.samtools.util.SortingCollection.iterator(SortingCollection.java:43)
    at net.sf.samtools.SAMFileWriterImpl.close(SAMFileWriterImpl.java:177)
    at net.sf.picard.sam.ReorderSam.doWork(ReorderSam.java:120)
    at net.sf.picard.cmdline.CommandLineProgram.instanceMain(CommandLineProgram.java:175)
    at net.sf.picard.cmdline.CommandLineProgram.instanceMainWithExit(CommandLineProgram.java:118)
    at net.sf.picard.sam.ReorderSam.main(ReorderSam.java:77)
    Caused by: java.io.FileNotFoundException: /tmp/userrig/sortingcollection.7495261805918270421.tmp (Too many open files)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:120)
    at net.sf.samtools.util.SortingCollection$FileRecordIterator.<init>(SortingCollection.java:439)
    ... 8 more
    Please let me know a way to overcome this problem. Thanks.
  • seq_GA
    Senior Member
    • Feb 2009
    • 124

    #2
    Hi,
    Any one has a solution? Thanks.

    Comment

    • christophpale
      Member
      • May 2010
      • 16

      #3
      Originally posted by seq_GA View Post
      Hi,
      Any one has a solution? Thanks.
      Try
      java -Xmx4g

      Comment

      Latest Articles

      Collapse

      • 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
      • SEQadmin2
        Cancer Drug Resistance: The Lingering Barrier to Rising Survival
        by SEQadmin2



        Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

        There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
        07-08-2026, 05:17 AM
      • GATTACAT
        Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
        by GATTACAT
        Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
        07-01-2026, 11:43 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 07-13-2026, 10:26 AM
      0 responses
      24 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 07-09-2026, 10:04 AM
      0 responses
      33 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 07-08-2026, 10:08 AM
      0 responses
      20 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 07-07-2026, 11:05 AM
      0 responses
      34 views
      0 reactions
      Last Post SEQadmin2  
      Working...