Closed htaohan closed 2 months ago
Hi @masterhan666,
Just remove the first line (starting with Contig final.contigs.fa/...
) of the abundance file and try running again.
MetaCoAG expects the abundance file without the header row.
Let me know how it goes.
Closing issue due to inactivity. Please re-open if needed.
metacoag --assembler megahit --graph final.contigs.gfa --contigs final.contigs.fa --abundance abundance.tsv --output /xx/short_real_result/Metacoag
Traceback (most recent call last): File "/xx/tools/MetaCoAG-develop/metacoag", line 1066, in
main()
File "/xx/tools/MetaCoAG-develop/metacoag", line 279, in main
) = feature_utils.get_cov_len_megahit(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/xx/tools/MetaCoAG-develop/metacoag_utils/feature_utils.py", line 194, in get_cov_len_megahit
contig_num = contig_names_rev[graph_to_contig_map_rev[strings[0]]]