METAL SOURCE

From Genome Analysis Wiki
Jump to navigationJump to search

The SOURCE command allows one script to include another script. This can be convenient when you want to try multiple analyses that include similar filesets. For example, if the scripts PROCESS-FEMALES.txt and PROCESS-MALES.txt loaded sex specific result sets, you could use the following script to carry out three meta-analyses:

         # Carry out a males only meta-analysis
         SOURCE PROCESS-MALES.txt
         ANALYZE
         OUT META-MALES .TBL
         CLEAR
         # Carry out a females only meta-analysis
         SOURCE PROCESS-FEMALES.txt
         OUT META-FEMALES .TBL
         ANALYZE
         CLEAR
         # Carry out a combined meta-analysis
         SOURCE PROCESS-MALES.txt
         SOURCE PROCESS-FEMALES.txt
         OUT META-ALL .TBL
         ANALYZE
         CLEAR