One can also create, edit and save their own custom Array Layouts using the <user-define> Array Layout. If you define other custom arrays, they can be saved and will appear in this pulldown menu for next time. User defined Array layouts are saved as a text file in a subdirectory called "ArrayLayout" under the name used in the Edit Layout menu with the extension ".alo". You may also remove array layouts using the "Remove Layout" button. It will popup a file dialog from which you can choose an Array Layout to delete. Downloading and installing newer versions of Cvt2Mae will not wipe out your custom defined array layouts.
Depending on your data, there may be several variations on how the data is configured. For example some array applications will save multiple files for each sample, while others will have multiple samples in one file. Sometimes the GIPO data is available as a separate GIPO file. Once the files have been selected go to step 3 below.
Click on the "Browse input file name" button to popup a file selection window. Then select the data file for conversion. The file name(s) will then appear in a text area below the "Browse input file name" button. Some arrays (e.g. Affymetrics) may have data for multiple samples in one file.
You can convert multiple files. Repeatedly select files with the "Browse input file name" button. Each time you select a file, it will appear in a list below the "Browse input file name" button. Some data will consist of multiple files such as a separate GIPO.
Often GIPO files supplied by array vendors have additional fields not currently used by MAExplorer. You can leave them in (they will be ignored) or take them out (loading a database is faster).
OPT_GRID_SIZE = 1200; /* Optimal grid size for MAExplorer viewing */ ROWS_TO_COLS_ASPECT_RATIO = 3.0/4.0; /* desired rows/cols aspect aspect for a grid */ extra = 0; /* # of extra grid cols required */ /* Estimate # of grids. Assume a square aspect ratio */ if(n <= OPT_GRID_SIZE) nGrids = 1; else nGrids = (n / OPT_GRID_SIZE)+1; /* Estimate rows (r) and columns (c) from a rectangular grid * where cols = (4/3) rows. * Then, c = (4/3)r and r*c= area. * Then (4/3)*r*r = area or * r = sqrt((3/4)*area). */ if(nRowsExpected > 0) while(true) { /* iterate to optimal size */ gridSize = n/nGrids; nGridRows = sqrt( ROWS_TO_COLS_ASPECT_RATIO * gridSize ); nGridCols = (nGridRows / ROWS_TO_COLS_ASPECT_RATIO); nGridCols += extra; estTotSize = (nGrids * nGridRows * nGridCols); if(estTotSize > nRowsExpected) break; else extra++; /* keep trying until meet criteria */ } /* iterate to optimal size */ |
grid grid col grid row RawIntensity Background 1 1 1 2226.8 32.6 1 1 2 1234.8 25.6 . . . 10 25 28 3333.8 23.6
grid grid col grid row RawIntensity1 Background1 RawIntensity2 Background2 1 1 1 2226.8 32.6 2345.9 39.4 1 1 2 1234.8 25.6 1245.9 39.4 . . . 10 25 28 3333.8 23.6 3345.9 25.4
field grid grid col grid row RawIntensity Background 1 1 1 1 2226.8 32.6 1 1 1 2 1234.8 25.6 . . . 1 10 25 28 3333.8 23.6 . . . 2 1 1 1 2226.8 39.4 2 1 1 2 1234.8 39.4 . . . 2 10 25 28 3333.8 25.4
NAME_GRC RawIntensity1 RawIntensity2 GRID- 1-R1C1 2126.500 3662.350 GRID- 1-R2C1 2311.430 3306.290 GRID- 1-R3C1 3696.470 5780.310 GRID- 1-R4C1 3167.450 5245.440 . . .
grid grid col grid row Cy3 Cy3Bkgd Cy5 Cy5Bkgd 1 1 1 2226.8 32.6 2345.9 39.4 1 1 2 1234.8 25.6 1245.9 39.4 . . . 10 25 28 3333.8 23.6 3345.9 25.4