You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[INFO] Using pbcommand v1.1.1
[INFO] completed setting up logger with <functools.partial object at 0x7f85ed444f18>
[INFO] log opts {'file_name': 'arrow.log', 'level': 10}
[INFO] ConsensusCore version: 1.0.2
[INFO] ConsensusCore2 version: 3.1.0
[INFO] Starting.
[DEBUG] Updating metatypes...
[DEBUG] Done updating metatypes
[DEBUG] Checking that the files exist...
[DEBUG] Done checking that the files exist
[DEBUG] Making elementtree...
[DEBUG] Done making ElementTree...
[DEBUG] Converting ElementTree to string...
[DEBUG] Done converting ElementTree to string
[DEBUG] Opening ReadSet resources
[ERROR] 'M5'
Traceback (most recent call last):
File "/home1/chris/anaconda2/envs/denovo_asm/lib/python2.7/site-packages/pbcommand/cli/core.py", line 138, in _pacbio_main_runner
return_code = exe_main_func(*args, **kwargs)
File "/home1/chris/anaconda2/envs/denovo_asm/lib/python2.7/site-packages/GenomicConsensus/main.py", line 340, in args_runner
return tr.main()
File "/home1/chris/anaconda2/envs/denovo_asm/lib/python2.7/site-packages/GenomicConsensus/main.py", line 258, in main
with AlignmentSet(options.inputFilename) as peekFile:
File "/home1/chris/anaconda2/envs/denovo_asm/lib/python2.7/site-packages/pbcore/io/dataset/DataSetIO.py", line 2699, in init
super(AlignmentSet, self).init(*files, **kwargs)
File "/home1/chris/anaconda2/envs/denovo_asm/lib/python2.7/site-packages/pbcore/io/dataset/DataSetIO.py", line 1963, in init
super(ReadSet, self).init(*files, **kwargs)
File "/home1/chris/anaconda2/envs/denovo_asm/lib/python2.7/site-packages/pbcore/io/dataset/DataSetIO.py", line 450, in init
self.updateCounts()
File "/home1/chris/anaconda2/envs/denovo_asm/lib/python2.7/site-packages/pbcore/io/dataset/DataSetIO.py", line 2517, in updateCounts
self.assertIndexed()
File "/home1/chris/anaconda2/envs/denovo_asm/lib/python2.7/site-packages/pbcore/io/dataset/DataSetIO.py", line 2347, in assertIndexed
self._assertIndexed((IndexedBamReader, CmpH5Reader))
File "/home1/chris/anaconda2/envs/denovo_asm/lib/python2.7/site-packages/pbcore/io/dataset/DataSetIO.py", line 1920, in _assertIndexed
self._openFiles()
File "/home1/chris/anaconda2/envs/denovo_asm/lib/python2.7/site-packages/pbcore/io/dataset/DataSetIO.py", line 2044, in _openFiles
resource = IndexedBamReader(location)
File "/home1/chris/anaconda2/envs/denovo_asm/lib/python2.7/site-packages/pbcore/io/align/BamIO.py", line 373, in init
super(IndexedBamReader, self).init(fname, referenceFastaFname)
File "/home1/chris/anaconda2/envs/denovo_asm/lib/python2.7/site-packages/pbcore/io/align/BamIO.py", line 181, in init
self._loadReferenceInfo()
File "/home1/chris/anaconda2/envs/denovo_asm/lib/python2.7/site-packages/pbcore/io/align/BamIO.py", line 49, in _loadReferenceInfo
refMD5s = [r["M5"] for r in refRecords]
KeyError: 'M5'
Expected behavior
BAM output compatible with arrow
The text was updated successfully, but these errors were encountered:
Your version of pbcore is outdated. Update your whole set or packages using conda update --all and don't forget to update your channel priorities before: https://bioconda.github.io/#set-up-channels
Operating system
Ubuntu 18.04.1 LTS
Package name
pbmm2 0.11.0
Conda environment
Describe the bug
I aligned *subreads.bam files with pbmm2 to a reference and tried to call variants with arrow:
pbmm2 index ref.fasta ref.mmi
pbmm2 align --preset SUBREAD ref.mmi reds.subreads.bam | samtools sort -o ref.aligned.bam
arrow ref.align.bam -r ref.fasta -o ref.arrow.fastq
The alignment file ref.aligned.bam is missing the M5 tag:
samtools view -H ref.aligned.bam
Error message
From the arrow command
Expected behavior
BAM output compatible with arrow
The text was updated successfully, but these errors were encountered: