public class ConvertGBSUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
configFile |
static String |
configFileName |
static String |
genomeVersionName |
static String |
hapidCountFilename |
static String |
hapidCountMapFileName |
static String |
methodIdName |
static int |
minTaxaPerRange |
static String |
readFileName |
static String |
samFileName |
| Constructor and Description |
|---|
ConvertGBSUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
basicConverterTest() |
static HaplotypeGraph |
buildHaplotypeGraph() |
List<HaplotypeNode> |
chooseBestNode(HaplotypeGraph hapgraph,
com.google.common.collect.Multiset<Integer> hapidCounts) |
static boolean |
contains(String name,
net.maizegenetics.taxa.TaxaList taxa) |
static boolean |
containsW22(net.maizegenetics.taxa.TaxaList taxa) |
static void |
countNodesWithW22(List<HaplotypeNode> myNodes) |
static void |
countSeqCharInPHG() |
static void |
countW22NodesFullGraph(HaplotypeGraph hapgraph) |
void |
evaluateOneBestNodeRanges(HaplotypeGraph hapgraph,
com.google.common.collect.Multiset<Integer> hapidCounts) |
static void |
howManyAnchorsHaveW22InMostFrequentNode(HaplotypeGraph hapgraph,
com.google.common.collect.Multiset<Integer> hapidCounts) |
static void |
listBadNodes(String comp,
String outfile) |
static void |
listTaxa(HaplotypeGraph hapgraph) |
static void |
listTaxaForPHG() |
static void |
main(String[] args) |
static int |
maxTaxaPerRange(HaplotypeGraph graph) |
static com.google.common.collect.Multiset<Integer> |
readHapidCounts(String filename) |
static Map<Integer,Integer> |
readHapidMap(String filename) |
static void |
storeFastqToHapCountResult() |
static void |
storeHapidCounts(String filename,
com.google.common.collect.Multiset<Integer> hapidCounts) |
static void |
storeHapidMap(String filename,
Map<Integer,Integer> hapidCounts) |
static void |
testB73W22() |
static void |
testFastqToHapCount(String name1,
String name2) |
static void |
testReadsPerRange() |
static void |
twoLineNodeCounts(String line1,
String line2,
String outfile) |
static void |
twoLineTest(String name1,
String name2) |
static void |
writeNodeStatistics(HaplotypeGraph graph,
List<HaplotypeNode> path,
Map<Integer,Integer> inclusionCountMap,
Map<Integer,Integer> exclusionCountMap,
String target) |
public static String hapidCountFilename
public static String configFileName
public static String configFile
public static String genomeVersionName
public static String methodIdName
public static String samFileName
public static String readFileName
public static String hapidCountMapFileName
public static int minTaxaPerRange
public static void main(String[] args)
public static HaplotypeGraph buildHaplotypeGraph()
public static void countSeqCharInPHG()
public static void writeNodeStatistics(HaplotypeGraph graph, List<HaplotypeNode> path, Map<Integer,Integer> inclusionCountMap, Map<Integer,Integer> exclusionCountMap, String target)
public static int maxTaxaPerRange(HaplotypeGraph graph)
public static void storeFastqToHapCountResult()
public static void basicConverterTest()
public static void testReadsPerRange()
public static void testB73W22()
public static void countNodesWithW22(List<HaplotypeNode> myNodes)
public static void countW22NodesFullGraph(HaplotypeGraph hapgraph)
public static void howManyAnchorsHaveW22InMostFrequentNode(HaplotypeGraph hapgraph, com.google.common.collect.Multiset<Integer> hapidCounts)
public static boolean containsW22(net.maizegenetics.taxa.TaxaList taxa)
public static boolean contains(String name, net.maizegenetics.taxa.TaxaList taxa)
public List<HaplotypeNode> chooseBestNode(HaplotypeGraph hapgraph, com.google.common.collect.Multiset<Integer> hapidCounts)
public void evaluateOneBestNodeRanges(HaplotypeGraph hapgraph, com.google.common.collect.Multiset<Integer> hapidCounts)
public static void listTaxaForPHG()
public static void listTaxa(HaplotypeGraph hapgraph)
public static com.google.common.collect.Multiset<Integer> readHapidCounts(String filename) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic static void storeHapidCounts(String filename, com.google.common.collect.Multiset<Integer> hapidCounts) throws IOException
IOExceptionpublic static Map<Integer,Integer> readHapidMap(String filename) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic static void storeHapidMap(String filename, Map<Integer,Integer> hapidCounts) throws IOException
IOExceptionCopyright © 2018. All rights reserved.