VPREDICT directive

VPREDICT

VPREDICT [pinflenme] [ !DEFINE ]

Processing of a .pin file is activated from within the .as file by including a VPREDICT directive. The VPREDICT line may appear anywhere in the .as file but it is recommended it be placed after the model line. It is recognised by the characters VPR in character positions 1:3 of a line. It is processed after the job (part/cycle) has finished. There are four forms of the VPREDICT directive.
  • If the .pin file exists and has the same name as the jobname (including any suffix appended by using !RENAME), just specify the VPREDICT directive.
  • If the .pin file exists but has a different name to the jobname, specify the VPREDICT directive with the .pin file name as its argument.
  • If the .pin file does not exist or must be reformed, a name argument for the file is optional but the !DEFINE qualifier should be set. Then the lines of the .pin file should follow on the next lines, terminated by a blank line.

    Example


     !WORK 100
     wwt weaning weight analysis of coopworth data
       tag
       sire   92           #   coded 1... 92
       dam  3561           # recoded 1... 3561
       grp    49           #   coded 1... 49
       sex  !L Male Female #   coded 1=Male, 2=Female
       brr  !L SinSin TwinSin TwinTwin Trip #   coded 1... 4
       litter 4871         #   coded 1... 4871
       age                 #   covariate
       wwt  !d0  ywt  !m0     gfw  !m0     fdm  !m0     fat  !m0
     ../wwt/coop.fmt !SUM !FCON !MAXIT 3
     wwt ~ mu age brr sex sex.age !r sire dam litter !f grp
    
     # sire                     92     92  0.663202E-01  0.645898       3.67   0 P
     # dam                    3561   3561  0.223949       2.18106       6.37   5 P
     # litter                 4871   4871  0.402289       3.91792       9.20   6 P
     # Variance               7030   6975   1.00000       9.73907      32.99   0 P
     VPREDICT !DEFINE
     F Total 1 + 2 + 3 + 4
     F Direct 1*4.
     H heritability 6 5
    
    
    In this example, the relevant lines of the .asr file have been pasted into the .as file just to confirm the order of terms. ASReml will usually reorder the random terms from that specified in the model to an order of increasing size as a processing efficiency strategy. It is important to check the VPREDICT commands match the actual order ASReml uses.

    Return to start