Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • ipdSummary.py throws Attribute error

    I am trying to run ipdSummary.py as
    ipdSummary.py --reference ReferenceGenome.fasta example1.cmp.h5

    But there are below error messages:

    Traceback (most recent call last):
    File "/home/qliang/0.soft/smrtanalysis/install/smrtanalysis_2.3.0.140936/analysis/bin/ipdSummary.py", line 715, in
    sys.exit(main())
    File "/home/qliang/0.soft/smrtanalysis/install/smrtanalysis_2.3.0.140936/analysis/bin/ipdSummary.py", line 692, in main
    rcode = kt.start()
    File "/home/qliang/0.soft/smrtanalysis/install/smrtanalysis_2.3.0.140936/analysis/bin/ipdSummary.py", line 342, in start
    return self.run()
    File "/home/qliang/0.soft/smrtanalysis/install/smrtanalysis_2.3.0.140936/analysis/bin/ipdSummary.py", line 405, in run
    ret = self._mainLoop()
    File "/home/qliang/0.soft/smrtanalysis/install/smrtanalysis_2.3.0.140936/analysis/bin/ipdSummary.py", line 619, in _mainLoop
    self.loadReferenceAndModel(self.args.reference, self.args.infile)
    File "/home/qliang/0.soft/smrtanalysis/install/smrtanalysis_2.3.0.140936/analysis/bin/ipdSummary.py", line 531, in loadReferenceAndModel
    contigs = ReferenceUtils.loadReferenceContigs(referencePath, cmpH5Path)
    File "/home/qliang/software/python/lib/python2.7/site-packages/kineticsTools-0.5.1-py2.7-linux-x86_64.egg/kineticsTools/ReferenceUtils.py", line 70, in loadReferenceContigs
    for x in alignmentSet.referenceInfoTable:
    AttributeError: 'str' object has no attribute 'referenceInfoTable'

    Is this caused by the reference genome in FASTA format? or why?

  • #2
    I believe that the reference needs to be a formatted reference entry, including xml and and index files, which is generated using referenceUploader.py .

    Comment


    • #3
      Originally posted by rhall View Post
      I believe that the reference needs to be a formatted reference entry, including xml and and index files, which is generated using referenceUploader.py .
      Thank you!

      But I have met new error messages moving on, and it seems to be within the .cmp.h5 file now.

      File "/home/qliang/0.soft/smrtanalysis/install/smrtanalysis_2.3.0.140936/analysis/bin/ipdSummary.py", line 69, in _validateResource
      raise IOError("Unable to find {p}".format(p=p))
      IOError: Unable to find
      : not foundg/malaria/6mA_detection/1.pbalign_result/new.1.m26_50_1.cmp.h5: 1: /home/qliang/malaria/6mA_detection/1.pbalign_result/new.1.m26_50_1.cmp.h5: ?HDF
      /home/qliang/malaria/6mA_detection/1.pbalign_result/new.1.m26_50_1.cmp.h5: 2: /home/qliang/malaria/6mA_detection/1.pbalign_result/new.1.m26_50_1.cmp.h5: : not found
      /home/qliang/malaria/6mA_detection/1.pbalign_result/new.1.m26_50_1.cmp.h5: 1: /home/qliang/malaria/6mA_detection/1.pbalign_result/new.1.m26_50_1.cmp.h5: Syntax error: word unexpected (expecting ")")

      Comment


      • #4
        @qihualiang: Even though Dr. Hall always steps up and provides support you can also directly contact PacBio tech support to get more immediate help with questions.

        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...
          04-22-2024, 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, Yesterday, 12:17 PM
        0 responses
        13 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-29-2024, 10:49 AM
        0 responses
        19 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-25-2024, 11:49 AM
        0 responses
        24 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-24-2024, 08:47 AM
        0 responses
        23 views
        0 likes
        Last Post seqadmin  
        Working...
        X