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

        #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
          The Factors Reshaping Genome Assembly
          by SEQadmin2



          When the Human Genome Project declared the human genome finished in 2003, portions of the sequence were still missing, including many of its most repetitive and structurally complex regions.1 Still, for the next two decades, researchers analyzed their sequencing data against the single linear reference that came out of this effort. Released in 2013 as GRCh38, that reference has powered countless discoveries, but it has gaps and cannot capture the genetic diversity of the world’s...
          Yesterday, 07:04 AM
        • SEQadmin2
          16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
          by SEQadmin2





          NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
          10-30-2026, 06:46 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 11-23-2026, 11:11 AM
        0 responses
        19 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 11-17-2026, 06:27 AM
        0 responses
        40 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 11-12-2026, 07:59 AM
        0 responses
        58 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 11-05-2026, 09:25 AM
        0 responses
        65 views
        0 reactions
        Last Post SEQadmin2  
        Working...