Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rz566
    Junior Member
    • Aug 2013
    • 4

    #1

    Python related problem

    Hi guys,

    I am having a problem with the extraction part. Here is the output from extraction.err

    2013-08-16 13:20:23,179 [INFO] Running
    2013-08-16 13:20:23,179 [INFO] Opening Gap Objects
    2013-08-16 13:20:23,182 [INFO] Loading Fasta Files
    2013-08-16 13:20:36,174 [INFO] Loading References
    2013-08-16 13:20:37,484 [INFO] Extracting Reads
    Traceback (most recent call last):
    File "~/assembly/assembler/PBJelly/Extraction.py", line 250, in <module>
    me.run()
    File "~/assembly/assembler/PBJelly/Extraction.py", line 206, in run
    self.extractReads()
    File "~/assembly/assembler/PBJelly/Extraction.py", line 117, in extractReads
    self.allFasta[name][start:end] + "\n")
    File "~/assembly/assembler/PBJelly/Extraction.py", line 221, in __getitem__
    fn, start, numLines = self.indices[key]
    KeyError: u'm130626_024929_42146_c100536682550000001823080011101390_s1_p0/59685/0_4740'


    I have tried the test data (lambdaExample) and it worked fine. The KeyError message indicates that the program is unable to find the key in the .gapCans file but when I check the file, it is there!

    I already check my Pacbio reads file and it looks OK. Can somebody tell me if I am doing it wrongly?
  • arkilis
    Senior Member
    • Jul 2013
    • 119

    #2
    fn, start, numLines = self.indices[key] is where the problem resides.

    Seems like [key] here is not right. Cant tell more without your dataset.

    Comment

    • rz566
      Junior Member
      • Aug 2013
      • 4

      #3
      Originally posted by arkilis View Post
      fn, start, numLines = self.indices[key] is where the problem resides.

      Seems like [key] here is not right. Cant tell more without your dataset.
      Thanks! I already found out the problem.

      The error occurred because it was expecting a key "m130626_024929_42146_c100536682550000001823080011101390_s1_p0/59685/0_4740"

      but in my PacBio fasta/qual file, each reads had a RQ value beside it.

      m130626_024929_42146_c100536682550000001823080011101390_s1_p0/59685/0_4740 RQ=0.85

      Once I removed the RQ value from the pacbio fasta/qual, it worked perfectly.

      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, 11:13 AM
      0 responses
      16 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, Yesterday, 10:48 AM
      0 responses
      17 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-15-2026, 10:52 AM
      0 responses
      35 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-14-2026, 05:39 AM
      0 responses
      42 views
      0 reactions
      Last Post SEQadmin2  
      Working...