Unconfigured Ad

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

    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
          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
        • SEQadmin2
          Cancer Drug Resistance: The Lingering Barrier to Rising Survival
          by SEQadmin2



          Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

          There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
          07-08-2026, 05:17 AM
        • GATTACAT
          Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
          by GATTACAT
          Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
          07-01-2026, 11:43 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 07-13-2026, 10:26 AM
        0 responses
        22 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-09-2026, 10:04 AM
        0 responses
        32 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-08-2026, 10:08 AM
        0 responses
        20 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-07-2026, 11:05 AM
        0 responses
        34 views
        0 reactions
        Last Post SEQadmin2  
        Working...