Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • 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?

  • #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


    • #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

      • seqadmin
        Recent Advances in Sequencing Analysis Tools
        by seqadmin


        The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
        05-06-2024, 07:48 AM
      • 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...
        04-22-2024, 07:01 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, 05-10-2024, 06:35 AM
      0 responses
      20 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 05-09-2024, 02:46 PM
      0 responses
      26 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 05-07-2024, 06:57 AM
      0 responses
      21 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 05-06-2024, 07:17 AM
      0 responses
      21 views
      0 likes
      Last Post seqadmin  
      Working...
      X