dandelion.external.immcantation.base.changeo.creategermlines

dandelion.external.immcantation.base.changeo.creategermlines(airr_file, germline=None, org='human', genotyped_fasta=None, mode=None, db='imgt', strain=None, additional_args=[])[source]

Wrapper for CreateGermlines.py for reconstructing germline sequences.

Parameters:
  • airr_file (Path | str) – path to AIRR tsv file.

  • germline (list[str] | None, optional) – location to germline fasta files as a list.

  • org (Literal[“human”, “mouse”], optional) – organism for germline sequences.

  • genotyped_fasta (str | None, optional) – location to V genotyped fasta file.

  • mode (Literal[“heavy”, “light”] | None, optional) – whether to run on heavy or light mode. If left as None, heavy and light will be run together.

  • db (Literal[“imgt”, “ogrdb”], optional) – imgt or ogrdb reference database.

  • strain (Literal[“c57bl6”, “balbc”, “129S1_SvImJ”, “AKR_J”, “A_J”, “BALB_c_ByJ”, “BALB_c”, “C3H_HeJ”, “C57BL_6J”, “C57BL_6”, “CAST_EiJ”, “CBA_J”, “DBA_1J”, “DBA_2J”, “LEWES_EiJ”, “MRL_MpJ”, “MSM_MsJ”, “NOD_ShiLtJ”, “NOR_LtJ”, “NZB_BlNJ”, “PWD_PhJ”, “SJL_J”] | None, optional) – strain of mouse to use for germline sequences. Only for db=”ogrdb”. Note that only “c57bl6”, “balbc”, “CAST_EiJ”, “LEWES_EiJ”, “MSM_MsJ”, “NOD_ShiLt_J” and “PWD_PhJ” contains both heavy chain and light chain germline sequences as a set. The rest will not allow igblastn and MakeDB.py to generate a successful airr table (check the failed file). “c57bl6” and “balbc” are merged databases of “C57BL_6” with “C57BL_6J” and “BALB_c” with “BALB_c_ByJ” respectively. None defaults to all combined.

  • additional_args (list[str], optional) – Additional arguments to pass to CreateGermlines.py.