def _is_jointcaller_compatible(data):
    """Match variant caller inputs to compatible joint callers.
    """
    jointcaller = tz.get_in(("config", "algorithm", "jointcaller"), data)
    variantcaller = tz.get_in(("config", "algorithm", "variantcaller"), data)
    if isinstance(variantcaller, (list, tuple)) and len(variantcaller) == 1:
        variantcaller = variantcaller[0]
    return jointcaller == "%s-joint" % variantcaller or not variantcaller
def _is_jointcaller_compatible ( data ) : jointcaller = tz . get_in ( ( "config" , "algorithm" , "jointcaller" ) , data ) variantcaller = tz . get_in ( ( "config" , "algorithm" , "variantcaller" ) , data ) if isinstance ( variantcaller , ( list , tuple ) ) and len ( variantcaller ) == 1 : variantcaller = variantcaller [ 0 ] return jointcaller == "%s-joint" % variantcaller or not variantcaller
Match variant caller inputs to compatible joint callers.