public class HapCountBestPathPlugin
extends net.maizegenetics.plugindef.AbstractPlugin
| Constructor and Description |
|---|
HapCountBestPathPlugin(Frame parentFrame,
boolean isInteractive) |
| Modifier and Type | Method and Description |
|---|---|
String |
bfInfoFilename()
The name of the file to node probabilities from the
backward-forward algorithm will be written.
|
HapCountBestPathPlugin |
bfInfoFilename(String value)
Set Bf Info File.
|
ReferenceRangeEmissionProbability.METHOD |
emissionMethod()
Emission Method
|
HapCountBestPathPlugin |
emissionMethod(ReferenceRangeEmissionProbability.METHOD value)
Set Emission Method.
|
String |
getButtonName() |
ImageIcon |
getIcon() |
String |
getToolTipText() |
String |
graphExportBasename()
The base name for R-igraph export files.
|
HapCountBestPathPlugin |
graphExportBasename(String value)
Set Graph Export.
|
Integer |
haplotypeCountsId()
DB assigned haplotype_counts_id from the haplotype_counts
table.
|
HapCountBestPathPlugin |
haplotypeCountsId(Integer value)
Set Hap Counts Id.
|
String |
inclusionFilename()
The name of the file containing read inclusion and exclusion counts for hapids.
|
HapCountBestPathPlugin |
inclusionFilename(String value)
Set Inclusion File.
|
Integer |
maxNodesPerRange()
maximum number of nodes per reference range.
|
HapCountBestPathPlugin |
maxNodesPerRange(Integer value)
Set Max Nodes.
|
Integer |
maxReadsPerKB()
maximum number of include counts per anchor reference range.
|
HapCountBestPathPlugin |
maxReadsPerKB(Integer value)
Set Max Reads.
|
Double |
minProbBF()
Only nodes with minP or greater probability will be kept in the path when using the Backward-Forward algorithm,
|
Integer |
minReads()
minimum number of reads per anchor reference range.
|
HapCountBestPathPlugin |
minReads(Integer value)
Set Min Reads.
|
Integer |
minTaxaPerRange()
minimum number of taxa per anchor reference range.
|
HapCountBestPathPlugin |
minTaxaPerRange(Integer value)
Set Min Taxa.
|
Double |
minTransitionProb()
minimum probability of a transition between nodes at adjacent reference ranges.
|
HapCountBestPathPlugin |
minTransitionProb(Double value)
Set Min Transition Prob.
|
String |
pathInfoFilename()
The name of the file to which detailed path diagnostic
information will be written.
|
HapCountBestPathPlugin |
pathInfoFilename(String value)
Set Path Info File.
|
String |
pluginDescription() |
Double |
probReadMappedCorrectly()
minimum number of reads per anchor reference range.
|
HapCountBestPathPlugin |
probReadMappedCorrectly(Double value)
Set Prob Correct.
|
net.maizegenetics.plugindef.DataSet |
processData(net.maizegenetics.plugindef.DataSet input) |
String |
refRangeFile()
The name of the file containing the reference ranges to keep.
|
HapCountBestPathPlugin |
refRangeFile(String value)
Set Ref Range File.
|
Boolean |
splitTaxa()
split consensus nodes into one node per taxon.
|
HapCountBestPathPlugin |
splitTaxa(Boolean value)
Set Split Taxa.
|
Double |
splitTransitionProb()
When the consensus nodes are split by taxa, this is
the transition probability for moving from a node to
the next node of the same taxon.
|
HapCountBestPathPlugin |
splitTransitionProb(Double value)
Set Split Prob.
|
String |
targetTaxon()
The taxon that will be used to evaluate the node list returned.
|
HapCountBestPathPlugin |
targetTaxon(String value)
Set Target.
|
String |
taxaFilterString()
A comma delimited list of taxa (no spaces allowed) to include in graph.
|
HapCountBestPathPlugin |
taxaFilterString(String value)
Set Taxa.
|
Boolean |
useBackwardForward()
Use the Backward-Forward algorithm instead of the Viterbi algorithm for the HMM.
|
HapCountBestPathPlugin |
useBackwardForward(Boolean value)
Set Usebf.
|
void |
writeGraphInfoFilesForChr(String outbase,
List<HaplotypeNode> path,
HaplotypeGraph graph,
Map<Integer,Integer> inclusionMap,
Map<Integer,Integer> exclusionMap,
net.maizegenetics.dna.map.Chromosome chr,
String target) |
void |
writePathInformation(String outFilename,
List<HaplotypeNode> nodeList,
HaplotypeGraph filteredGraph,
Map<Integer,Integer> inclusionMap,
Map<Integer,Integer> exclusionMap)
Method is used to write diagnostic information about a path to a file.
|
addListener, cancel, convert, dataSetReturned, getCitation, getInputs, getMenu, getPanel, getParameter, getParameter, getParentFrame, getUsage, getUsageHTML, isInteractive, performFunction, pluginUserManualURL, progress, progress, receiveInput, reverseTrace, run, setConfigParameters, setParameter, setParameter, setParameter, setParameters, setParametersToDefault, setThreaded, trace, wasCancelledpublic HapCountBestPathPlugin(Frame parentFrame, boolean isInteractive)
public net.maizegenetics.plugindef.DataSet processData(net.maizegenetics.plugindef.DataSet input)
processData in interface net.maizegenetics.plugindef.PluginprocessData in class net.maizegenetics.plugindef.AbstractPluginpublic void writePathInformation(String outFilename, List<HaplotypeNode> nodeList, HaplotypeGraph filteredGraph, Map<Integer,Integer> inclusionMap, Map<Integer,Integer> exclusionMap)
outFilename - nodeList - filteredGraph - public void writeGraphInfoFilesForChr(String outbase, List<HaplotypeNode> path, HaplotypeGraph graph, Map<Integer,Integer> inclusionMap, Map<Integer,Integer> exclusionMap, net.maizegenetics.dna.map.Chromosome chr, String target)
public ImageIcon getIcon()
public String getButtonName()
public String getToolTipText()
public String pluginDescription()
pluginDescription in interface net.maizegenetics.plugindef.PluginpluginDescription in class net.maizegenetics.plugindef.AbstractPluginpublic Integer minTaxaPerRange()
public HapCountBestPathPlugin minTaxaPerRange(Integer value)
value - Min Taxapublic Integer minReads()
public HapCountBestPathPlugin minReads(Integer value)
value - Min Readspublic Integer maxNodesPerRange()
public HapCountBestPathPlugin maxNodesPerRange(Integer value)
value - Max Nodespublic Integer maxReadsPerKB()
public HapCountBestPathPlugin maxReadsPerKB(Integer value)
value - Max Readspublic String taxaFilterString()
public HapCountBestPathPlugin taxaFilterString(String value)
value - Taxapublic Double minTransitionProb()
public HapCountBestPathPlugin minTransitionProb(Double value)
value - Min Transition Probpublic Double probReadMappedCorrectly()
public HapCountBestPathPlugin probReadMappedCorrectly(Double value)
value - Prob Correctpublic String inclusionFilename()
public HapCountBestPathPlugin inclusionFilename(String value)
value - Inclusion Filepublic String targetTaxon()
public HapCountBestPathPlugin targetTaxon(String value)
value - Targetpublic ReferenceRangeEmissionProbability.METHOD emissionMethod()
public HapCountBestPathPlugin emissionMethod(ReferenceRangeEmissionProbability.METHOD value)
value - Emission Methodpublic String refRangeFile()
public HapCountBestPathPlugin refRangeFile(String value)
value - Ref Range Filepublic Boolean splitTaxa()
public HapCountBestPathPlugin splitTaxa(Boolean value)
value - Split Taxapublic Double splitTransitionProb()
public HapCountBestPathPlugin splitTransitionProb(Double value)
value - Split Probpublic Boolean useBackwardForward()
public HapCountBestPathPlugin useBackwardForward(Boolean value)
value - Usebfpublic Double minProbBF()
public String bfInfoFilename()
public HapCountBestPathPlugin bfInfoFilename(String value)
value - Bf Info Filepublic Integer haplotypeCountsId()
public HapCountBestPathPlugin haplotypeCountsId(Integer value)
value - Hap Counts Idpublic String pathInfoFilename()
public HapCountBestPathPlugin pathInfoFilename(String value)
value - Path Info Filepublic String graphExportBasename()
public HapCountBestPathPlugin graphExportBasename(String value)
value - Graph ExportCopyright © 2018. All rights reserved.