scout/parse/variant/ids.py
def parse_variant_id(chrom, pos, ref, alt, variant_type):
    """Parse the variant id for a variant

    variant_id is used to identify variants within a certain type of
    analysis. It is not human readable since it is a md5 key.

    Args:
        chrom(str)
        pos(str)
        ref(str)
        alt(str)
        variant_type(str): 'clinical' or 'research'

    Returns:
        variant_id(str): The variant id converted to md5 string
    """
    return generate_md5_key([chrom, pos, ref, alt, variant_type])
def parse_variant_id(chrom, pos, ref, alt, variant_type):
    """Parse the variant id for a variant

    variant_id is used to identify variants within a certain type of
    analysis. It is not human readable since it is a md5 key.

    Args:
        chrom(str)
        pos(str)
        ref(str)
        alt(str)
        variant_type(str): 'clinical' or 'research'

    Returns:
        variant_id(str): The variant id converted to md5 string
    """
    return generate_md5_key([chrom, pos, ref, alt, variant_type])
Parse the variant id for a variant

    variant_id is used to identify variants within a certain type of
    analysis. It is not human readable since it is a md5 key.

    Args:
        chrom(str)
        pos(str)
        ref(str)
        alt(str)
        variant_type(str): 'clinical' or 'research'

    Returns:
        variant_id(str): The variant id converted to md5 string