Skip to content

Support RNA004 kit in Tombo #455

@charlesxu90

Description

@charlesxu90

Dear @marcus1487,

I want to use Tombo to align latest RNA004 signals to sequences. I converted pod5 to fast5, and convert multi-read fast5 to single read ones. Then I tried to align the reads with signals.

However, it seems there are something different between the data. It pops up an error in the alignment.

BaseCalled_template:::PAU73183_pass_15caf1a1_68646c47_1.0_515.fast5-single_read/0/0061fb45-7c81-41b5-9ed6-e6135a0b081b.fast5
:::
Traceback (most recent call last):
  File "/home/xiaopeng/miniconda3/envs/tombo_env/lib/python3.6/site-packages/tombo/resquiggle.py", line 1404, in _io_and_map_read
    map_thr_buf, q_score_thresh, seq_len_rng)
  File "/home/xiaopeng/miniconda3/envs/tombo_env/lib/python3.6/site-packages/tombo/resquiggle.py", line 1336, in map_read
    seq_data.id.decode(), bc_subgrp, num_start_clipped_bases,
AttributeError: 'str' object has no attribute 'decode'

Looks like the problem is come from the converted fast5. But I'ts not clear for me how to fix it. Could you please provide some hints?

Should I modify the Tombo code to support it? Or should I use a different approach to convert pod5 into fast5?

Thanks a lot for the help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions