Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • picard tools:

    Hello

    I have been using Picard-tools a lot recently, For one of my data-sets, I get the below error. Can you help me figure, How to resolve the issue?

    Command line:

    java -jar SortSam.jar I= /home/u548717/Kosena_MP_3kb/s_G1_L001_R2_001_002.sort.bam.bam O= /home/u548717/Kosena_MP_3kb/s_G1_L001_R2_001_002.noduplicates.bam SO= coordinate VALIDATION_STRINGENCY=LENIENT

    Error is below:


    [Sat Dec 17 09:27:15 EST 2011] net.sf.picard.sam.SortSam done. Elapsed time: 0.60 minutes.
    Runtime.totalMemory()=996544512
    Exception in thread "main" java.lang.OutOfMemoryError: PermGen space
    at java.lang.String.intern(Native Method)
    at net.sf.samtools.SAMSequenceRecord.<init>(SAMSequenceRecord.java:83)
    at net.sf.samtools.SAMTextHeaderCodec.parseSQLine(SAMTextHeaderCodec.java:205)
    at net.sf.samtools.SAMTextHeaderCodec.decode(SAMTextHeaderCodec.java:96)
    at net.sf.samtools.BAMFileReader.readHeader(BAMFileReader.java:391)
    at net.sf.samtools.BAMFileReader.<init>(BAMFileReader.java:99)
    at net.sf.samtools.SAMFileReader.init(SAMFileReader.java:511)
    at net.sf.samtools.SAMFileReader.<init>(SAMFileReader.java:144)
    at net.sf.samtools.SAMFileReader.<init>(SAMFileReader.java:114)
    at net.sf.picard.sam.SortSam.doWork(SortSam.java:61)
    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.SortSam.main(SortSam.java:79)

    Thanks much for the help in advance

    Best,
    Rakesh

  • #2
    Looks like you are running out of memory - try to add the following:
    java -Xmx2g -jar

    Comment

    Latest Articles

    Collapse

    • seqadmin
      Essential Discoveries and Tools in Epitranscriptomics
      by seqadmin




      The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
      04-22-2024, 07:01 AM
    • seqadmin
      Current Approaches to Protein Sequencing
      by seqadmin


      Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
      04-04-2024, 04:25 PM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by seqadmin, Yesterday, 11:49 AM
    0 responses
    15 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 04-24-2024, 08:47 AM
    0 responses
    16 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 04-11-2024, 12:08 PM
    0 responses
    61 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 04-10-2024, 10:19 PM
    0 responses
    60 views
    0 likes
    Last Post seqadmin  
    Working...
    X