public interface PHGData
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getChromNamesForHaplotype(String line_name,
int hap_number,
String version)
Method grabs a list of distinct chromosome names for a genome_interval version
|
int |
getGameteGroupIDFromTaxaList(List<String> gametes)
Takes a list of taxa and returns the corresponding gamete_group_id or 0
|
int |
getGenoidFromLine(String line_name)
Return genoid
|
Map<Integer,net.maizegenetics.util.Tuple<String,byte[]>> |
getHapCountsIDAndDataForVersionMethod(String method)
This method pulls the haplotype_counts_id with corresponding genotypes line name and data for all DB entries
based on the supplied method
|
Map<Integer,byte[]> |
getHapCountsIDAndPathsForMethod(String method)
THis method pulls the haplotype_counts_id and corresponding path for all entries
in the paths table with the specified method.
|
int |
getHapidForGenoidHapNumber(int genoid,
int hap_number)
Returns hapid for given line name and hap_number
|
Map<Integer,String> |
getHapidHapNumberLineNamesForLines(List<String> lineNames)
Retrieves line name and hapnumber, and returns them with the hapid.
|
Map<String,Integer> |
getHapidMapFromLinenameHapNumber()
Returns a map of
|
List<Integer> |
getHapidsForGenoid(int genoid)
Returns list of hapids for a given line name
|
int |
getHaplotypeIDFromFastaIDLine(String idLine,
String methodName)
Returns the haplotype_id from the haplotypes table based on the gamete_grp_id
(calculated from the taxa list), the ref_range_id (calculated from the
ref coordinates part of the idline) and the method.
|
com.google.common.collect.RangeMap<net.maizegenetics.dna.map.Position,Integer> |
getIntervalRangesWithIDForChrom(String chrom)
Returns sorted treeRangeMap of Positions for specified chromosome
|
net.maizegenetics.util.Tuple<String,Integer> |
getLineNameHapNumberFromHapid(int hapid)
Method to retrieve both a line name and the hap number given a hapid.
|
int |
getMethodIdFromName(String method_name)
Returns method_id given a method name.
|
int |
getRefRangeIDFromString(String refData)
Returns reference range id
|
int getGenoidFromLine(String line_name)
line_name - int getHapidForGenoidHapNumber(int genoid,
int hap_number)
line_name - List<Integer> getHapidsForGenoid(int genoid)
genoid - net.maizegenetics.util.Tuple<String,Integer> getLineNameHapNumberFromHapid(int hapid)
hapid - Map<Integer,String> getHapidHapNumberLineNamesForLines(List<String> lineNames)
lineNames - List<String> getChromNamesForHaplotype(String line_name, int hap_number, String version)
line_name - hap_number - version - Version name for anchorsint getMethodIdFromName(String method_name)
method_name - Map<String,Integer> getHapidMapFromLinenameHapNumber()
int getGameteGroupIDFromTaxaList(List<String> gametes)
gametes - Items on the list must be of the form taxon_hapNumberint getRefRangeIDFromString(String refData)
refData - needs to be of form chr1:startpos:endPosint getHaplotypeIDFromFastaIDLine(String idLine, String methodName)
idLine - expected form: refchr:refStartPos:refEndPos;taxa_hapnumber:taxa_hapnumber:etcmethodName - This is the method used for creating the haplotypescom.google.common.collect.RangeMap<net.maizegenetics.dna.map.Position,Integer> getIntervalRangesWithIDForChrom(String chrom)
chrom - Map<Integer,byte[]> getHapCountsIDAndPathsForMethod(String method)
method - Map<Integer,net.maizegenetics.util.Tuple<String,byte[]>> getHapCountsIDAndDataForVersionMethod(String method)
method - Copyright © 2018. All rights reserved.