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

    This is used to display the variant in scout.

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

    Returns:
        variant_id(str): The variant id in human readable format
    """
    return '_'.join([chrom, pos, ref, alt, variant_type])
def parse_display_name(chrom, pos, ref, alt, variant_type):
    """Parse the variant id for a variant

    This is used to display the variant in scout.

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

    Returns:
        variant_id(str): The variant id in human readable format
    """
    return '_'.join([chrom, pos, ref, alt, variant_type])
Parse the variant id for a variant

    This is used to display the variant in scout.

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

    Returns:
        variant_id(str): The variant id in human readable format