Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I am trying to run Quiver I get this error #111

Closed
Subhi opened this issue May 3, 2017 · 2 comments
Closed

I am trying to run Quiver I get this error #111

Subhi opened this issue May 3, 2017 · 2 comments

Comments

@Subhi
Copy link

Subhi commented May 3, 2017

I am trying to run Quiver :
However I get the following error, my input is a bam file and reference.fasta file.

Running job quiver-lv (7370641) on
'HD'
Traceback (most recent call last):
File "/home/l/python2.7/lib/python2.7/site-packages/pbcommand-0.6.1-py2.7.egg/pbcommand/cli/core.py", line 136, in _pacbio_main_runner
return_code = exe_main_func(*args, **kwargs)
File "/home/l/python2.7/lib/python2.7/site-packages/GenomicConsensus-2.2.0-py2.7.egg/GenomicConsensus/main.py", line 381, in args_runner
return tr.main()
File "/home/l/python2.7/lib/python2.7/site-packages/GenomicConsensus-2.2.0-py2.7.egg/GenomicConsensus/main.py", line 297, in main
with AlignmentSet(options.inputFilename) as peekFile:
File "/home/l/python2.7/lib/python2.7/site-packages/pbcore-1.4.0-py2.7.egg/pbcore/io/dataset/DataSetIO.py", line 2649, in init
super(AlignmentSet, self).init(*files, **kwargs)
File "/home/l/python2.7/lib/python2.7/site-packages/pbcore-1.4.0-py2.7.egg/pbcore/io/dataset/DataSetIO.py", line 1936, in init
super(ReadSet, self).init(*files, **kwargs)
File "/home/l/python2.7/lib/python2.7/site-packages/pbcore-1.4.0-py2.7.egg/pbcore/io/dataset/DataSetIO.py", line 477, in init
self.updateCounts()
File "/home/l/python2.7/lib/python2.7/site-packages/pbcore-1.4.0-py2.7.egg/pbcore/io/dataset/DataSetIO.py", line 2490, in updateCounts
self.assertIndexed()
File "/home/l/python2.7/lib/python2.7/site-packages/pbcore-1.4.0-py2.7.egg/pbcore/io/dataset/DataSetIO.py", line 2320, in assertIndexed
self._assertIndexed((IndexedBamReader, CmpH5Reader))
File "/home/l/python2.7/lib/python2.7/site-packages/pbcore-1.4.0-py2.7.egg/pbcore/io/dataset/DataSetIO.py", line 1893, in _assertIndexed
self._openFiles()
File "/home/l/python2.7/lib/python2.7/site-packages/pbcore-1.4.0-py2.7.egg/pbcore/io/dataset/DataSetIO.py", line 2017, in _openFiles
resource = IndexedBamReader(location)
File "/home/l/python2.7/lib/python2.7/site-packages/pbcore-1.4.0-py2.7.egg/pbcore/io/align/BamIO.py", line 385, in init
super(IndexedBamReader, self).init(fname, referenceFastaFname)
File "/home/l/python2.7/lib/python2.7/site-packages/pbcore-1.4.0-py2.7.egg/pbcore/io/align/BamIO.py", line 196, in init
self._checkFileCompatibility()
File "/home/l/python2.7/lib/python2.7/site-packages/pbcore-1.4.0-py2.7.egg/pbcore/io/align/BamIO.py", line 185, in _checkFileCompatibility
checkedVersion = self.version
File "/home/l/python2.7/lib/python2.7/site-packages/pbcore-1.4.0-py2.7.egg/pbcore/io/align/BamIO.py", line 271, in version
return self.peer.header["HD"]["pb"]
KeyError: 'HD'
[ERROR] 'HD'
Traceback (most recent call last):
File "/home/l/python2.7/lib/python2.7/site-packages/pbcommand-0.6.1-py2.7.egg/pbcommand/cli/core.py", line 136, in _pacbio_main_runner
return_code = exe_main_func(*args, **kwargs)
File "/home/l/python2.7/lib/python2.7/site-packages/GenomicConsensus-2.2.0-py2.7.egg/GenomicConsensus/main.py", line 381, in args_runner
return tr.main()
File "/home/l/python2.7/lib/python2.7/site-packages/GenomicConsensus-2.2.0-py2.7.egg/GenomicConsensus/main.py", line 297, in main
with AlignmentSet(options.inputFilename) as peekFile:
File "/home/l/python2.7/lib/python2.7/site-packages/pbcore-1.4.0-py2.7.egg/pbcore/io/dataset/DataSetIO.py", line 2649, in init
super(AlignmentSet, self).init(*files, **kwargs)
File "/home/l/python2.7/lib/python2.7/site-packages/pbcore-1.4.0-py2.7.egg/pbcore/io/dataset/DataSetIO.py", line 1936, in init
super(ReadSet, self).init(*files, **kwargs)
File "/home/l/python2.7/lib/python2.7/site-packages/pbcore-1.4.0-py2.7.egg/pbcore/io/dataset/DataSetIO.py", line 477, in init
self.updateCounts()
File "/home/l/python2.7/lib/python2.7/site-packages/pbcore-1.4.0-py2.7.egg/pbcore/io/dataset/DataSetIO.py", line 2490, in updateCounts
self.assertIndexed()
File "/home/l/python2.7/lib/python2.7/site-packages/pbcore-1.4.0-py2.7.egg/pbcore/io/dataset/DataSetIO.py", line 2320, in assertIndexed
self._assertIndexed((IndexedBamReader, CmpH5Reader))
File "/home/l/python2.7/lib/python2.7/site-packages/pbcore-1.4.0-py2.7.egg/pbcore/io/dataset/DataSetIO.py", line 1893, in _assertIndexed
self._openFiles()
File "/home/l/python2.7/lib/python2.7/site-packages/pbcore-1.4.0-py2.7.egg/pbcore/io/dataset/DataSetIO.py", line 2017, in _openFiles
resource = IndexedBamReader(location)
File "/home/l/python2.7/lib/python2.7/site-packages/pbcore-1.4.0-py2.7.egg/pbcore/io/align/BamIO.py", line 385, in init
super(IndexedBamReader, self).init(fname, referenceFastaFname)
File "/home/l/python2.7/lib/python2.7/site-packages/pbcore-1.4.0-py2.7.egg/pbcore/io/align/BamIO.py", line 196, in init
self._checkFileCompatibility()
File "/home/l/python2.7/lib/python2.7/site-packages/pbcore-1.4.0-py2.7.egg/pbcore/io/align/BamIO.py", line 185, in _checkFileCompatibility
checkedVersion = self.version
File "/home/l/python2.7/lib/python2.7/site-packages/pbcore-1.4.0-py2.7.egg/pbcore/io/align/BamIO.py", line 271, in version
return self.peer.header["HD"]["pb"]
KeyError: 'HD'

@mdsmith
Copy link
Collaborator

mdsmith commented May 4, 2017

Hi Subhi, what did you use to generate your bam file? It looks like it has a malformed header. Can you post the header here?

pacbbbbot pushed a commit that referenced this issue Sep 27, 2018
…ections to develop

* commit '073847585d6d11470c8e60ac6739b4ffaf7f47be':
  test fix
  fix doctest
  remove unnecessary iteration
  keep collections unique
@pb-dseifert
Copy link
Contributor

RSII support has been removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants