Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in data type (feature table) #332

Open
ramnageena11 opened this issue Feb 21, 2024 · 0 comments
Open

Error in data type (feature table) #332

ramnageena11 opened this issue Feb 21, 2024 · 0 comments

Comments

@ramnageena11
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant