樂高模組化圖形應用於親屬關係之標示

李世昌 黃鈺嘉 吳明哲 張秀鑾

行政院農業委員會畜產試驗所

動物親屬關係之文字敘述表達困難,儲存個別的親屬關係圖時又需龐大的儲存空間或資料運算時間,為使親屬關係更簡易表達、快速讀取及網際網路化,本研究把兩代關係(雄─父,雌─父,雄─母,雌─母等四種)、三代關係(雄─祖父,雄─祖母,雄─外祖父,雄─外祖母,雌─祖父,雌─祖母,雌─外祖父,雌─外祖母等八種)、以及四代關係(雄─曾祖父,雄─曾祖母,雄─曾外祖父,雄─曾外祖母,雄─外曾祖父,雄─外曾祖母,雄─外曾外祖父,雄─外曾外祖母,雌─曾祖父,雌─曾祖母,雌─曾外祖父,雌─曾外祖母,雌─外曾祖父,雌─外曾祖母,雌─外曾外祖父,雌─外曾外祖母等十六種),以樂高模組化圖形檔來表達個體與祖先的關係。應用方形圖表示雄性個體,圓形圖表示雌性個體。被查詢的兩個體以藍色圖形標示,其餘親屬個體標以綠色圖形。每個模組化圖形檔約為 1 K (1024位元組)大小。樂高模組化之親屬關係圖等28個圖形檔,目前已應用在畜產種原資訊網 www.angrin.tlri.gov.tw 的登錄種豬系譜查詢系統。網路網頁呈現種豬基本資訊外,藉助本研究模組化圖形的排序與堆疊,改善了系譜資訊表達的視覺效果。

關鍵語:樂高模組、系譜、網際網路

 

GRAPHIC LEGO MODULES APPLIED IN RELATIONSHIP
BETWEEN RELATIVES

S. C. Lee, Y. C. Huang, M. C. Wu and H. L. Chang

Taiwan Livestock Research Institute, Council of Agriculture

Relative relationship described in words is not easy but also tedious in animal population, which requires identification of all relationship graphics among individuals involved and thus huge memory for storage and tremendous time are needed for graphic computation. In this study, male (M) and female (F) animals were represented in square and circle, respectively, in the graphic Lego modules. Graphic Lego modules used to represent parentage of M and F to its parents were M-Sire, M-Dam, F-Sire and F-Dam four modules. Following the rules for presentation, eight modules (M-SS, M-SD, M-DS, M-DD, F-SS, F-SD, F-DS and F-DD) were involved with SS and SD standing for grandsire and grandam of sire, respectively when three generations considered. Therefore, sixteen modules, M-SSS, M-SSD, M-SDS, M-SDD, M-DSS, M-DSD, M-DDS, M-DDD, F-SSS, F-SSD, F-SDS, F-SDD, F-DSS, F-DSD, F-DDS and F-DDD, were used in parentage identification involving four generations. The application of graphic Lego pedigree chart was not only useful in transition of web information but also had benefits on easy reading and display in the Internet. Two inquired individuals were highlighted in blue color along with other relatives in green ones. In general, each Lego file of 28 pedigree Legos accounts for 1 Kb (1024 bytes) of storage size. The graphic Lego modules is currently applied to pedigree inquiring system of registered stocks for Formosa pigs which can be accessed in internet (http://www.angrin.tlri.gov.tw). On the web page, the browser presents the lineage data of the inquired pig with the corresponding graphic Lego modules in pedigree order. In addition, the visualization efficacy of pedigree inquiry can be significantly improved by Lego modules’ stacking and sorting functions.

Key Words: Lego modules, Pedigree, Internet.