unravel.register.reg_compare module#

Use reg_compare (rcmp) from UNRAVEL to aggregate registration outputs across many samples into one directory for side-by-side comparison (e.g., with reg_compare_fsleyes / rcmpf).

This is a generalized version of reg_check which can:
  • Copy ONE autofluo (or fixed reg input) per sample

  • Copy MULTIPLE atlas outputs per sample from multiple reg_outputs* folders

  • Prepend the sample ID to each copied file

  • Add a suffix to atlas filenames to avoid collisions (default: derived from source folder name)

  • Suffix examples:

  • reg_outputs -> ‘’

  • reg_outputs_1 -> __1

  • reg_outputs_2 -> __2

Note

  • Existing files in the target directory are overwritten when recopied

  • Files no longer produced are left untouched.

Usage:#

reg_compare [-td <path/target_output_dir>] [-afd <autofl_dir>] [-afn <autofl_name>] [-as folder:file …] [–suffix_map folder=suffix …] [-d list of paths] [-p sample??] [-v]

Usage for aggregating registration outputs:#

rcmp -td reg_compare -ro ‘reg_outputs<asterisk>’ -afd reg_outputs [-d list of paths] [-p sample??] [-v]

unravel.register.reg_compare.parse_args()[source]#
unravel.register.reg_compare.main()[source]#