Traceback (most recent call last):
File "/group/zhougrp/dguan/nanopore_annotation/Chicken/.snakemake/conda/94cba236/bin/NanoPlot", line 6, in
sys.exit(nanoplot.NanoPlot.main())
File "/group/zhougrp/dguan/nanopore_annotation/Chicken/.snakemake/conda/94cba236/lib/python3.6/site-packages/nanoplot/NanoPlot.py", line 61, in main
nanomath.write_stats(datadf, settings["path"] + "NanoStats.txt")
File "/group/zhougrp/dguan/nanopore_annotation/Chicken/.snakemake/conda/94cba236/lib/python3.6/site-packages/nanomath/nanomath.py", line 177, in write_stats
stats = [Stats(df) for df in datadfs]
File "/group/zhougrp/dguan/nanopore_annotation/Chicken/.snakemake/conda/94cba236/lib/python3.6/site-packages/nanomath/nanomath.py", line 177, in
stats = [Stats(df) for df in datadfs]
File "/group/zhougrp/dguan/nanopore_annotation/Chicken/.snakemake/conda/94cba236/lib/python3.6/site-packages/nanomath/nanomath.py", line 31, in init
self.number_of_bases = np.sum(df["lengths"])
TypeError: string indices must be integers
Traceback (most recent call last): File "/group/zhougrp/dguan/nanopore_annotation/Chicken/.snakemake/conda/94cba236/bin/NanoPlot", line 6, in
sys.exit(nanoplot.NanoPlot.main())
File "/group/zhougrp/dguan/nanopore_annotation/Chicken/.snakemake/conda/94cba236/lib/python3.6/site-packages/nanoplot/NanoPlot.py", line 61, in main
nanomath.write_stats(datadf, settings["path"] + "NanoStats.txt")
File "/group/zhougrp/dguan/nanopore_annotation/Chicken/.snakemake/conda/94cba236/lib/python3.6/site-packages/nanomath/nanomath.py", line 177, in write_stats
stats = [Stats(df) for df in datadfs]
File "/group/zhougrp/dguan/nanopore_annotation/Chicken/.snakemake/conda/94cba236/lib/python3.6/site-packages/nanomath/nanomath.py", line 177, in
stats = [Stats(df) for df in datadfs]
File "/group/zhougrp/dguan/nanopore_annotation/Chicken/.snakemake/conda/94cba236/lib/python3.6/site-packages/nanomath/nanomath.py", line 31, in init
self.number_of_bases = np.sum(df["lengths"])
TypeError: string indices must be integers