MHCXGraph.scripts.renumber_MHCII_imgt¶
- MHCXGraph.scripts.renumber_MHCII_imgt.align_query_to_template(query_seq: str, template_ungapped: str)[source]¶
- MHCXGraph.scripts.renumber_MHCII_imgt.choose_best_template_for_chain(query_seq: str, templates_for_type: list[dict]) dict[source]¶
- MHCXGraph.scripts.renumber_MHCII_imgt.continue_numbering_from_unmatched(aa_residues_in_order, numbering_map, projected_residues, unmatched_query_positions, debug=False)[source]¶
- MHCXGraph.scripts.renumber_MHCII_imgt.detect_mhcII_chains(model, templates, debug: bool = False)[source]¶
- MHCXGraph.scripts.renumber_MHCII_imgt.get_chain_sequence_and_residues(chain) tuple[str, list][source]¶
- MHCXGraph.scripts.renumber_MHCII_imgt.load_mhcii_templates(display_csv: Path, numbering_csv: Path)[source]¶
- MHCXGraph.scripts.renumber_MHCII_imgt.load_structure(path: str, structure_id: str = 'structure')[source]¶
- MHCXGraph.scripts.renumber_MHCII_imgt.print_alignment_blocks(label: str, seq: str, width: int = 80)[source]¶
- MHCXGraph.scripts.renumber_MHCII_imgt.print_debug_alignment(chain_id: str, mhc_type: str, template_name: str, aln, gapped_template: str, projected_query_chars: list[str], numbering: list[str])[source]¶
- MHCXGraph.scripts.renumber_MHCII_imgt.process_structure_file_mhcii(input_path: str, output_path: str, templates, alpha_chain: str = None, beta_chain: str = None, debug: bool = False, warn_score: float = 50.0)[source]¶
- MHCXGraph.scripts.renumber_MHCII_imgt.project_query_onto_gapped_template(gapped_template: str, numbering: list[str], aligned_template_ungapped: str, aligned_query: str, chain_residues: list)[source]¶
- MHCXGraph.scripts.renumber_MHCII_imgt.renumber_chain_from_projection(chain, projected_residues, numbering_map, debug=False)[source]¶
Functions¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|