This repository was archived by the owner on May 25, 2024. It is now read-only.

Description
from nucleus.protos import reads_pb2
from nucleus.io import sam
read_requirements = reads_pb2.ReadRequirements()
sam_reader = sam.SamReader(
input_path="NA12878_sliced.bam", read_requirements=read_requirements)
for r in sam_reader:
print(r)
RuntimeError: PythonNext() argument read is not valid: Dynamic cast failed
2023-12-27 16:25:36.748166: W [.nucleus/util/proto_clif_converter.h:60)] Failed to cast type N6google8protobuf14DynamicMessageE
Python 3.8.18
tensorflow 2.13.1
protobuf 3.20.3
google-nucleus 0.6.0
Any recommendations?
I'm trying to run this example: https://blog.tensorflow.org/2019/01/using-nucleus-and-tensorflow-for-dna.html