Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • vishnuamaram
    Member
    • Jun 2013
    • 41

    GATK-usage-ERROR-Helpreg

    Hi Seqanswers community,


    I am doing human whole genome sequence analysis, of the data obtained Illumina Hiseq 2000.

    This is the pipeline i followed & get errors in using GATK


    a) BWA ------> SAM output
    b) samtools ---> sortedindexedbamoutput
    c) picard ------> for readgroup replacement & removing duplicates
    d) GATK ----> for indelrealignment, BQSR, variant calling.


    when i give the following command for GATK-indel realignment, i get the error.

    U]cd used:-[/U]

    java -Xmx30g -jar GenomeAnalysisTK-2.6-5-gba531bd/GenomeAnalysisTK.jar -T IndelRealigner \ -R INDEX_REF_GENOME_HG19/hg19.fa \ -I WG_PBMC_SAM9_CORDSORT_RMDUP.BAM -targetintervals intervalListFromRTC.intervals \ -o WG_PBMC_SAM9_coordsort_realigned.bam


    the errors are :-



    ##### ERROR ------------------------------------------------------------------------------------------
    ##### ERROR A USER ERROR has occurred (version 2.6-5-gba531bd):
    ##### ERROR The invalid arguments or inputs must be corrected before the GATK can proceed
    ##### ERROR Please do not post this error to the GATK forum
    ##### ERROR
    ##### ERROR See the documentation (rerun with -h) for this tool to view allowable command-line arguments.
    ##### ERROR Visit our website and forum for extensive documentation and answers to
    ##### ERROR commonly asked questions http://www.broadinstitute.org/gatk
    ##### ERROR
    ##### ERROR MESSAGE: Argument with name '--targetIntervals' (-targetIntervals) is missing.
    ##### ERROR ------------------------------------------------------------------------------------------



    kindly give me solutions, will be very thankful to you.

    Please do let me know the proper usage of GATK.

    Thanking you all,

    Vishnu.
  • sheenams
    Member
    • Oct 2011
    • 15

    #2
    targetintervals intervalListFromRTC.intervals

    needs to be:

    targetIntervals intervalListFromRTC.intervals

    Comment

    • vishnuamaram
      Member
      • Jun 2013
      • 41

      #3
      Hi sheenams,

      Thank you very much.

      I had tried using targetIntervals, but stil again it throws error as follows

      ##### ERROR MESSAGE: Couldn't read file Sample_WG-9/RAWFASTQ_CAT_FILES/intervalListFromRTC.intervals because The interval file does not exist.


      How should i proceed exactly with GATK .

      Guys and all members, i request all to help me using GATK with proper commands for indel realignment, BQSR and variant calling.

      Thank you,
      Vishnu.

      Comment

      • whataBamBam
        Member
        • May 2013
        • 27

        #4
        Hi Vishnu.. looks like the same error you had on the other thread.. sorry, I thought I'd replied to that but my post didn't register, internet here is quite flaky.

        so you tried with relative pathname (i.e. just the file name) and it crashed with

        ##### ERROR MESSAGE: Couldn't read file Sample_WG-9/RAWFASTQ_CAT_FILES/intervalListFromRTC.intervals because The interval file does not exist.

        It's looking in the current working directory for the file and finding it doesn't exist.

        And you tried (from other thread) full path

        and got

        ##### ERROR MESSAGE: Couldn't read file /data/odity/Project_Blood-GNPC-464/Sample_WG-9/RAWFASTQ_CAT_FILES/intervalListFromRTC.intervals because The interval file does not exist

        so maybe the path is wrong..

        what happens when you type

        ls /data/odity/Project_Blood-GNPC-464/Sample_WG-9/RAWFASTQ_CAT_FILES/intervalListFromRTC.intervals

        at the command line

        if it says..

        ls: cannot access /data/odity/Project_Blood-GNPC-464/Sample_WG-9/RAWFASTQ_CAT_FILES/intervalListFromRTC.intervals: No such file or directory

        then your path is wrong.

        And you can find the right one by doing..

        /data [HIT TAB KEY]

        /data/o [HIT TAB KEY]

        /data/odity/P [HIT TAB KEY]

        etc.. unix will tab complete the paths for you and you get the path correct.

        Comment

        • vishnuamaram
          Member
          • Jun 2013
          • 41

          #5
          Hey whataBamBam,

          I had got your responses on other thread too.

          Actually, i didnt generate interval file,

          My question is how to generate an interval file.

          Kindly help me in generating an interval file by giving a proper command usage.

          Thank you in tons,
          Vishnu.

          Comment

          • dpryan
            Devon Ryan
            • Jul 2011
            • 3478

            #6
            Originally posted by vishnuamaram View Post
            Hey whataBamBam,

            I had got your responses on other thread too.

            Actually, i didnt generate interval file,

            My question is how to generate an interval file.

            Kindly help me in generating an interval file by giving a proper command usage.

            Thank you in tons,
            Vishnu.
            Did you read my reply to the same question in the other thread? If the RealignerTargetCreator command is itself giving errors, then you should just post those.

            Comment

            • harryzs
              Member
              • Dec 2010
              • 30

              #7
              Originally posted by vishnuamaram View Post
              Hi Seqanswers community,


              I am doing human whole genome sequence analysis, of the data obtained Illumina Hiseq 2000.

              This is the pipeline i followed & get errors in using GATK


              a) BWA ------> SAM output
              b) samtools ---> sortedindexedbamoutput
              c) picard ------> for readgroup replacement & removing duplicates
              d) GATK ----> for indelrealignment, BQSR, variant calling.


              when i give the following command for GATK-indel realignment, i get the error.

              U]cd used:-[/U]

              java -Xmx30g -jar GenomeAnalysisTK-2.6-5-gba531bd/GenomeAnalysisTK.jar -T IndelRealigner \ -R INDEX_REF_GENOME_HG19/hg19.fa \ -I WG_PBMC_SAM9_CORDSORT_RMDUP.BAM -targetintervals intervalListFromRTC.intervals \ -o WG_PBMC_SAM9_coordsort_realigned.bam


              the errors are :-



              ##### ERROR ------------------------------------------------------------------------------------------
              ##### ERROR A USER ERROR has occurred (version 2.6-5-gba531bd):
              ##### ERROR The invalid arguments or inputs must be corrected before the GATK can proceed
              ##### ERROR Please do not post this error to the GATK forum
              ##### ERROR
              ##### ERROR See the documentation (rerun with -h) for this tool to view allowable command-line arguments.
              ##### ERROR Visit our website and forum for extensive documentation and answers to
              ##### ERROR commonly asked questions http://www.broadinstitute.org/gatk
              ##### ERROR
              ##### ERROR MESSAGE: Argument with name '--targetIntervals' (-targetIntervals) is missing.
              ##### ERROR ------------------------------------------------------------------------------------------



              kindly give me solutions, will be very thankful to you.

              Please do let me know the proper usage of GATK.

              Thanking you all,

              Vishnu.

              You may follow this

              Comment

              • harryzs
                Member
                • Dec 2010
                • 30

                #8
                Originally posted by harryzs View Post
                -->(howto) Perform local realignment around indels

                Comment

                • dpryan
                  Devon Ryan
                  • Jul 2011
                  • 3478

                  #9
                  The informative line of that error message is:
                  ##### ERROR MESSAGE: Argument with name '--targetIntervals' (-targetIntervals) is missing.
                  Your command used "--targetintervals" (note the capital "I" in the error message).

                  Comment

                  Latest Articles

                  Collapse

                  • SEQadmin2
                    From Collection to Sequencing: Why Sample Preparation and Preservation Define Sequencing Data
                    by SEQadmin2


                    Data variability is still an issue in sequencing technologies despite the advances in reproducibility and accuracy of these platforms. But the problem does not originate in the sequencing itself, but in the previous steps, before the sample reaches the sequencer.


                    The first step is collection, followed by preservation and sample preparation for analysis. Most scientists overlook those steps, but not being careful might just be skewing the experiment’s results.
                    ...
                    06-02-2026, 10:05 AM
                  • SEQadmin2
                    Single-Cell Sequencing at an Inflection Point: Early Impacts of New Platforms and Emerging Trends
                    by SEQadmin2


                    With the launch of new single-cell sequencing platforms in 2026, the field stands at an exciting inflection point. This article surveys the most impactful advances in the field and discusses how they’re reshaping research in cancer, immunology, and beyond.


                    Introduction

                    Single-cell sequencing technologies have undergone remarkable advances over the past decade, transitioning from low-throughput experimental approaches to highly scalable platforms capable of...
                    05-22-2026, 06:42 AM
                  • SEQadmin2
                    Environmental Genomics in the Age of NGS: From Microbes to Conservation Strategies
                    by SEQadmin2

                    Studying ecosystems means dealing with complex, multi-species communities that are hard to observe at scale. This complexity, however, hides many important questions to be answered, from how biogeochemical cycles work and how climate change can affect species distribution to how conservation strategies can work best.


                    Genomics, particularly since the expansion of NGS, has transformed ecosystem ecology. By sequencing environmental DNA, we can now assess biodiversity without direct...
                    05-06-2026, 09:04 AM

                  ad_right_rmr

                  Collapse

                  News

                  Collapse

                  Topics Statistics Last Post
                  Started by SEQadmin2, 06-02-2026, 12:03 PM
                  0 responses
                  21 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 06-02-2026, 11:40 AM
                  0 responses
                  14 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 05-28-2026, 11:40 AM
                  0 responses
                  29 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 05-26-2026, 10:12 AM
                  0 responses
                  31 views
                  0 reactions
                  Last Post SEQadmin2  
                  Working...