Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tatinhawk
    Martin
    • Dec 2009
    • 11

    #1

    Problems Running Picard's ReorderSam

    Hello everyone,

    I've been trying to use Picrad's ReorderSam.jar tool to sort one BAM file, because I want to use it later with GATK. But, every time that I try to sort the file I get the following error:

    "2011-09-07 00:02:48 ReorderSam No reference sequence dictionary found. Aborting. You can create a sequence dictionary for the reference fasta using CreateSequenceDictionary.jar.
    [Wed Sep 07 00:02:48 GMT 2011] net.sf.picard.sam.ReorderSam done. Elapsed time: 0.00 minutes.
    Runtime.totalMemory()=1012269056"

    I have already created a dictionary as requested using CreateSequenceDictionary.jar and stored it on the same folder as the reference.

    However, despite I have created the dictionary, I keep getting the same error message.

    The commands that I used to call the run the .jar files are:

    CreateSequenceDictionary.jar
    "/usr/java/latest/bin/java -d64 -jar /share/apps/picard-tools-1.52/CreateSequenceDictionary.jar R= /share/Tepehuan/Genomes/Homo_sapiens/GRC37Homo_sapiens/Masked/GRCh37_hg19_masked.fa O= GRCh37_hg19_masked.fa.bai"


    ReorderSam.jar
    " /usr/java/latest/bin/java -d64 -jar /share/apps/picard-tools-1.52/ReorderSam.jar I= MP1_2_merged_clara_20110404_bwa_filtered_aln_paired.bam_sorted.bam O= MP1_2_merged_clara_20110404_bwa_filtered_aln_paired.bam_GATK_sorted.bam REFERENCE= /share/Tepehuan/Genomes/Homo_sapiens/GRC37Homo_sapiens/Masked/GRCh37_hg19_masked.fa"


    Also, I have already tried with different extension suffixes for CreateSequenceDictionary.jar output file and I have already verified that my BAMfile has headers (i.e. @SQ SN:gi|224589801|ref|NC_000010.10| LN:135534747 lines)

    Thank you very much!!

    Martin
  • tatinhawk
    Martin
    • Dec 2009
    • 11

    #2
    In case someone else had this problem I found the solution here:



    Cheers,
    Martin

    Comment

    • Artur Jaroszewicz
      Member
      • Sep 2011
      • 45

      #3
      Thank you for posting the solution when you found it, Martin! I wish everyone would do this. You are the fairy godcoder of the internet.

      Comment

      • tatinhawk
        Martin
        • Dec 2009
        • 11

        #4
        Originally posted by Artur Jaroszewicz View Post
        Thank you for posting the solution when you found it, Martin! I wish everyone would do this. You are the fairy godcoder of the internet.

        No worries, I think is better to share the info and save the painstaking process of finding the solution to others... (if I already found one…) The solution here was to name the dictionary with the “.dict” extension as stated on the link.

        Cheers Artur!

        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, 10:52 AM
        0 responses
        11 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-14-2026, 05:39 AM
        0 responses
        19 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-13-2026, 09:56 AM
        0 responses
        18 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-09-2026, 11:14 AM
        0 responses
        27 views
        0 reactions
        Last Post SEQadmin2  
        Working...