Differences between revisions 3 and 8 (spanning 5 versions)
Revision 3 as of 2018-11-12 13:40:09
Size: 15919
Editor: Hossein
Comment:
Revision 8 as of 2024-11-20 16:28:14
Size: 17169
Comment:
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
||<tablewidth="670px" tableheight="366px" tablestyle="border-collapse:collapse;border:medium none; " tableclass="MsoNormalTable"rowstyle="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-height-rule:exactly"width="102px" height="14.2pt" style="border:solid windowtext 1.0pt;mso-border-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;mso-height-rule:exactly;vertical-align:bottom">'''Starting Position ''' ||<width="331px" height="14.2pt" style="border:solid windowtext 1.0pt;border-left:none;mso-border-left-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;mso-height-rule:exactly;vertical-align:bottom">'''Field Description''' ||<width="94px" height="14.2pt" style="border:solid windowtext 1.0pt;border-left:none;mso-border-left-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;mso-height-rule:exactly;vertical-align:bottom">'''Format ''' ||<width="113px" height="14.2pt" style="border:solid windowtext 1.0pt;border-left:none;mso-border-left-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;mso-height-rule:exactly;vertical-align:bottom">'''Example ''' || ||<tablewidth="670px" tableheight="366px" tablestyle="border-collapse:collapse;border:medium none;    " tableclass="MsoNormalTable"rowstyle="mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-height-rule:exactly"width="102px" height="14.2pt" style="border:solid windowtext 1.0pt;mso-border-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;mso-height-rule:exactly;vertical-align:bottom">'''Starting Position ''' ||<width="331px" height="14.2pt" style="border:solid windowtext 1.0pt;border-left:none;mso-border-left-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;mso-height-rule:exactly;vertical-align:bottom">'''Field Description''' ||<width="94px" height="14.2pt" style="border:solid windowtext 1.0pt;border-left:none;mso-border-left-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;mso-height-rule:exactly;vertical-align:bottom">'''Format ''' ||<width="113px" height="14.2pt" style="border:solid windowtext 1.0pt;border-left:none;mso-border-left-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;mso-height-rule:exactly;vertical-align:bottom">'''Example ''' ||
Line 34: Line 34:
 . == File Format 708 XML ==
All files uploaded to IDEA !AnimInfo must be presented in an xml-format. A python-program converting the above described flat file format to the correct xml-format is available in the software-section of IDEA.
Line 36: Line 37:
The xml file format is made up by one section representing the '''animal''' section. The '''animal section''' consists of a sequence of "''a''" nodes (short for animal), each containing the header `id` to report the animal's AID and a subnode reporting:

 * The TYPE of information (i.e. BULL_AI_STATUS)
 * The BREED
 * The COUNTRY (for the country sending the information)
 * The AI_STATUS (i.e. if the bull semen is commercially availability, accepted values Y/N).

An example of the above description can be found below.

{{{
<interbull type="animinfo" version="1.0">
  <animals>
    <a id="BSWITAM003006216853"><BULL_AI_STATUS breed="BSW" country="ITA" ai_status="N" /></a>
    <a id="BSWITAM000074226306"><BULL_AI_STATUS breed="BSW" country="ITA" ai_status="N" /></a>
    <a id="BSWITAM000074300946"><BULL_AI_STATUS breed="BSW" country="ITA" ai_status="Y" /></a>
    <a id="BSWITAM000470210596"><BULL_AI_STATUS breed="BSW" country="ITA" ai_status="N" /></a>
  </animals>
</interbull>
}}}

ibc_logo.jpg

File Format 708

for Data Delivery to the Interbull Centre for the International Genomic Evaluation

FILE FOR AI STATUS

Starting Position

Field Description

Format

Example

1

Record type 1

integer 3

708

4

Country sending this information 2

character 3

AUS

7

Breed of evaluation 3

character 3

BSW

Animal international identification 4

11

Breed of animal 5

character 3

BSW

14

Country of first registration of animal 2

character 3

AUS

17

Sex

character 1

M

18

ID number of animal 6

character 12

000000A12345

31

Bull semen commercial availability (Y/N)

character 1

Y

  • 1 Record type is always 708 for this File Format
  • 2 ISO 3166-1 alpha-3 codes (3 characters, capital letters)
  • 3 Breed of evaluation (3 characters, capital letters, BSW, GUE, HOL, JER, RDC, SIM)
  • 4 Please see Interbull Bulletin 28.
  • 5 Breed of animal (3 characters, capital letters)
  • 6 Alpha-numerical, always 12 characters long

OBS: All character variables should be left adjusted, and all integer variables right adjusted.

File Format 708 XML

All files uploaded to IDEA AnimInfo must be presented in an xml-format. A python-program converting the above described flat file format to the correct xml-format is available in the software-section of IDEA.

The xml file format is made up by one section representing the animal section. The animal section consists of a sequence of "a" nodes (short for animal), each containing the header id to report the animal's AID and a subnode reporting:

  • The TYPE of information (i.e. BULL_AI_STATUS)
  • The BREED
  • The COUNTRY (for the country sending the information)
  • The AI_STATUS (i.e. if the bull semen is commercially availability, accepted values Y/N).

An example of the above description can be found below.

<interbull type="animinfo" version="1.0">
  <animals>
    <a id="BSWITAM003006216853"><BULL_AI_STATUS breed="BSW" country="ITA" ai_status="N" /></a>
    <a id="BSWITAM000074226306"><BULL_AI_STATUS breed="BSW" country="ITA" ai_status="N" /></a>
    <a id="BSWITAM000074300946"><BULL_AI_STATUS breed="BSW" country="ITA" ai_status="Y" /></a>
    <a id="BSWITAM000470210596"><BULL_AI_STATUS breed="BSW" country="ITA" ai_status="N" /></a>
  </animals>
</interbull>


public/InterGenom_file708 (last edited 2024-11-20 16:28:14 by KatarineHaugaard)