Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Help! Picard`s AddOrReplaceReadGroups.jar t

    To whom it may concern,

    I want to work with SNP calling using GATK.

    I`ve been trying to use the Picard`s AddOrReplaceReadGroups.jar tool to convert sam file to bam file.
    But Picard stopped(without any error message). This size of sam file is 40Gb and I think this is bigger than my computer memory.

    My file size is 30Gb fastq file.

    My work flow is follow:

    1) bwa index -a bwtsw hg19

    2) bwa aln -t 6 hg19 sample.fastq > sample.sai

    3) bwa samse hg19 sample.sai sample.fastq > sample.sam --> 40Gb

    4) java -Djava.io.tmpdir=/tmp -Xmx8g -jar /myPath/AddOrReplaceReadGroups.jar \
    INPUT=sample.sam OUTPUT=sample.addRG.bam \
    SORT_ORDER=coordinate \
    RGID=sample RGLB=sampleLIB RGPL=ILLUMINA \
    RGPU=NONE RGSM=sample \
    VALIDATION_STRINGENCY=LENIENT

    ---------------------------------------------------------------------------------------
    Problem happens when I run step 4. Whenever I run this step, the process stop and I am not able to do anything.

    I would appreciate any help.

  • #2
    what is the actual error message? Plz post that. There should be some error message visible on the terminal..

    Comment


    • #3
      --------------------process Message-----------------------------------------
      INFO AddOrReplaceReadGroups Processed 1,000,000 ...
      INFO AddOrReplaceReadGroups Processed 2,000,000 ...
      :
      :
      INFO AddOrReplaceReadGroups Processed 196,000,000
      ---------------------------------------------------------------------------------

      There is not any message. I think that hang on. I wait for long time but noting happened.

      Comment


      • #4
        try add this parameter -XX:PermSize=8g -XX:MaxPermSize=8g after -Xmx8g. It will assign more java heap space to picards

        Originally posted by gogooma View Post
        To whom it may concern,

        I want to work with SNP calling using GATK.

        I`ve been trying to use the Picard`s AddOrReplaceReadGroups.jar tool to convert sam file to bam file.
        But Picard stopped(without any error message). This size of sam file is 40Gb and I think this is bigger than my computer memory.

        My file size is 30Gb fastq file.

        My work flow is follow:

        1) bwa index -a bwtsw hg19

        2) bwa aln -t 6 hg19 sample.fastq > sample.sai

        3) bwa samse hg19 sample.sai sample.fastq > sample.sam --> 40Gb

        4) java -Djava.io.tmpdir=/tmp -Xmx8g -jar /myPath/AddOrReplaceReadGroups.jar \
        INPUT=sample.sam OUTPUT=sample.addRG.bam \
        SORT_ORDER=coordinate \
        RGID=sample RGLB=sampleLIB RGPL=ILLUMINA \
        RGPU=NONE RGSM=sample \
        VALIDATION_STRINGENCY=LENIENT

        ---------------------------------------------------------------------------------------
        Problem happens when I run step 4. Whenever I run this step, the process stop and I am not able to do anything.

        I would appreciate any help.

        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...
          Yesterday, 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, 04-11-2024, 12:08 PM
        0 responses
        59 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-10-2024, 10:19 PM
        0 responses
        57 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-10-2024, 09:21 AM
        0 responses
        48 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-04-2024, 09:00 AM
        0 responses
        55 views
        0 likes
        Last Post seqadmin  
        Working...
        X