BIO :: ±×·¡ÇÈ :: ºê¶ó¿ìÀú :: Ç÷¯±×ÀÎGBROWSE Ç÷¯±×ÀÎÀÇ ±âº» Ŭ·¡½º | |
Áö±Ý ´Ù¿î·Îµå |
BIO :: ±×·¡ÇÈ :: ºê¶ó¿ìÀú :: Ç÷¯±×ÀÎ ¼øÀ§ ¹× ¿ä¾à
±¤°í
- ƯÇã:
- Perl Artistic License
- °¡°Ý:
- FREE
- °Ô½ÃÀÚ À̸§:
- Lincoln D. Stein
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~lds/
BIO :: ±×·¡ÇÈ :: ºê¶ó¿ìÀú :: Ç÷¯±×ÀΠű×
BIO :: ±×·¡ÇÈ :: ºê¶ó¿ìÀú :: Ç÷¯±×ÀÎ ¼³¸í
GBrowse Ç÷¯±×ÀÎÀ»À§ÇÑ ±âº» Ŭ·¡½ºÀÔ´Ï´Ù BIO :: Graphics :: Browser :: PluginÀº GBROWSE PLUGINS ¿ë PERL ¸ðµâÀÔ´Ï´Ù. ½Ä ³ëÇÁ ÆÐÅ°Áö BIO :: Graphics :: Browser :: Plugin :: MyPlugin; bio :: graphics :: ºê¶ó¿ìÀú :: Ç÷¯±×ÀÎ; CGI ': Standard'¸¦ »ç¿ëÇϽʽÿÀ. @isa = 'bio :: graphics :: ºê¶ó¿ìÀú :: Ç÷¯±×ÀÎ'; # GBROWSEÀÇ Æ˾÷ ¸Þ´º ¼ºê À̸§ { '¿¹Á¦ Ç÷¯±×ÀÎ'} # Æ˾÷ ¸Þ´º¿¡ ´ëÇÑ ¼³¸í µ¿»ç¸¦ ¹ÝȯÇÏ·Á¸é GBROWSE¿¡ ÀÇÇØ È£Ãâ µÈ GBROWSE¿¡ ´ëÇÑ ¼³¸í µ¿»çÀÇ ¼³¸í µ¿»çÀÇ ¼³¸í { 'ÀÌ°ÍÀº Plugin ÇÏÀ§ À¯Çü {'annotator '} #¿¡ È£Ãâ µÈ GBROWSEÀÇ ¿¹Á¦ Ç÷¯±×ÀÎ'} #ÀÔ´Ï´Ù. Ç÷¯±×ÀÎ SUB CONFIG_DEFAULTSÀÇ ±âº» ¼³Á¤À» ±¸¼ºÇÏ·Á¸é PLUGIN SUB CONFIG_DEFAULTS {MY $ Self = Shift; return {foo => $ value1, bar => $ value2}} # GBROWSE¿¡ ÀÇÇØ È£Ãâ CGI ¸Å°³ º¯¼ö¸¦ ±â¹ÝÀ¸·Î Ç÷¯±×ÀÎ ¼³Á¤À» À籸¼ºÇÕ´Ï´Ù. ÇÏÀ§ À籸¼º {MY $ self = shift; ³» $ ÇöÀç = $ self-> ±¸¼º; $ ÇöÀç -> {foo} = $ self-> config_param ( 'foo'); $ ÇöÀç -> {bar} = $ self-> config_param ( 'bar'); } # GBROWSE°¡ ¼³Á¤À» º¯°æÇϱâÀ§ÇÑ Á¶°¢À» ¸¸µì´Ï´Ù SUB COMPUTION_FORM {MY $ Self = Shift; ³» $ ÇöÀç = $ self-> ±¸¼º; $ Form = TextField (-name => $ self-> config_name ( 'foo'), -value => $ current -> {foo}). textField (-name => $ self-> config_name ( 'bar'), -value => $ current -> {bar}); $ ¾ç½ÄÀ» µ¹·ÁÁÝ´Ï´Ù. } # GBROWSE¿¡ ÀÇÇØ È£Ã⠵ǷÁ¸é DNA¸¦ ÁÖ¼®À» ´Þ±â, ±â´É ÇÏÀ§ ÁÖ¼® {³» $ self = shift; ³» ($ segment, $ coordinate_mapper) = @_; $ config = $ self-> ±¸¼º; ³» $ feature_list = $ self-> new_feature_list; $ feater_list-> add_type ( 'my_type'=> {glyph => 'generic', key => 'my type', bgcolor => green ', link => http:///www.google.com/search? q = $ name '}); # ½ÃÄö½º ¼¼±×¸ÕÆ®·Î ¹º°¡¸¦ÇϽʽÿÀ @features = do_something (); $ feature_list-> add_feature ($ _ => 'my_type') foreach @ features; $ feature_list¸¦ ¹ÝȯÇÕ´Ï´Ù. } ÀÌ°ÍÀº ÀϹÝÀûÀÎ °Ô³ð ºê¶ó¿ìÀú Ç÷¯±×ÀÎÀÇ ±âº» Ŭ·¡½ºÀÔ´Ï´Ù. Ç÷¯±×ÀÎÀº GBROWSE.CONF / Plugins µð·ºÅ丮¿¡ ÀúÀåµÈ PERL .PM ÆÄÀÏÀÔ´Ï´Ù. ¿ä±¸ »çÇ× : ¡¤ Perl.
BIO :: ±×·¡ÇÈ :: ºê¶ó¿ìÀú :: Ç÷¯±×ÀÎ °ü·Ã ¼ÒÇÁÆ®¿þ¾î