Name |
Type |
Description |
genotyping_comparison |
externaltool |
|
clustering |
externaltool |
|
app_dir |
stringconstant |
Value/gne/research/apps/gcell/prd/arch-indep/bin |
Ask_Beanscript_Edited |
localworker |
Scriptimport javax.swing.JOptionPane;
String title = "Input Values";
String message = "Type in your input values:\n"+
"COMMA delimited list with NO spaces in between\n"+
"commas. Spaces in cNames are ok.\n"+
"New plate ex: 1\n"+
"Existing plate(s) ex: 1,3,28\n"+
"cName(s) ex: MCF-1,MCF 10A\n"+
"CLID(s) ex: CL12345,CL65432,CL57890\n"+
"Biospecimen ID(s) ex: BIO12345,BIO65432\n"+
"All: leave the input value BLANK and press \"ok\"";
answer = JOptionPane.showInputDialog(null, (message == void ? null : message), (title == void ? null : title), JOptionPane.QUESTION_MESSAGE);
|
Choose |
localworker |
Scriptimport javax.swing.BoxLayout;
import javax.swing.ButtonGroup;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JRadioButton;
if ((selectionValues == void) || (selectionValues == null) || (selectionValues.isEmpty())) {
throw new RuntimeException("selectionValues must be specified and non-empty");
}
ButtonGroup group = new ButtonGroup();
JPanel messagePanel = new JPanel();
messagePanel.setLayout(new BoxLayout(messagePanel,BoxLayout.Y_AXIS));
messagePanel.add(new JLabel((message == void ? null : message)));
JRadioButton[] buttonArray = new JRadioButton[selectionValues.size()];
for (int i = 0; i < buttonArray.length; i++) {
buttonArray[i] = new JRadioButton(selectionValues.get(i));
if (i==0) buttonArray[i].setSelected(true);
group.add(buttonArray[i]);
messagePanel.add(buttonArray[i]);
}
JOptionPane.showOptionDialog(null, messagePanel, (title == void ? null : title),
JOptionPane.YES_NO_CANCEL_OPTION, JOptionPane.QUESTION_MESSAGE, null, new Object[]{"OK"}, null);
String answer="";
for (JRadioButton button : buttonArray) {
if (button.isSelected()) {
answer=button.getText();
}
}
|
Split_string_into_string_list_by_regular_expression |
localworker |
ScriptList split = new ArrayList();
if (!string.equals("")) {
String regexString = ",";
if (regex != void) {
regexString = regex;
}
String[] result = string.split(regexString);
for (int i = 0; i < result.length; i++) {
split.add(result[i]);
}
}
|
regex_value |
stringconstant |
Value, |
string_value |
stringconstant |
ValueNew plate (and load to database), New plate (don't load to database),Existing plate(s),cName(s),Biospecimen ID(s),CLID(s),All past plates |
message_value_1 |
stringconstant |
ValueChoose an analysis type: |
title_value_1 |
stringconstant |
ValueAnalysis Selection |
Beanshell |
beanshell |
Scriptarg2 = "n";
if (type.equals("New plate (and load to database)")) {
arg = "p";
arg2 = "y";
} else if ( type.equals("New plate (don't load to database)")) {
arg = "p";
arg2 = "n";
} else if (type.equals("Existing plate(s)")) {
arg = "e";
} else if (type.equals("cName(s)")) {
arg = "n";
} else if (type.equals("Biospecimen ID(s)")) {
arg = "b";
} else if (type.equals("CLID(s)")) {
arg = "c";
} else if (type.equals("All past plates")) {
arg = "a";
} else {
arg = "p";
} |
Tell |
localworker |
Scriptimport javax.swing.JOptionPane;
JOptionPane.showMessageDialog(null, (message == void ? null : message), (title == void ? null : title), JOptionPane.INFORMATION_MESSAGE);
answer = "answer";
|
message_value_2 |
stringconstant |
ValueHeatmap script has finished |
Tell_2 |
localworker |
Scriptimport javax.swing.JOptionPane;
JOptionPane.showMessageDialog(null, (message == void ? null : message), (title == void ? null : title), JOptionPane.INFORMATION_MESSAGE);
answer = "answer";
|
message_value_3 |
stringconstant |
ValueGenotyping Comparision Script has finished |
tmp_dir |
stringconstant |
Value/gne/research/tmp/ |
Edit_Input |
beanshell |
Scriptif (analysis_type.equals("cName(s)")) {
answer_edited = answer.replace(' ', '_');
} else {
answer_edited = answer.replace(" ", "");
}
|
Comments (0)
No comments yet
Log in to make a comment