Skip to content

TypeError: 'NoneType' object is not subscriptable #8

@olkol321

Description

@olkol321

Getting an error at the database build step:

Adding reads.
Traceback (most recent call last):
File "/home/ok321/anaconda3/bin/rpe", line 8, in
sys.exit(main())
File "/home/ok321/anaconda3/lib/python3.7/site-packages/rpe2_code/rpe2_main.py", line 14, in main
run_build()
File "/home/ok321/anaconda3/lib/python3.7/site-packages/rpe2_code/recruit_plot_easy_2_database.py", line 278, in run_build
mn.add_reads_to_db(reads)
File "/home/ok321/anaconda3/lib/python3.7/site-packages/rpe2_code/recruit_plot_easy_2_database.py", line 166, in add_reads_to_db
query_gen = '"'+grouping[0]+'"'
TypeError: 'NoneType' object is not subscriptable

Is something wrong with the sam/bam files? I tried both formats and indexed bam as well, but keep getting this error.

Looking forward to using this tool, the plots are so beautiful!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions