scout/parse/variant/ids.py
def parse_ids(chrom, pos, ref, alt, case_id, variant_type):
    """Construct the necessary ids for a variant

    Args:
        chrom(str): Variant chromosome
        pos(int): Variant position
        ref(str): Variant reference
        alt(str): Variant alternative
        case_id(str): Unique case id
        variant_type(str): 'clinical' or 'research'

    Returns:
        ids(dict): Dictionary with the relevant ids
    """
    ids = {}
    pos = str(pos)

    ids['simple_id'] = parse_simple_id(chrom, pos, ref, alt)
    ids['variant_id'] = parse_variant_id(chrom, pos, ref, alt, variant_type)
    ids['display_name'] = parse_display_name(chrom, pos, ref, alt, variant_type)
    ids['document_id'] = parse_document_id(chrom, pos, ref, alt, variant_type, case_id)

    return ids
def parse_ids(chrom, pos, ref, alt, case_id, variant_type):
    ids = {}
    pos = str(pos)

    ids['simple_id'] = parse_simple_id(chrom, pos, ref, alt)
    ids['variant_id'] = parse_variant_id(chrom, pos, ref, alt, variant_type)
    ids['display_name'] = parse_display_name(chrom, pos, ref, alt, variant_type)
    ids['document_id'] = parse_document_id(chrom, pos, ref, alt, variant_type, case_id)

    return ids
def parse_ids ( chrom , pos , ref , alt , case_id , variant_type ) : ids = { } pos = str ( pos ) ids [ 'simple_id' ] = parse_simple_id ( chrom , pos , ref , alt ) ids [ 'variant_id' ] = parse_variant_id ( chrom , pos , ref , alt , variant_type ) ids [ 'display_name' ] = parse_display_name ( chrom , pos , ref , alt , variant_type ) ids [ 'document_id' ] = parse_document_id ( chrom , pos , ref , alt , variant_type , case_id ) return ids
Construct the necessary ids for a variant

    Args:
        chrom(str): Variant chromosome
        pos(int): Variant position
        ref(str): Variant reference
        alt(str): Variant alternative
        case_id(str): Unique case id
        variant_type(str): 'clinical' or 'research'

    Returns:
        ids(dict): Dictionary with the relevant ids
Construct the necessary ids for a variant