public class GetTagSequenceFromDBPlugin
extends AbstractPlugin
This plugin queries a GBSv2 sql database for existing tags. If the user specifies a tag, and the tag is found, a tab-delimited file is written containing that tag sequence. If the tag is NOT found, a tab-delimited file is written that shows the tag and "not found". If no tag sequence is specified, the method will print out all tag sequences stored in the specified db. If input db not found, plugin throws an exception. If output directory doesn't exist, plugin throws an exception
public GetTagSequenceFromDBPlugin()
public GetTagSequenceFromDBPlugin(java.awt.Frame parentFrame)
public GetTagSequenceFromDBPlugin(java.awt.Frame parentFrame,
boolean isInteractive)
public void postProcessParameters()
public java.lang.String getToolTipText()
public javax.swing.ImageIcon getIcon()
public java.lang.String getButtonName()
public java.lang.String runPlugin(DataSet input)
Convenience method to run plugin with one return object.
public java.lang.String inputDB()
Input database file with tags and taxa distribution
public GetTagSequenceFromDBPlugin inputDB(java.lang.String value)
Set Input DB. Input database file with tags and taxa distribution
value - Input DBpublic java.lang.String outputFile()
Output tab-delimited file showing tag sequences found in DB.
public GetTagSequenceFromDBPlugin outputFile(java.lang.String value)
Set Output File. This is tab delimited file with a list of tag sequences found in the database (either a single tag if the user is checking for a particular tag's presence, or a list of all tags found in the db (if no user tag specified).
value - Output Filepublic java.lang.String tagSequence()
Tag sequence user would like to verify exists in DB.
public GetTagSequenceFromDBPlugin tagSequence(java.lang.String value)
Set User tag sequence. This is tag user wants to verify exists in DB.
value - value sequence