The Nextflow pipeline agora2.nf fails during the execution of the convert_to_gtdb process due to a TypeError in the Python script. The error occurs when attempting to concatenate DataFrames using pd.concat.
Traceback (most recent call last):
File ".command.sh", line 16, in <module>
meta = pd.concat([meta, tax], 1).drop(["gtdb_taxonomy"], axis=1).drop_duplicates()
TypeError: concat() takes 1 positional argument but 2 were given
I modified the script slightly to pass the axis parameter directly to pd.concat and this seems to have worked:
meta = pd.concat([meta, tax], axis=1).drop(["gtdb_taxonomy"], axis=1).drop_duplicates()
The Nextflow pipeline agora2.nf fails during the execution of the convert_to_gtdb process due to a TypeError in the Python script. The error occurs when attempting to concatenate DataFrames using pd.concat.
I modified the script slightly to pass the axis parameter directly to pd.concat and this seems to have worked:
meta = pd.concat([meta, tax], axis=1).drop(["gtdb_taxonomy"], axis=1).drop_duplicates()