tcr_pmhc_interface_analysis.stcrdab_utils module

tcr_pmhc_interface_analysis.stcrdab_utils.get_ab_tcr_mhc_class_Is_from_stcrdab(stcrdab_summary: DataFrame) DataFrame

Get bound abTCR-MHC Class Is from STCRDab.

tcr_pmhc_interface_analysis.stcrdab_utils.get_ab_tcrs_from_stcrdab(stcrdab_summary: DataFrame) DataFrame

Get unbound alpha-beta TCRs from STCRDab.

tcr_pmhc_interface_analysis.stcrdab_utils.get_stcrdab_sequences(stcrdab_summary: DataFrame, structure_type: str) DataFrame

Get the CDR sequences for STCRDab structures.

Parameters:
  • stcrdab_summary – dataframe with stcrdab structures and file paths

  • structure_type – either ‘tcr’ or ‘tcr-pmhc’

Returns:

dataframe with additional sequence columns