A minimalist anonymizer for omics filenames. Matches sample names against a TAN database using strict 1-to-1 logic to prevent sample swaps.
pip install -e .
python3 rename_subjects.py \
--files input.txt \ # List of raw file paths (both windows and unix) to be renamed
--tans tan.csv # Database with [TAN, Name1, Name2] mapping
export PYTHONPATH=$PYTHONPATH:src
python3 -m unittest discover tests