Galaxy | Tool Preview

table rename columns via regex (version 2.2.3+galaxy0)
The input dataset in CSV, TSV, tabular, or Parquet format.
Select one or more columns from the dataset to rename. You can select columns by their header names.
The regular expression pattern to search for in the column names. This pattern will be used to identify parts of the column names to be replaced.
The regular expression pattern to replace the matched parts of the column names with. This pattern will be used to rename the columns.

This tool renames columns in a table using the specified regex patterns.

Inputs

  • Input Dataset: The input dataset in CSV, TSV, tabular, or Parquet format.
  • Columns to Rename: Select one or more columns from the dataset to rename. You can select columns by their header names.
  • Regex to Check For: The regular expression pattern to search for in the column names. This pattern will be used to identify parts of the column names to be replaced.
  • Regex to Replace With: The regular expression pattern to replace the matched parts of the column names with. This pattern will be used to rename the columns.

Outputs

  • Output Dataset: The output dataset with the renamed columns.