Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wijota
    Junior Member
    • Mar 2012
    • 1

    #1

    ReorderSam.jar problem

    Hi

    I'm trying to use GATK RealignerTargetCreator but got an error message saying "Lexicographically sorted human genome sequence detected in reads."

    $ java -jar /local/software/rh53/GATK/Sting/dist/GenomeAnalysisTK.jar -T RealignerTargetCreator -R /temp/wjt/EXOME/OXC/Z1905/GATK/hg18.fa -I /temp/wjt/EXOME/OXC/Z1905/BAM/Z1905_novoalign.bam -o /temp/wjt/EXOME/OXC/Z1905/BAM/Z1905.intervals

    I've got a ref dictionary file (hg18.dict) and ran ReorderSam.jar which seemed to work ok (output below) but when rerunning GATK RealignerTargetCreator with the resorted bam I get the same error message.

    $ java -jar /local/software/rh53/GATK/Sting/dist/GenomeAnalysisTK.jar -T RealignerTargetCreator -R /temp/wjt/EXOME/OXC/Z1905/GATK/hg18.fa -I /temp/wjt/EXOME/OXC/Z1905/BAM/Z1905_novoalignRS.bam -o /temp/wjt/EXOME/OXC/Z1905/BAM/Z1905.intervals

    "Lexicographically sorted human genome sequence detected in reads."

    Thanks for any help regarding this query.

    Will

    ReorderSam.jar output:
    $ java -jar ReorderSam.jar INPUT=/temp/wjt/EXOME/OXC/Z1905/BAM/Z1905_novoalign.bam OUTPUT=/temp/wjt/EXOME/OXC/Z1905/BAM/Z1905_novoalignRS.bam REFERENCE=/temp/wjt/EXOME/OXC/Z1905/GATK/hg18.fa

    Executing as wjt@blue32 on Linux 2.6.18-164.6.1.el5 amd64; Java HotSpot(TM) 64-Bit Server VM 1.6.0_16-b01; Picard version: 1.64(1146)
    INFO 2012-03-13 15:14:41 ReorderSam SAM/BAM file
    INFO 2012-03-13 15:14:41 ReorderSam SN=%s LN=%d%nchr10135374737
    INFO 2012-03-13 15:14:41 ReorderSam SN=%s LN=%d%nchr10_random113275
    .
    .
    INFO 2012-03-13 15:14:41 ReorderSam Reordering SAM/BAM file:
    INFO 2012-03-13 15:14:41 ReorderSam Reordering read contig chr10 [index=0] to => ref contig chr10 [index=0]
    INFO 2012-03-13 15:14:41 ReorderSam Reordering read contig chr10_random [index=1] to => ref contig chr10_random [index=1]
    .
    .
    INFO 2012-03-13 15:14:41 ReorderSam Reordering read contig chrX_random [index=47] to => ref contig chrX_random [index=47]
    INFO 2012-03-13 15:14:41 ReorderSam Reordering read contig chrY [index=48] to => ref contig chrY [index=48]
    INFO 2012-03-13 15:14:41 ReorderSam Writing reads...
    INFO 2012-03-13 15:14:41 ReorderSam Processing chr10
    INFO 2012-03-13 15:15:33 ReorderSam Wrote 2877802 reads
    INFO 2012-03-13 15:15:33 ReorderSam Processing chr10_random
    .
    .
    INFO 2012-03-13 15:36:09 ReorderSam Wrote 6465436 reads
    [Tue Mar 13 15:36:09 GMT 2012] net.sf.picard.sam.ReorderSam done. Elapsed time: 21.48 minutes.
    Runtime.totalMemory()=1055588352
  • msarotti
    Junior Member
    • Feb 2014
    • 2

    #2
    Hi

    I've got the same problem here

    When trying to use RealignerTargetCreator, GATK tells me that the sequence is in Lexicographically, so i tried to solve with ReorderSam which it works fine.
    But when I run RealignerTargetCreator on the sorted bam, i find the same error.

    Hope someone can help,
    Thanks!!

    Marco

    Comment

    • yuelincoln
      Junior Member
      • Jun 2014
      • 5

      #3
      i also confront this problem, have you solve it?

      Comment

      Latest Articles

      Collapse

      • SEQadmin2
        Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
        by SEQadmin2



        Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

        Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
        ...
        10-14-2026, 09:55 AM
      • SEQadmin2
        New Genomics Technologies Take Aim at Long-Standing Limits
        by SEQadmin2


        Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

        We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
        ...
        09-28-2026, 10:25 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, Yesterday, 11:13 AM
      0 responses
      19 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, Yesterday, 10:48 AM
      0 responses
      18 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-15-2026, 10:52 AM
      0 responses
      36 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-14-2026, 05:39 AM
      0 responses
      42 views
      0 reactions
      Last Post SEQadmin2  
      Working...