Nextomics / NextDenovo

Fast and accurate de novo assembler for long reads
GNU General Public License v3.0
350 stars 52 forks source link

nextgraph_options caused error #143

Open DaiWeiKIB opened 2 years ago

DaiWeiKIB commented 2 years ago

Thank you Dr.Hu for your reply.

I‘m afraid my problem about nextgraph_options still remain

When nextgraph_options = -a 3 , it shows like

Traceback (most recent call last):
File "/home/daiwei/NextDenovo/nextDenovo", line 850, in
main(args)
File "/home/daiwei/NextDenovo/nextDenovo", line 821, in main
asm, stat = gather_ctg_cns_output(cfg, task.jobs, seq_info)
File "/home/daiwei/NextDenovo/nextDenovo", line 293, in gather_ctg_cns_output
out = cal_n50_info(stat, asm + '.stat')
File "/home/daiwei/NextDenovo/lib/kit.py", line 204, in cal_n50_info
out += "%-5s %18d%20s\n" % ("Min.", stat[-1], '-')
IndexError: list index out of range

This error casue the nextDenovo can't carry on with any further processing.

And i'm pretty sure When nextgraph_options = -a 1that i can't find gfa in /NextDenovo/test_data/01_rundir/03.ctg_graph/01.ctg_graph.sh.work/ctg_graph1/ Neither nextgraph_options = -a 3 nor nextgraph_options = -a 1 my folder content are as shown in this figure

image

I would like to consult about such a situation. Thank you sincerely @moold .