Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • example for using Picard removing duplicate reads?

    Does anybody can give me such example?

    java -jar ~/bin/picard/MarkDuplicates.jar REMOVE_DUPLICATES=true METRICS_FILE=dup.txt INPUT=accepted_hits.bam OUTPUT=remove_accepted_hits.bam

    Thank you very much.

  • #2
    Hi,
    I usually increase the RAM used, change the validation stringency and define a tmp dir.

    My example will look like this:
    java -Xmx4g -jar ~/bin/picard/MarkDuplicates.jar INPUT=accepted_hits.bam OUTPUT=remove_accepted_hits.bam METRICS_FILE=dup.txt VALIDATION_STRINGENCY=LENIENT REMOVE_DUPLICATES=true TMP_DIR=/tmp

    Comment


    • #3
      Thank you for your suggestions.
      I am doing RNA-seq data analysis. I am still not very sure it is neccessary to remove the duplication or not.

      Comment


      • #4
        When I used picard to remove dulications, I used fastqc to check. It still have a high duplication level (63%). Why?

        Comment


        • #5
          Maybe your library has low complexity?

          Comment


          • #6
            I'm having trouble with this MarkDuplicates. I hope someone could help. When I didn't include the "VALIDATION_STRINGENCY=LENIENT" I got an error saying "Mate Alignment start should be !=0 because reference name != *". But when I included it there's these error line that keeps changing extremely but its running. Is this normal?
            HTML Code:
            <a href="http://www.mylivesignature.com" target="_blank"><img src="http://signatures.mylivesignature.com/54489/368/747C8ACDDDB7178899D9E6BAA765C3FC.png" style="border: 0 !important; background: transparent;"/></a>

            Comment


            • #7
              Originally posted by fabrice View Post
              Thank you for your suggestions.
              I am doing RNA-seq data analysis. I am still not very sure it is neccessary to remove the duplication or not.
              I think in RNAseq is normal to see reads piling up at the same position (i.e. duplicates), especially in highly expressed genes and/or with high sequencing depth. So I don't think it is recommendable to remove duplicates. But see also this thread for longer discussion http://seqanswers.com/forums/showthread.php?t=6854.

              Comment


              • #8
                I need some suggestion about the mark duplicates command using picard tool, can anyone tell me if in the input and out label we can specify path as well or not? as I want to run 6 samples together so I will use it as a script and execute all of them one by one so can I specify path in the input and out like below.

                java -Xmx14g -jar /data/PGP/gmelloni/picard-tools-1.84/picard-tools-1.84/MarkDuplicates.jar INPUT=/test/exome/input/SRR062634.sorted.bam OUTPUT=/test/exome/results/SRR062634_marked.sorted.bam REMOVE_DUPLICATES=False METRICS_FILE=metricN.log ASSUME_SORTED=True VALIDATION_STRINGENCY=LENIENT

                Comment


                • #9
                  Originally posted by vd4mindia View Post
                  can anyone tell me if in the input and out label we can specify path as well or not?

                  java -Xmx14g -jar /data/PGP/gmelloni/picard-tools-1.84/picard-tools-1.84/MarkDuplicates.jar INPUT=/test/exome/input/SRR062634.sorted.bam OUTPUT=/test/exome/results/SRR062634_marked.sorted.bam REMOVE_DUPLICATES=False METRICS_FILE=metricN.log ASSUME_SORTED=True VALIDATION_STRINGENCY=LENIENT
                  I'm pretty sure you can specify the path, just try and see...

                  Comment


                  • #10
                    Yes I have queued a script and its still running. Since am working from home my intenet is a bit weak so have to run script in cluster and cant asses the command line script so I was asking but it seems to work for me. Will keep posted if its successful or failed.

                    Comment

                    Latest Articles

                    Collapse

                    • seqadmin
                      Recent Developments in Metagenomics
                      by seqadmin





                      Metagenomics has improved the way researchers study microorganisms across diverse environments. Historically, studying microorganisms relied on culturing them in the lab, a method that limits the investigation of many species since most are unculturable1. Metagenomics overcomes these issues by allowing the study of microorganisms regardless of their ability to be cultured or the environments they inhabit. Over time, the field has evolved, especially with the advent...
                      09-23-2024, 06:35 AM
                    • seqadmin
                      Understanding Genetic Influence on Infectious Disease
                      by seqadmin




                      During the COVID-19 pandemic, scientists observed that while some individuals experienced severe illness when infected with SARS-CoV-2, others were barely affected. These disparities left researchers and clinicians wondering what causes the wide variations in response to viral infections and what role genetics plays.

                      Jean-Laurent Casanova, M.D., Ph.D., Professor at Rockefeller University, is a leading expert in this crossover between genetics and infectious...
                      09-09-2024, 10:59 AM

                    ad_right_rmr

                    Collapse

                    News

                    Collapse

                    Topics Statistics Last Post
                    Started by seqadmin, 10-02-2024, 04:51 AM
                    0 responses
                    13 views
                    0 likes
                    Last Post seqadmin  
                    Started by seqadmin, 10-01-2024, 07:10 AM
                    0 responses
                    21 views
                    0 likes
                    Last Post seqadmin  
                    Started by seqadmin, 09-30-2024, 08:33 AM
                    0 responses
                    25 views
                    0 likes
                    Last Post seqadmin  
                    Started by seqadmin, 09-26-2024, 12:57 PM
                    0 responses
                    18 views
                    0 likes
                    Last Post seqadmin  
                    Working...
                    X