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
        Strategies for Sequencing Challenging Samples
        by seqadmin


        Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
        03-22-2024, 06:39 AM
      • seqadmin
        Techniques and Challenges in Conservation Genomics
        by seqadmin



        The field of conservation genomics centers on applying genomics technologies in support of conservation efforts and the preservation of biodiversity. This article features interviews with two researchers who showcase their innovative work and highlight the current state and future of conservation genomics.

        Avian Conservation
        Matthew DeSaix, a recent doctoral graduate from Kristen Ruegg’s lab at The University of Colorado, shared that most of his research...
        03-08-2024, 10:41 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, Yesterday, 06:37 PM
      0 responses
      8 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, Yesterday, 06:07 PM
      0 responses
      8 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 03-22-2024, 10:03 AM
      0 responses
      49 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 03-21-2024, 07:32 AM
      0 responses
      66 views
      0 likes
      Last Post seqadmin  
      Working...
      X