transplanttoolbox_victor package

Submodules

transplanttoolbox_victor.conversion_functions module

transplanttoolbox_victor.conversion_functions_for_VXM module

transplanttoolbox_victor.conversion_functions_for_VXM.allele_code_ags(allele_codes_list, pop)[source]
transplanttoolbox_victor.conversion_functions_for_VXM.allele_freq(allele_list, pop)[source]
transplanttoolbox_victor.conversion_functions_for_VXM.convert_allele_list_to_ags(hla_allele_list)[source]

This function can be called if a list of alleles has to be converted to antigens. Input format is a list and the corresponding antigens and rules will be printed out

transplanttoolbox_victor.conversion_functions_for_VXM.genotype_ags(genotype_list, pop)[source]
transplanttoolbox_victor.conversion_functions_for_VXM.gl_string_ags(gl_string, pop)[source]
transplanttoolbox_victor.conversion_functions_for_VXM.main(args)[source]

Main entry point allowing external calls

Parameters:args ([str]) – command line parameter list
transplanttoolbox_victor.conversion_functions_for_VXM.parse_args(args)[source]

Parse command line parameters

Parameters:args ([str]) – command line parameters as list of strings
Returns:command line parameters namespace
Return type:argparse.Namespace
transplanttoolbox_victor.conversion_functions_for_VXM.run()[source]

Entry point for console_scripts

transplanttoolbox_victor.conversion_functions_for_VXM.setup_logging(loglevel)[source]

Setup basic logging

Parameters:loglevel (int) – minimum loglevel for emitting messages

transplanttoolbox_victor.reverse_conversion module

transplanttoolbox_victor.reverse_conversion.map_single_ag_to_alleles(antigen)[source]

transplanttoolbox_victor.reverse_conversion_27 module

transplanttoolbox_victor.reverse_table module

transplanttoolbox_victor.skeleton module

This is a skeleton file that can serve as a starting point for a Python console script. To run this script uncomment the following line in the entry_points section in setup.py:

[console_scripts] fibonacci = transplanttoolbox_victor.skeleton:run

Then run python setup.py install which will install the command fibonacci inside your current environment. Besides console scripts, the header (i.e. until _logger…) of this file can also be used as template for Python modules.

Note: This skeleton file can be safely removed if not needed!

transplanttoolbox_victor.skeleton.fib(n)[source]

Fibonacci example function

Parameters:n (int) – integer
Returns:n-th Fibonacci number
Return type:int
transplanttoolbox_victor.skeleton.main(args)[source]

Main entry point allowing external calls

Parameters:args ([str]) – command line parameter list
transplanttoolbox_victor.skeleton.parse_args(args)[source]

Parse command line parameters

Parameters:args ([str]) – command line parameters as list of strings
Returns:command line parameters namespace
Return type:argparse.Namespace
transplanttoolbox_victor.skeleton.run()[source]

Entry point for console_scripts

transplanttoolbox_victor.skeleton.setup_logging(loglevel)[source]

Setup basic logging

Parameters:loglevel (int) – minimum loglevel for emitting messages

transplanttoolbox_victor.virtual_crossmatch module

transplanttoolbox_victor.virtual_crossmatch.main(args)[source]

Main entry point allowing external calls

Parameters:args ([str]) – command line parameter list
transplanttoolbox_victor.virtual_crossmatch.parse_args(args)[source]

Parse command line parameters

Parameters:args ([str]) – command line parameters as list of strings
Returns:command line parameters namespace
Return type:argparse.Namespace
transplanttoolbox_victor.virtual_crossmatch.run()[source]

Entry point for console_scripts

transplanttoolbox_victor.virtual_crossmatch.setup_logging(loglevel)[source]

Setup basic logging

Parameters:loglevel (int) – minimum loglevel for emitting messages
transplanttoolbox_victor.virtual_crossmatch.vxm_allele_codes(allele_codes_list, donor_ethnicity, recepient_UA_list)[source]
transplanttoolbox_victor.virtual_crossmatch.vxm_gls(donor_gl_string, donor_ethnicity, recipient_UA_list)[source]
transplanttoolbox_victor.virtual_crossmatch.vxm_hIresalleles(donorsAlleleList, candidateags)[source]
transplanttoolbox_victor.virtual_crossmatch.vxm_uags(donorags, candidateags)[source]

transplanttoolbox_victor.vxm_hla module

transplanttoolbox_victor.vxm_hla.allele_code_to_allele_list(allele_code_list)[source]
transplanttoolbox_victor.vxm_hla.allele_truncate(allele)[source]
transplanttoolbox_victor.vxm_hla.expand_ac(allele_code)[source]
transplanttoolbox_victor.vxm_hla.gl_string_alleles_list(gl_string)[source]
transplanttoolbox_victor.vxm_hla.locus_string_geno_list(locus_string)[source]
transplanttoolbox_victor.vxm_hla.single_locus_allele_codes_genotype(allele_code_pair_list)[source]

Module contents