Re: Two trait animal model

From: Rami Sawalha <rami_at_BIGRED.UNL.EDU>
Date: Tue, 14 Dec 2004 13:16:57 -0600

Dear Alberto;

Thank you for the reply and the suggestions. It seems that when the factors
are specified for particular traits as I did, the data will not be read
properly. I tried to define the number of levels for each factor but I still
run into the same problem. The error massage I get is shown below:

Invalid definition for model term at(Trait,1)

         1 is outside [0, 2]

 Fault 0 Error reading model factor list

  Last line read was: MS1 MS2 Trait at(Trait,1).YR1 at(Trait,2).YR2 !r
Tr.ANM

  Currently defined structures, COLS and LEVELS

   1 ANM 1 1551 1551 0 0 0

   2 SIRE 1 206 206 0 1 0

   3 DAM 1 683 683 0 2 0

   4 YR1 1 11 11 0 3 0

   5 YR2 1 11 11 0 4 0

   6 MS1 1 1 1 0 5 0

   7 MS2 1 1 1 0 6 0

   8 Trait 0 2 -8 0 -1 0

   9 at(Trait,1) 0 1 -15 0 0 1

Are there other qualifiers that I am missing.

Thanks to all.

Rami Sawalha

Ph.D. University of Nebraska-Lincoln

----- Original Message -----
From: "Alberto Menendez" <menendez_at_antilles.inra.fr>
To: "Rami Sawalha" <rami_at_bigred.unl.edu>
Sent: Tuesday, December 14, 2004 12:27 PM
Subject: Re: Two trait animal model

> Dear Rami:
> I use a lot the ASREML and I think that your problem is related to the
> fact that you dont declare the numbers of levels in YR1 and YR2 ( I think
> that is year).
> I had made some arrangements to your instruction. let me know if is OK .
> alberto
>
>
>
>>The as program that I am trying to run is:
>>
>>
>>
>>Two trt MS 02 1 and 2
>> ANM !P
>> SIRE !I
>> DAM !I
>> YR1 10 !I # is an example tosaid 10 level.
>> YR2 9 !I
>> MS1
>> MS2
>>02_1_2.TXT !MAKE !REPEAT
>>02_1_2.TXT !MVINCLUDE !REPORT !MAXIT 1000
>>MS1 MS2 ~ Trait at(Tr,1).YR1 at(Tr,2).YR2 !r Tr.ANM
>>1 2 1
>>0 0 0
> Trait 0 US
>>.02
>> .02 .03
>
>
>>Tr.ANM 2
>>2 0 US !+3
>>.01
>> .01 .04
>>ANM 0 AINV
>>
>>
>>
>>
>>
>>And the asr message I get is:
>>
>> <?xml:namespace prefix = st1 ns =
>> "urn:schemas-microsoft-com:office:smarttags" />Reading pedigree file
>> 02_1_2.TXT : skipping 0 lines
>>
>> PEDIGREE [02_1_2.TXT ] has 1551 identities, 4558 Non zero
>> elements
>>
>> QUALIFIERS: !MVINCLUDE
>>
>> Reading 02_1_2.TXT FREE FORMAT skipping 0 lines
>>
>> Invalid definition for model term at(Tr,1)
>>
>> 1 is outside [0, 2]
>>
>> Fault 0 Error reading model factor list
>>
>> Last line read was: MS1 MS2 Trait at(Tr,1).YR1 at(Tr,2).YR2 !r
>> Tr.ANM
>>
>>
>>
>>
>>
>>Any Clue ... Thanks
>>
>>Rami Sawalha
>>
>>Ph.D. University of Nebraska-Lincoln
>>
>>
>
> Alberto Menendez Buxadera
> INRA Unité de Recherches Zootechniques
> Domaine Duclos, Prise d'Eau
> 97170 Petit Bourg, Guadeloupe (FWI)
> Tel 590 - 590 25 59 00
> Fax 590 - 590 25 59 36
Received on Tue Dec 14 2004 - 13:16:57 EST

This webpage is part of the ASReml-l discussion list archives 2004-2010. More information on ASReml can be found at the VSN website. This discussion list is now deprecated - please use the VSN forum for discussion on ASReml. (These online archives were generated using the hypermail package.)