unravel.utilities.toggle_samples module#

Use utils_toggle from UNRAVEL to inactivate/activate sample?? dirs for batch processing (i.e., prepend/remove “_” from dir name).

Note

  • For samples matching conditions in -c, “_” will be removed from the sample?? dir name.

  • For sampled not matching conditions in -c, “_” will be prepended to the sample?? dir name.

The sample_key.csv file should have the following format:

dir_name,condition sample01,control sample02,treatment

Usage for toggling all sample?? dirs to active:#

utils_toggle [-d list of paths] [-p sample??] [-v]

Usage for activating sample?? dirs for certain conditions:#

utils_toggle -sk <path/sample_key.csv> -c <Saline MDMA> [-d list of paths] [-p sample??] [-v]

unravel.utilities.toggle_samples.parse_args()[source]#
unravel.utilities.toggle_samples.main()[source]#