Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Picard tools error: Sequence not found in dictionary

    I'm currently troubleshooting the use of Picard's BedToIntervalList with an odd error that I don't quite understand. I wonder if one of you can help me.

    My input:
    java -jar picard.jar BedToIntervalList I=Covered_hg38.bed O=list.interval_list SD=reference.dict

    Error:
    Exception in thread "main" picard.PicardException: Sequence '1' was not found in the sequence dictionary
    at picard.util.BedToIntervalList.doWork(BedToIntervalList.java:155)
    at picard.cmdline.CommandLineProgram.instanceMain(CommandLineProgram.java:269)
    at picard.cmdline.PicardCommandLine.instanceMain(PicardCommandLine.java:98)
    at picard.cmdline.PicardCommandLine.main(PicardCommandLine.java:108)

    Can anyone help me make sense of this error?

    if useful...

    The bed file I downloaded from Agilent, and converted from hg19 to hg38 using https://uswest.ensembl.org/Homo_sapi...verter?db=core

    The fasta file I downloaded from UCSC (http://hgdownload.soe.ucsc.edu/goldenPath/hg38/bigZips/) and fed that to CreateSequenceDictionary (java -jar picard.jar CreateSequenceDictionary R=reference.fasta)

    format of the bed file:
    1 11107307 11107584 ref|MTOR,ref|NM_004958,ens|ENST00000376838,ens|ENST00000473471,ens|ENST00000490931,ens|ENST00000361445,mRNA|AB209995,mRNA|BC117166,mRNA|L34075,mRNA|AK304273,mRNA|AK302863,mRNA|AK126762,mRNA|U88966

    format of the .dict file:
    @HD VN:1.5
    @SQ SN:chr1 LN:248956422 M5:2648ae1bacce4ec4b6cf337dcae37816 UR:file:/Users/gacarson/picard/build/libs/reference.fasta
    Last edited by gacarson; 02-01-2018, 01:19 PM.

  • #2
    solved!
    The ensembl converter I had used was the culprit. I instead used CrossMap to convert the Agilent supplied (hg19) annotated bed file to hg38, and then fed that file back to BedToIntervalList and things seem to have worked.

    Input:
    java -jar picard.jar BedToIntervalList I=hg38.bed O=list.interval_list SD=reference.dict

    After, I see my list.interval_list file!

    Comment


    • #3
      I'm Currently working on core java. Makpo is the best in industry.for more queries http://makpo.in/training.aspx

      Comment

      Latest Articles

      Collapse

      • seqadmin
        Essential Discoveries and Tools in Epitranscriptomics
        by seqadmin


        The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist on Modified Bases...
        Yesterday, 07:01 AM
      • seqadmin
        Current Approaches to Protein Sequencing
        by seqadmin


        Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
        04-04-2024, 04:25 PM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, 04-11-2024, 12:08 PM
      0 responses
      39 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 10:19 PM
      0 responses
      41 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 09:21 AM
      0 responses
      35 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-04-2024, 09:00 AM
      0 responses
      55 views
      0 likes
      Last Post seqadmin  
      Working...
      X