#!/usr/bin/perl -w use lib "$ENV{'ARBHOME'}/lib/"; use ARB; $gb_main = ARB::open(":","r"); if (! $gb_main ) { $error = ARB::await_error(); print ("Error: $error\n"); exit 0; } # example macro: # marks all species with 'name' starting with 'a' # recording resumed @ Wed Sep 12 13:57:56 2018 BIO::remote_action($gb_main,'ARB_NT','ARB_NT/SEARCH'); BIO::remote_awar($gb_main,'ARB_NT','tmp/dbquery_spec/ere','0'); BIO::remote_awar($gb_main,'ARB_NT','tmp/dbquery_spec/by','1'); BIO::remote_awar($gb_main,'ARB_NT','tmp/dbquery_spec/query_0','a*'); BIO::remote_awar($gb_main,'ARB_NT','tmp/dbquery_spec/key_0','name'); BIO::remote_action($gb_main,'ARB_NT','SPECIES_QUERY/SEARCH_spec'); BIO::remote_action($gb_main,'ARB_NT','SPECIES_QUERY/MARK_LISTED_UNMARK_REST'); BIO::remote_action($gb_main,'ARB_NT','SPECIES_QUERY/CLOSE'); # recording stopped @ Wed Sep 12 14:01:51 2018 ARB::close($gb_main);