Ace::Object

Ace::Object is a Perl module to manipulate Ace Data Objects.
Download

Ace::Object Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Lincoln Stein
  • Publisher web site:
  • http://search.cpan.org/~lds/Crypt-CBC-2.29/CBC.pm

Ace::Object Tags


Ace::Object Description

Ace::Object is a Perl module to manipulate Ace Data Objects. Ace::Object is a Perl module to manipulate Ace Data Objects.SYNOPSIS # open database connection and get an object use Ace; $db = Ace->connect(-host => 'beta.crbm.cnrs-mop.fr', -port => 20000100); $sequence = $db->fetch(Sequence => 'D12345'); # Inspect the object $r = $sequence->at('Visible.Overlap_Right'); @row = $sequence->row; @col = $sequence->col; @tags = $sequence->tags; # Explore object substructure @more_tags = $sequence->at('Visible')->tags; @col = $sequence->at("Visible.$more_tags")->col; # Follow a pointer into database $r = $sequence->at('Visible.Overlap_Right')->fetch; $next = $r->at('Visible.Overlap_left')->fetch; # Classy way to do the same thing $r = $sequence->Overlap_right; $next = $sequence->Overlap_left; # Pretty-print object print $sequence->asString; print $sequence->asTabs; print $sequence->asHTML; # Update object $sequence->replace('Visible.Overlap_Right',$r,'M55555'); $sequence->add('Visible.Homology','GR91198'); $sequence->delete('Source.Clone','MBR122'); $sequence->commit(); # Rollback changes $sequence->rollback() # Get errors print $sequence->error;Ace::Object is the base class for objects returned from ACEDB databases. Currently there is only one type of Ace::Object, but this may change in the future to support more interesting object-specific behaviors.Using the Ace::Object interface, you can explore the internal structure of an Ace::Object, retrieve its content, and convert it into various types of text representation. You can also fetch a representation of any object as a GIF image.If you have write access to the databases, add new data to an object, replace existing data, or kill it entirely. You can also create a new object de novo and write it into the database. Requirements: · Perl


Ace::Object Related Software