Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Picard tools - CalculateHsMetrics

    Hi all,
    I am trying to use the CalculateHsMetrics of picard tools to calculate my exome coverage the command that I am using is this:


    Code:
    java -jar picard-tools-1.86/picard-tools-1.86/CalculateHsMetrics.jar BAIT_INTERVALS=regions.bed TARGET_INTERVALS=regions.bed INPUT=Final.bam OUTPUT=PicardCoverage.txt PER_TARGET_COVERAGE=Picard_PER_TARGET_COVERAGE.txt
    When I add the PER_TARGET_COVERAGE flag, the program doesn't run and just gives me the help. If I remove this flag then the program runs just fine.

    Any thoughts on what I might be doing wrong?

    Thanks

  • #2
    Try to add VALIDATION_STRINGENCY to your command.

    java -jar picard-tools-1.86/picard-tools-1.86/CalculateHsMetrics.jar BAIT_INTERVALS=regions.bed TARGET_INTERVALS=regions.bed INPUT=Final.bam OUTPUT=PicardCoverage.txt PER_TARGET_COVERAGE=Picard_PER_TARGET_COVERAGE.txt VALIDATION_STRINGENCY=LENIENT

    Comment


    • #3
      I just tried adding the VALIDATION_STRINGENCY=LENIENT, and it still doesn't work. It does run with out that!
      Thanks for your help

      Comment


      • #4
        I know this might be silly, but just try changing the name of your PER_TARGET_COVERAGE file to not have "PER_TARGET_COVERAGE". may be just make it all lowercase.

        I would be surprised if this worked.

        Comment


        • #5
          Nope! It was worth a try...

          Comment


          • #6
            Ok. So I ran your command on our system and I got the help menu with the following message:

            Must supply REFERENCE_SEQUENCE when supplying PER_TARGET_COVERAGE

            and so you need to provide your REFERENCE_SEQUENCE and this should work.

            Comment


            • #7
              That seems to work!!! It's running now. I never got an error that said that the reference was needed!
              Thanks alot!!!

              Comment

              Latest Articles

              Collapse

              • seqadmin
                Advancing Precision Medicine for Rare Diseases in Children
                by seqadmin




                Many organizations study rare diseases, but few have a mission as impactful as Rady Children’s Institute for Genomic Medicine (RCIGM). “We are all about changing outcomes for children,” explained Dr. Stephen Kingsmore, President and CEO of the group. The institute’s initial goal was to provide rapid diagnoses for critically ill children and shorten their diagnostic odyssey, a term used to describe the long and arduous process it takes patients to obtain an accurate...
                12-16-2024, 07:57 AM
              • seqadmin
                Recent Advances in Sequencing Technologies
                by seqadmin



                Innovations in next-generation sequencing technologies and techniques are driving more precise and comprehensive exploration of complex biological systems. Current advancements include improved accessibility for long-read sequencing and significant progress in single-cell and 3D genomics. This article explores some of the most impactful developments in the field over the past year.

                Long-Read Sequencing
                Long-read sequencing has seen remarkable advancements,...
                12-02-2024, 01:49 PM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by seqadmin, 12-17-2024, 10:28 AM
              0 responses
              25 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 12-13-2024, 08:24 AM
              0 responses
              42 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 12-12-2024, 07:41 AM
              0 responses
              28 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 12-11-2024, 07:45 AM
              0 responses
              42 views
              0 likes
              Last Post seqadmin  
              Working...
              X