Error in "Building the cluster and profiles"

Issue #46 new
Former user created an issue

I just updated to the latest 0.9.22 version and keep getting an error as follows:

INFO:vcontact2: Building the cluster and profiles (this may take some time...) If it fails, try re-running using --blast-fp flag and specifiying merged.self-diamond.tab (or merged.self-blastp.tab) Traceback (most recent call last): File "/home/frossi/bin/vcontact2", line 794, in <module> main(options) File "/home/frossi/bin/vcontact2", line 504, in main protein_df, clusters_df, profiles_df, contigs_df = vcontact2.protein_clusters.build_clusters( File "/home/frossi/anaconda3/envs/vContact2/lib/python3.8/site-packages/vcontact2/protein_clusters.py", line 205, in build_clusters clusters_df.loc[clust, "annotated"] = prots.keywords.count() File "/home/frossi/anaconda3/envs/vContact2/lib/python3.8/site-packages/pandas/core/generic.py", line 5179, in getattr return object.getattribute(self, name) AttributeError: 'DataFrame' object has no attribute 'keywords'

I guess its related to the pandas module, but I tried to install the conda latest version and the error keeps showing up...

The only difference from the last time I used vcontact2 (and worked) is that now im using: --db "None"

Comments (1)

  1. Ben Bolduc

    Interesting. This part of the code deals with reading the gene-to-genome file and connecting to your clusters. Does your gene-to-genome file have the “protein_id” “contig_id” and “keywords” column headers?

    And what was your command used to run? Since you mentioned you’ve run it successfully before, I’m assuming that the gene-to-genome file is correct.

    -Ben

  2. Log in to comment