Hi,
I am trying to run OMGS to do scaffolding with a Bionano BspQi.cmap, BssSI.cmap and a pacbio assembly as reference.
After running for a while, I get this message:
Note: begin is larger than end!!!
Note: begin is larger than end!!!
Note: begin is larger than end!!!
Note: begin is larger than end!!!
In total, the number of connected DAG is 489
Traceback (most recent call last):
File "/home/apps/OMGS-master/scripts/main.py", line 105, in
main()
File "/home/apps/OMGS-master/scripts/main.py", line 102, in main
stitch(paras_file, fasta_list_file, output_dir, REFALIGNER, GLPSOL, DIGEST, optmap_list_file)
File "/home/apps/OMGS-master/scripts/stitch.py", line 79, in stitch
core_operations(REFALIGNER, DIGEST, GLPSOL, sub_dir, refaligner_dir, input_fasta_file, optmap_list, optmap_type_list, refaligner_prefix, mtp_fasta_file, mtp_fasta_file_chname, unaligned_fasta_file, lowconf_fasta_file)
File "/home/apps/OMGS-master/scripts/core_operations.py", line 35, in core_operations
core(optmap_list, input_fasta_file, out_list, out2_list, sub_dir, GLPSOL)
File "/home/apps/OMGS-master/scripts/core.py", line 681, in core
og_new_set = full_order.apprx(og,GLPSOL, output_dir, i)
File "/home/apps/OMGS-master/scripts/full_order.py", line 186, in apprx
reachable = DFS_reach(g)
File "/home/apps/OMGS-master/scripts/full_order.py", line 203, in DFS_reach
DFS_visit(g, u, color, reachable[u])
File "/home/apps/OMGS-master/scripts/full_order.py", line 207, in DFS_visit
r.add(u)
AttributeError: 'dict' object has no attribute 'add'
How can I solve this problem?
GuoShuai
Hi,
I am trying to run OMGS to do scaffolding with a Bionano BspQi.cmap, BssSI.cmap and a pacbio assembly as reference.
After running for a while, I get this message:
Note: begin is larger than end!!!
Note: begin is larger than end!!!
Note: begin is larger than end!!!
Note: begin is larger than end!!!
In total, the number of connected DAG is 489
Traceback (most recent call last):
File "/home/apps/OMGS-master/scripts/main.py", line 105, in
main()
File "/home/apps/OMGS-master/scripts/main.py", line 102, in main
stitch(paras_file, fasta_list_file, output_dir, REFALIGNER, GLPSOL, DIGEST, optmap_list_file)
File "/home/apps/OMGS-master/scripts/stitch.py", line 79, in stitch
core_operations(REFALIGNER, DIGEST, GLPSOL, sub_dir, refaligner_dir, input_fasta_file, optmap_list, optmap_type_list, refaligner_prefix, mtp_fasta_file, mtp_fasta_file_chname, unaligned_fasta_file, lowconf_fasta_file)
File "/home/apps/OMGS-master/scripts/core_operations.py", line 35, in core_operations
core(optmap_list, input_fasta_file, out_list, out2_list, sub_dir, GLPSOL)
File "/home/apps/OMGS-master/scripts/core.py", line 681, in core
og_new_set = full_order.apprx(og,GLPSOL, output_dir, i)
File "/home/apps/OMGS-master/scripts/full_order.py", line 186, in apprx
reachable = DFS_reach(g)
File "/home/apps/OMGS-master/scripts/full_order.py", line 203, in DFS_reach
DFS_visit(g, u, color, reachable[u])
File "/home/apps/OMGS-master/scripts/full_order.py", line 207, in DFS_visit
r.add(u)
AttributeError: 'dict' object has no attribute 'add'
How can I solve this problem?
GuoShuai