Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kga1978
    Senior Member
    • Nov 2010
    • 100

    #1

    GATK IndelRealigner error

    Hi All,
    I am trying to perform a local realignment of some BAM generated with Novoalign. I run the following commands:

    Command 1:
    novoalign -f reads.fastq.gz -c 2 -d Mosaik/reference -o SAM 2> reads.novoalign_logS0.txt | samtools view -S -b -q 1 - | samtools sort - reads

    Command 2:
    java -Xmx2g -jar /usr/local/bin/picard/SortSam.jar I=reads.bam O=readssorted.bam SO=coordinate

    Command 3:
    java -Xmx2g -jar /usr/local/bin/gatk/GenomeAnalysisTK.jar -I readssorted.bam -R Mosaik/reference.fasta -T RealignerTargetCreator -o forIndelRealigner.intervals

    Command 4:
    java -Xmx2g -jar /usr/local/bin/gatk/GenomeAnalysisTK.jar -I readssorted.bam -R Mosaik/reference.fasta -T IndelRealigner --targetIntervals forIndelRealigner.intervals -o realignedBam.bam

    The RealignerTargetCreator (3) finishes successfully and creates the required file:

    LASV-reference:52-53
    LASV-reference:305-339
    LASV-reference:439-519

    However, when I run the last command (4) - IndelRealigner, I get the following error:

    ##### ERROR MESSAGE: File associated with name forIndelRealigner.intervals is malformed: Interval file could not be parsed in any supported format. caused by Failed to parse Genome Location string: LASV-reference:52-53

    Any idea what might be the problem here? I have tried various things, but I always fail here.

    My reference.dict looks like this:
    @HD VN:1.0 SO:unsorted
    @SQ SN:LASV-reference LN:3402 UR:file:/Users/kga/Desktop/Mosaik/reference.fasta M5:8a4c76005c28bef3f2775dbf6ffa2062

    reference.fasta.fai:
    LASV-reference 3402 89 3402 3403


    Thanks very much,
    Kristian
    Last edited by kga1978; 11-15-2011, 08:29 PM.
  • Heisman
    Senior Member
    • Dec 2010
    • 534

    #2
    Could you maybe just post the first couple dozen lines of the various files used (or if a bunch of lines look similar just a representative line)?

    Comment

    • kga1978
      Senior Member
      • Nov 2010
      • 100

      #3
      Sure thing:

      Reference:
      >LASV-reference
      GCGCACAGTGGATCCTAGGCATTTTTGGTTGCGCAATTCAAGTGTCCTATTTAAAATGGGACAAATAGTGACATTCTTCCAGGAAGTGCCTCATGTAATAGAAGAGGTGATGAACATTGTTCTCATTGCACTGTCTGTACTAGCAGTGCTGAAAGGTCTGTACAATTTTGCAACGTGTGGCCTTGTTGGTTTGGTCACTTTCCTCCTGTTGTGTGGTAGGTCTTGCACAACCAGTCTTTATAAAGGGGTTTATGAGCTTCAGACTCTGGAACTAAACATGGAGACACTCAATATGACCATGCCTCTCTCCTGCACAAAGAACAACAGTCATCATTATATAATGGTGGGCAATGAGACAGGACTAGAACTGACCTTGACCAACACGAGCATTATTAATCACAAATTTTGCAATCTGTCTGATGCCCACAAAAAGAACCTCTATGACCACGCTCTTATGAGCATAATCTCAACTTTCCACTTGTCCATCCCCAACTTCAATCAGTATGAGGCAATGAGCTGCGATTTTAATGGGGGAAA

      Sorted BAM file:
      ILLUMINA_0142:3:1108:12467:139455#TGACCA/1 0 LASV-reference 2892 20 1S51M * 0 0 GTCTTTGGTCAAGTTGCTGTGAGCTCAAGTTGCCCATATAGACACCTGCACT Z_^cc`ce^aeegedghe_gggcfdhdhhaX^dfghfhhhdhdedg_dfdgh RG:Z:ZGO3HPVJRLW NM:i:2 MD:Z:24T1G24 ZA:Z:<@;0;0;;1;;>
      ILLUMINA_0142:3:1104:8199:92212#TGACCA/1 0 LASV-reference 2893 19 52M * 0 0 CTTTGGTCAAGTTGCTGTGAGCTCAAGTTGCCCATATAGACACCTGCACTCA ^__cc``Yaa^b`beefhehhddf]dfgfhhRabcdbg`fffbcffghhfhf RG:Z:ZGO3HPVJRLW NM:i:3 MD:Z:23T1G24T1 ZA:Z:<@;0;0;;1;;>
      ILLUMINA_0142:3:1108:20971:8153#TGACCA/1 16 LASV-reference 2893 19 52M * 0 0 CTTTGGTCAAGTTGCTGTGAGCTCAAGTTGCCCATATAGACACCTGCACTCA caQRccbeefcecb^PI[dXeb[X`hefdXbSSgbSd_`Qb[eecSc``__^ RG:Z:ZGO3HPVJRLW NM:i:3 MD:Z:23T1G24T1 ZA:Z:<@;0;0;;1;;>
      ILLUMINA_0142:3:2102:12125:81885#TGACCA/1 16 LASV-reference 2894 18 51M1S * 0 0 TTTGGTCAAGTTGCTGTGAGCTCAAGTTGCCCATATAGACACCTGCACTCAG Z_f^fd_abhgbd`cfbdbbYJ`JRe\gebXec`e`Yb[cbabba\`cc__\ RG:Z:ZGO3HPVJRLW NM:i:3 MD:Z:22T1G24T1 ZA:Z:<@;0;0;;1;;>
      ILLUMINA_0142:3:1208:5666:190436#TGACCA/1 16 LASV-reference 2895 20 52M * 0 0 TTGGTCAAGTTGCTGTGAGCTCAAGTTGCCCATATAGACACCTGCACTCAAT c]dhee^ee^^Hehfe_deebdeZeehebgd_gafabQJJeeeeccccc___ RG:Z:ZGO3HPVJRLW NM:i:3 MD:Z:21T1G24T3 ZA:Z:<@;0;0;;1;;>
      ILLUMINA_0142:3:1204:18832:77734#TGACCA/1 0 LASV-reference 2897 19 49M * 0 0 GGTCAAGTTGCTGTGAGCTCAAGTTGCCCATATAGACACCTGCACTCAA abaeeeecggfggghhgfhihiiggiiiiiiiiiihiiiiiiiihiiih RG:Z:ZGO3HPVJRLW NM:i:3 MD:Z:19T1G24T2 ZA:Z:<@;0;0;;1;;>

      The .intervals, .fai and .dict files are exactly as described above - no further text in those.

      Thanks very much
      Last edited by kga1978; 11-16-2011, 04:56 PM. Reason: typo

      Comment

      • kga1978
        Senior Member
        • Nov 2010
        • 100

        #4
        Anybody any thoughts? This is driving me nuts and SRMA doesn't appear to be working either (separate post)

        Thanks in advance.

        Comment

        • swbarnes2
          Senior Member
          • May 2008
          • 910

          #5
          Does your fasta file really say "reference", and not "LASV-reference"?

          Comment

          • kga1978
            Senior Member
            • Nov 2010
            • 100

            #6
            Sorry, that is my bad - I tried to make another reference with just the word 'reference' - but the one I have been using correctly says 'LASV-reference' - I have corrected the typo.

            Comment

            • Bukowski
              Senior Member
              • Jan 2010
              • 388

              #7
              You do know you can get in touch directly with the GATK team here:



              They're very responsive to questions.

              Comment

              • JLand52
                Junior Member
                • Jul 2009
                • 1

                #8
                GATK is picky about the file name. Try changing the extension to ".interval_list"

                Comment

                Latest Articles

                Collapse

                • SEQadmin2
                  Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
                  by SEQadmin2



                  CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

                  Despite this, “CRISPR helped turn genome editing from a specialized technique into
                  ...
                  07-31-2026, 11:01 AM
                • SEQadmin2
                  Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
                  by SEQadmin2


                  Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

                  The systematic characterization of the human proteome has
                  ...
                  07-20-2026, 11:48 AM
                • SEQadmin2
                  Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                  by SEQadmin2



                  Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
                  ...
                  07-09-2026, 11:10 AM

                ad_right_rmr

                Collapse

                News

                Collapse

                Topics Statistics Last Post
                Started by SEQadmin2, 08-06-2026, 07:41 AM
                0 responses
                13 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 08-03-2026, 10:13 AM
                0 responses
                30 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 07-31-2026, 02:55 AM
                0 responses
                40 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 07-24-2026, 12:17 PM
                0 responses
                26 views
                0 reactions
                Last Post SEQadmin2  
                Working...