Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • gacarson
    Junior Member
    • Feb 2018
    • 4

    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.
  • gacarson
    Junior Member
    • Feb 2018
    • 4

    #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

    • Makpo
      Junior Member
      • Nov 2018
      • 1

      #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

      • 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.
        Yesterday, 11:43 AM
      • SEQadmin2
        Nine Things a Sample Prep Scientist Thinks About Before Sequencing
        by SEQadmin2


        I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

        Here are nine questions we think about, in roughly the order they matter, before...
        06-18-2026, 07:11 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, Today, 11:08 AM
      0 responses
      6 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-30-2026, 05:37 AM
      0 responses
      11 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-26-2026, 11:10 AM
      0 responses
      18 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-17-2026, 06:09 AM
      0 responses
      52 views
      0 reactions
      Last Post SEQadmin2  
      Working...