public class SAMToGBSdbPlugin
extends AbstractPlugin
Reads SAM file formats to determine the potential positions of Tags against the reference genome.
public SAMToGBSdbPlugin()
public SAMToGBSdbPlugin(java.awt.Frame parentFrame,
boolean isInteractive)
public SAMToGBSdbPlugin mappingApproach(java.lang.String value)
Set Mapper (one of 'Bowtie2', 'BWA', or 'bwaMem').
value - Mapper typepublic java.lang.String mappingApproach()
Get Mapper (one of 'Bowtie2', 'BWA', or 'bwaMem').
public TagData runPlugin(DataSet input)
Convenience method to run plugin with one return object.
public java.lang.String sAMInputFile()
Name of input file in SAM text format
public SAMToGBSdbPlugin sAMInputFile(java.lang.String value)
Set SAM Input File. Name of input file in SAM text format
value - SAM Input Filepublic java.lang.String gBSDBFile()
Name of output file (e.g. GBSv2.db)
public SAMToGBSdbPlugin gBSDBFile(java.lang.String value)
Set GBS DB File. Name of output file (e.g. GBSv2.db)
value - GBS DB Filepublic java.lang.Double minAlignProportion()
Minimum proportion of sequence that must align to store the SAM entry
public SAMToGBSdbPlugin minAlignProportion(java.lang.Double value)
Set SAM Min Align Proportion. Minimum proportion of sequence that must align to store the SAM entry
value - SAM Min Align Proportionpublic java.lang.Integer minAlignLength()
Minimum length of bps aligning to store the SAM entry
public SAMToGBSdbPlugin minAlignLength(java.lang.Integer value)
Set SAM Min Align Length. Minimum length of bps aligning to store the SAM entry
value - SAM Min Align Lengthpublic java.lang.Integer minMAPQ()
Minimum value of MAPQ to store the SAM entry
public SAMToGBSdbPlugin minMAPQ(java.lang.Integer value)
Set SAM minimum MAPQ value. Minimum value of MAPQ to store the SAM entry
value - SAM minimum MAPQ valuepublic java.lang.Boolean deleteOldData()
Delete exisiting Alignment data from DB
public SAMToGBSdbPlugin deleteOldData(java.lang.Boolean value)
Set Delete old data flag. True indicates we want the db tables cleared
value - true/false - whether to delete datapublic javax.swing.ImageIcon getIcon()
public java.lang.String getButtonName()
public java.lang.String getToolTipText()