You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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]]]
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
KeyError: 'Contig'
abundance file header:
I am sorry to bother you. I follow the pipeline but ran into problems, how can i fix it?
The text was updated successfully, but these errors were encountered:
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.
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]]]
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
KeyError: 'Contig'
abundance file header:
I am sorry to bother you. I follow the pipeline but ran into problems, how can i fix it?
The text was updated successfully, but these errors were encountered: