public class QueryUtils extends Object
| Constructor and Description |
|---|
QueryUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Query |
getQuery(String chrom,
Long pos,
String allele,
String ref,
String dataset)
Obtains a canonical query object.
|
static String |
normalizeAllele(String allele)
Generate a canonical allele string.
|
static Chromosome |
normalizeChromosome(String chrom)
Generates a canonical chrom ID.
|
static Long |
normalizePosition(Long pos)
Converts 0-based position to 1-based position.
|
static Reference |
normalizeReference(String ref)
Generate a canonical genome representation (hg*).
|
public static Chromosome normalizeChromosome(String chrom)
chrom - chromosomepublic static Long normalizePosition(Long pos)
pos - 0-based positionpublic static String normalizeAllele(String allele)
allele - denormalized allelepublic static Reference normalizeReference(String ref)
ref - denormalized genomeCopyright © 2016 DNAstack. All rights reserved.