IDR / idr-utils

Utility scripts for managing IDR submissions
BSD 2-Clause "Simplified" License
2 stars 6 forks source link

Add script to set channel names #64

Open dominikl opened 3 months ago

dominikl commented 3 months ago

I had various variations of that in different submissions. Thought it might be a good idea to have a generic script that which works on Projects and HCS. Also replaces #41 (which took channel names from the annotated objects).

usage: set_channel_names.py [-h] [-v] [-s SEPARATOR] [-c COLUMN] [-d] target file

Set the channel names provided by the annotation.csv.

positional arguments:
  target                Project:123 or Screen:123
  file                  The annotation.csv file

options:
  -h, --help            show this help message and exit
  -v, --verbose         Verbosity (-v, -vv, etc)
  -s SEPARATOR, --separator SEPARATOR
                        The separator character for the channel names (default: ;)
  -c COLUMN, --column COLUMN
                        The name of the channels column (default: Channels)
  -d, --dryrun          Don't perform actions just print what would be done.