Using batch creator script
This is a tutorial for the Batch Creator Script which makes annotating and creating batch files for microarray data much faster.
How the script works
You have 3 files total. One is called a template, one the data file, and the final is the completed batch file. The template file contains any information that shows up in every row of the final batch file, and the data file contains information that will be unique to each final batch file. When you run the script the template and data file will be consolidated (with priority given to the data file), thereby creating the final batch file. If you want to learn more about each file and what they should contain, scroll to the bottom if this tutorial.
**Note: All of these files are .txt files. If you create your data file in excel be sure to save it as a tab-delimited text file.
How to execute the script
Where to find the script
Tetramer: ul/SMD/Batchcreator/
What to type in the command line
More Information about each type of file
Template file
The template file contains only 2 rows. The first is the headings for each column (from "Result_Set_Name" to "PROBE_SET_ALGORITHM"). The second row will contain any "template" information. The second row should have data in any column that includes information that will never change for that template type. If you have multiple array types that you are loading you can make different templates.
- An example of this is the "Experimenter" column.
- The name of the experimenter will be the same for every row in the final batch column. You only need to write the name of the experimenter in second row even if the final batch file will contain more than 2 rows.
Rows included in my template for ASv2 arrays:
| Column | Heading Name | Template Value |
|---|---|---|
|
D |
Print Name |
Affymetrix Ecoli_ASv2 |
|
H |
Exp File Location |
affy2_generic.EXP |
|
K |
SINGLE SCAN FILE LOCATION |
noimage.DAT |
|
N |
Normalization Type |
Computed |
|
P |
Experimenter |
DSIEGELE |
|
T |
Individual User |
DSIEGELE |
|
U |
PROBE_SET_ALGORITHM |
Affymetrix MAS 5 |
| edit table |
Data File
The data file will contain any information that changes from batch file to batch file. This file will contain as many rows as needed, but the first row will always contain the headings (Result_Set_Name" to "PROBE_SET_ALGORITHM").
NOTE: Priority is given to any information found in the data file than in the template file. Any information you put in the column of data file that also has information in the same column of the template file will have priority.
Columns you need to fill in:
- Column E - Experiment Category
- Column F - Experiment SubCategory
- Column G - Slide Name
- Column Q - Experiment Date
- Column R - Experiment Description