public class Metadata extends Plugin
Modifier and Type | Field and Description |
---|---|
protected boolean |
interactive |
Constructor and Description |
---|
Metadata()
Constructor for Metadata.
|
Modifier and Type | Method and Description |
---|---|
protected ReturnValue |
addExperiment() |
protected ReturnValue |
addFile() |
protected ReturnValue |
addIUS() |
protected ReturnValue |
addLane() |
protected ReturnValue |
addSample() |
protected ReturnValue |
addSequencerRun() |
protected ReturnValue |
addStudy() |
protected ReturnValue |
addWorkflow() |
protected ReturnValue |
addWorkflowRun() |
boolean |
checkFields(String[] fs) |
ReturnValue |
clean_up()
Perform post-task clean-up here.
|
protected void |
closeBufferWriter() |
ReturnValue |
do_run()
Performs the main tasks for the plugin.
|
ReturnValue |
do_test()
Perform any active system testing here.
|
protected boolean |
fieldsConfirmed(String[] necessaryFields) |
static FileMetadata |
fileString2FileMetadata(String fileString) |
String |
get_description()
Generates a short description of the plugin, preferably one line.
|
ReturnValue |
init()
Plugin initialization code goes here.
|
protected ReturnValue |
listFields(String table)
list the fields available to set
|
protected ReturnValue |
parseFields() |
protected ReturnValue |
parseFiles() |
protected int[] |
parseParentAccessions() |
void |
print(String string)
print.
|
protected Boolean |
promptBoolean(String string,
Boolean deflt) |
protected void |
promptForExperiment(String[] necessaryFields) |
protected void |
promptForFields(String[] fs) |
protected void |
promptForIUS(String[] necessaryFields) |
protected void |
promptForLane(String[] necessaryFields) |
protected void |
promptForSample(String[] necessaryFields) |
protected void |
promptForSequencerRun(String[] necessaryFields) |
protected void |
promptForStudy(String[] necessaryFields) |
protected Integer |
promptInteger(String string,
Integer deflt) |
protected String |
promptString(String string,
String deflt) |
get_syntax, parse_parameters, println, setConfig, setMetadata, setParams
public ReturnValue init()
public ReturnValue do_test()
public ReturnValue do_run()
protected ReturnValue listFields(String table)
table
- protected ReturnValue addWorkflow()
protected ReturnValue addWorkflowRun()
protected ReturnValue addFile()
protected ReturnValue addStudy()
protected ReturnValue addExperiment()
protected ReturnValue addSample()
protected ReturnValue addSequencerRun()
protected ReturnValue addLane()
protected ReturnValue addIUS()
protected ReturnValue parseFields()
protected ReturnValue parseFiles()
protected int[] parseParentAccessions()
public ReturnValue clean_up()
public String get_description()
get_description
in interface PluginInterface
get_description
in class Plugin
protected void closeBufferWriter()
public boolean checkFields(String[] fs)
protected void promptForStudy(String[] necessaryFields)
protected void promptForSample(String[] necessaryFields)
protected void promptForSequencerRun(String[] necessaryFields)
protected void promptForExperiment(String[] necessaryFields)
protected void promptForLane(String[] necessaryFields)
protected void promptForIUS(String[] necessaryFields)
protected void promptForFields(String[] fs)
protected boolean fieldsConfirmed(String[] necessaryFields)
public static FileMetadata fileString2FileMetadata(String fileString)
Copyright © 2015 SeqWare. All rights reserved.