veoibd_synapse.data.extract_subids.utils package

Submodules

veoibd_synapse.data.extract_subids.utils.bch module

Provide helper utilities to extract_subids specific to BCH.

veoibd_synapse.data.extract_subids.utils.bch.extract_subject_names(file_names)[source]

Extract subject names from file_names and return subject_names.

veoibd_synapse.data.extract_subids.utils.bch.make_class_masks(subject_names)[source]

Define masks and store in self._class_masks.

veoibd_synapse.data.extract_subids.utils.bch.process_r1(file_names)[source]

Return the extracted and recoded subject_names from file_names.

veoibd_synapse.data.extract_subids.utils.bch.recode_dashed_alphas(subject_names, masks)[source]

Recode appropriate indices of self._subject_names.

veoibd_synapse.data.extract_subids.utils.bch.recode_dashed_dots(subject_names, masks)[source]

Recode appropriate indices of self._subject_names.

veoibd_synapse.data.extract_subids.utils.bch.recode_fam_letters(subject_names, masks)[source]

Recode appropriate indices of self._subject_names.

veoibd_synapse.data.extract_subids.utils.bch.recode_subject_names(subject_names, masks)[source]

Return the fully recoded subject_names.

veoibd_synapse.data.extract_subids.utils.bch.test_dash_in(x)[source]

Return True if x contains a dash.

veoibd_synapse.data.extract_subids.utils.bch.test_ends_letter(x)[source]

Return True if x ends with a letter.

veoibd_synapse.data.extract_subids.utils.bch.test_starts_letter(x)[source]

Return True if x starts with a letter.

veoibd_synapse.data.extract_subids.utils.bch.translate_fam_letter(string)[source]

Return string after translating the suffix correctly.

Module contents