Bio-Prospect
view release on metacpan or search on metacpan
Bio/Prospect/Thread.pm view on Meta::CPAN
);
## generate the alignment and echo it in the RasMol window
my $alignment = $self->alignment();
chomp($alignment);
$alignment =~ s/^.*$/echo '$&'/gm;
$stringio->print("echo 'Alignment:'\n",
$alignment, "\n");
## color the identities, similarities, mismatches
## simultaneously selects/colors and echos the legend
$stringio->print("load pdb inline\n", # must load before selecting
"echo \n",
"echo 'Legend:'\n",
"echo ' set names in quotes may be used with select'\n");
my @select_me;
if ( @select_me = $self->get_identities() ) {
my @deco = ('cartoons','color blue');
$stringio->print( $self->_format_select( @select_me ),
"define identities selected\n",
map { "$_\n" } 'wireframe off',@deco );
( run in 1.276 second using v1.01-cache-2.11-cpan-49f99fa48dc )