Issue or current state
In practice, lookup of snv is by accession identifier (rsid) xor by position (chrom-pos)
variants.get_snv(args['variant_id'], None, None, args['full']):
variants.get_snv(None, args['chrom'], args['pos'], args['full']):
variants.get_snv(query, None, None, False):
Resolved when
- Uses of
get_snv are refactored into get_accession_snv and get_position_snv.
- Tests illustrate expected use.
- Return type and data format is documented.
Issue or current state
In practice, lookup of snv is by accession identifier (rsid) xor by position (chrom-pos)
Resolved when
get_snvare refactored intoget_accession_snvandget_position_snv.