Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • qihualiang
    Junior Member
    • Jan 2015
    • 8

    #1

    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?
  • rhall
    Senior Member
    • Aug 2012
    • 324

    #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

    • qihualiang
      Junior Member
      • Jan 2015
      • 8

      #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

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #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

        • 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, 10-22-2026, 11:13 AM
        0 responses
        46 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-22-2026, 10:48 AM
        0 responses
        34 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-15-2026, 10:52 AM
        0 responses
        46 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-14-2026, 05:39 AM
        0 responses
        46 views
        0 reactions
        Last Post SEQadmin2  
        Working...