public RepGenDataWriter extends RepGenData
boolean putAllTag(java.util.Set<net.maizegenetics.dna.tag.Tag> tags,
java.util.Map<net.maizegenetics.dna.tag.Tag,net.maizegenetics.util.Tuple> tagInstanceAverageQS)
Add a tag to list of known tags
tags - tagInstanceAverageQS - map showing number of tags, and average quality score for each tagboolean putAllNamesTag(java.util.Map<net.maizegenetics.dna.tag.Tag,java.lang.String> tagNameMap)
Add a tag to list of known tags with their associated names (good for named contigs)
tagNameMap - boolean putAllRefTag(com.google.common.collect.Multimap<net.maizegenetics.dna.tag.Tag,net.maizegenetics.dna.map.Position> refTagPositionMap,
java.lang.String refGenome)
Add a reference tag to list of known reference tags
void putTaxaDistribution(java.util.Map<net.maizegenetics.dna.tag.Tag,net.maizegenetics.dna.tag.TaxaDistribution> tagTaxaDistributionMap)
Associates a map full of the specified Tag (key) with the specified TaxaDistribution (value). If there was a prior association is it replaced, as all pairs are unique.
void putRefTagMapping(com.google.common.collect.Multimap<net.maizegenetics.dna.tag.Tag,net.maizegenetics.dna.map.Position> tagAnnotatedPositionMap,
java.lang.String refGenome)
Associates the specified Reference Tag with the specified site Position (value).
tagAnnotatedPositionMap - Map of specific tag with chrom/positions specified.void putTagTagAlignments(com.google.common.collect.Multimap<net.maizegenetics.dna.tag.Tag,net.maizegenetics.analysis.gbs.repgen.AlignmentInfo> tagAlignInfoMap)
Stores the Smith Waterman score from2 tag alignments. tag2 chrom/pos comes from the AlignmentInfo object. tag1 chrom/pos are separate parameters
tagAlignInfoMap - Map of specific tag to tag2 alignment datavoid putTagRefTagAlignments(com.google.common.collect.Multimap<net.maizegenetics.dna.tag.Tag,net.maizegenetics.analysis.gbs.repgen.AlignmentInfo> tagAlignInfoMap,
java.lang.String refGenome)
Stores the Smith Waterman score from2 tag alignments. tag2 chrom/pos comes from the AlignmentInfo object. tag1 chrom/pos are separate parameters
tagAlignInfoMap - Map of specific tag to tag2 alignment datavoid putRefRefAlignments(com.google.common.collect.Multimap<net.maizegenetics.analysis.gbs.repgen.RefTagData,net.maizegenetics.analysis.gbs.repgen.AlignmentInfo> tagAlignInfoMap,
java.lang.String refGenome)
Adds entries to the tagAlignments table for ref-ref alignments
tagAlignInfoMap - holds alignment info for each reftag-reftag pairrefGenome - name of the reference genomeSQLExceptionboolean putTagAlleles(com.google.common.collect.Multimap<net.maizegenetics.dna.tag.Tag,net.maizegenetics.dna.snp.Allele> tagAlleleMap)
boolean putTagAlignmentApproach(java.lang.String tagAlignmentName,
java.lang.String protocol)
void putTaxaList(TaxaList taxaList)
void putSNPPositionQS(PositionList qsPosL)
Stores a quality position in the snpposition table for each chromosome/position
void clearTagTaxaDistributionData()
Removes all data from the tagtaxadistribution table. This should be called from GBSSeqToTagDBPlugin when a user requests an "append" option (ie, db exists, and user opted NOT to clear it). AFter we grab the existing data it is cleared. It will be re-entered when GBSSeqToTagDBPlugin completes.
void clearAlignmentData()
Removes all data from the DB that was added from SAMToGBSDBPlugin call. The tables cleared are CutPosition and TagCutPosition
void clearDiscoveryData()
Removes all data from the DB that was added from the DiscoverySNPCallerPluginV2 The tables cleared are Allele, TagAllele and SNPPosition
void clearSNPQualityData()
Removes all data from the snpQuality table
void addMappingApproach(java.lang.String name)
Adds a mapping approach strategy to the mappingApproach table
name - void addReferenceGenome(java.lang.String refGenome)
Adds a mapping approach strategy to the mappingApproach table
SQLExceptionvoid putAllelePairs(com.google.common.collect.Multimap<net.maizegenetics.dna.tag.Tag,net.maizegenetics.util.Tuple> tagTagAlignMap)
Adds entries to the allelepair table
SQLExceptionÆ’void putTagTagCorrelationMatrix(com.google.common.collect.Multimap<net.maizegenetics.dna.tag.Tag,net.maizegenetics.analysis.gbs.repgen.TagCorrelationInfo> tagCorrelationMap)
Adds entries to the tagCorrelations table for tag-tag correlation data
tagCorrelationMap - holds correltaions info for each tag/taxa-depth to tag/taxa-depth vector pairSQLException