cleanup and tuning for more performance
expanded patient id scheme: subj_code@lab/exp