Bio :: Graphics :: Browser :: Plugin

Een basisklasse voor GBrowse-plug-ins
Download nu

Bio :: Graphics :: Browser :: Plugin Rangschikking & Samenvatting

Advertentie

  • Rating:
  • Vergunning:
  • Perl Artistic License
  • Prijs:
  • FREE
  • Naam uitgever:
  • Lincoln D. Stein
  • Uitgever website:
  • http://search.cpan.org/~lds/

Bio :: Graphics :: Browser :: Plugin Tags


Bio :: Graphics :: Browser :: Plugin Beschrijving

Een basisklasse voor GBrowse-plug-ins Bio :: Graphics :: Browser :: Plugin is een PERL-module voor GBrowse Plug-ins.Synopsis Pakket Bio :: Graphics :: Browser :: Plugin: MyPlugel; Gebruik Bio :: Graphics :: Browser :: Plugin; Gebruik CGI ': standaard'; @Isa = 'Bio :: Graphics :: Browser :: Plugin'; # Geroepen door gbrowse om naam van plug-in te retourneren voor pop-upmenu Subnaam {'Voorbeeld plugin'} # genoemd door gbrowse om het beschrijvende werkwoord te retourneren voor pop-upmenu sub werkwoord {'demonstreer'} # Geroepen door gbrowse om de beschrijving van de subbeschrijving van plug-in te retourneren {'Dit is een voorbeeld Plug-in'} # Geroepen door Gbroese om het type plug-in-subtype {'annotator'} # # genoemd door Gbroese om standaardinstellingen voor plug-in-subconfiguratie te configureren. Retourneer {foo => $ VALUE1, bar => $ VALUE2}} # Geroepen door gbrowse om plug-in-instellingen opnieuw te configureren op basis van CGI-parameters subconfiguratie {My $ self = shift; mijn $ stroom = $ $-> configuratie; $ stroom -> {foo} = $ self-> config_param ('foo'); $ Huidig -> {bar} = $ self-> config_param ('bar'); } # Geroepen door Gbroese om een fragment te maken voor het wijzigen van instellingen Sub Configureer_form {My $ Self = Shift; mijn $ stroom = $ $-> configuratie; Mijn $ Form = Textfield (-naam => $ self-> config_name ('foo'), -value => $ stroom -> {foo}). Textfield (-naam => $ self-> config_name ('bar'), -value => $ stroom -> {bar}); retourneer $ vorm; } # Geroepen door Gbroese om het DNA te annoteren, het terugkerende functies sub Annotate {My $ Self = Shift; mijn ($ segment, $ coördinaat_mapper) = @_; mijn $ configuratie = $ $-> configuratie; mijn $ functie_list = $ self-> new_feature_list; $ Feature_list-> Add_Type ('My_Type' => {Glyph => 'Generic', Key => 'My Type', BGColor => 'Groen', Link => 'http://www.google.com/search? q = $ naam '}); # Doe iets met het sequentiesegment mijn @features = do_something (); $ functie_list-> add_feature ($ _ => 'my_type') foreach @features; return $ feature_list; } Dit is de basisklasse voor generieke genoombrowser-plug-ins. Plug-ins zijn perl .pm-bestanden die worden opgeslagen in de Directory Gbrowse.Conf / Plug-ins. Vereisten: · Perl


Bio :: Graphics :: Browser :: Plugin Gerelateerde software