BinPro / CONCOCT

Clustering cONtigs with COverage and ComposiTion
Other
119 stars 48 forks source link

Error in data type (feature table) #332

Open ramnageena11 opened 4 months ago

ramnageena11 commented 4 months ago

Hi, I have used following command to run concoct. concoct --coverage_file /media/majorram/Analysis_Data/singhrn/ramesh/bowtie2_mapping/nw_mapping/nw-all-mapping/nw_depth_matrix.tsv --composition_file /media/majorram/Analysis_Data/singhrn/ramesh/trimmed/megahit_nw-assmbly/nw-all_assmbly/scaffold.contigs.fa -t 20 -b /media/majorram/Analysis_Data/singhrn/ramesh/binning/con_bin/ -o

where: metagenome assembly: scaffold.contigs.fa mapping table: nw_depth_matrix.tsv (bowtie2)

Error: TypeError: Feature names are only supported if all input features have string names, but your input has ['int', 'str'] as feature name / column name types. If you want feature names to be stored and validated, you must convert them all to strings, by using X.columns = X.columns.astype(str) for example. Otherwise you can remove feature / column names from your input data, or convert them all to a non-string data type. Log attached here for review. I am not very advanced in scripting. Pls help me understand and rectify the issue.

log.txt

Thanks rgds Ram