#!/usr/bin/perl
use strict;
use warnings;

use lib "$ENV{'ARBHOME'}/lib/";
use ARB;

my $gb_main = ARB::open(":","r");
if (not $gb_main) {
  my $error = ARB::await_error();
  die "$error";
}

# recording started @ Sun Oct  6 13:14:47 2019
BIO::remote_action($gb_main,'ARB_NT','pt_server_admin');
BIO::remote_awar($gb_main,'ARB_NT','tmp/probe_admin/pt_server','10');
BIO::remote_action($gb_main,'ARB_NT','PT_SERVER_ADMIN/UPDATE_SERVER');
BIO::remote_action($gb_main,'ARB_NT','PT_SERVER_ADMIN/CLOSE');
BIO::remote_action($gb_main,'ARB_NT','ARB_NT/SEARCH');
BIO::remote_action($gb_main,'ARB_NT','SPECIES_QUERY/SEARCH_spec');

BIO::remote_action($gb_main,'ARB_NT','spec_search_next_relativ_of_listed');
BIO::remote_action($gb_main,'ARB_NT','SEARCH_NEXT_NEIGHBOURS_OF_LISTED/SAVELOAD_CONFIG');
BIO::remote_action($gb_main,'ARB_NT','SEARCH_NEXT_NEIGHBOURS_OF_LISTED_config/RESET');
BIO::remote_action($gb_main,'ARB_NT','SEARCH_NEXT_NEIGHBOURS_OF_LISTED_config/CLOSE');
BIO::remote_action($gb_main,'ARB_NT','SEARCH_NEXT_NEIGHBOURS_OF_LISTED/select_next_neighbours_listed_dest_field');
BIO::remote_awar($gb_main,'ARB_NT','next_neighbours/listed/dest_field','rel1');
BIO::remote_action($gb_main,'ARB_NT','SEARCH_NEXT_NEIGHBOURS_OF_LISTED/CURR_PT_SERVER');
BIO::remote_awar($gb_main,'ARB_NT','tmp/probe_admin/pt_server','10');
BIO::remote_action($gb_main,'ARB_NT','SEARCH_NEXT_NEIGHBOURS_OF_LISTED/WRITE_FIELDS');

BIO::remote_action($gb_main,'ARB_NT','SPECIES_QUERY/select_tmp_dbquery_spec_key_0');
BIO::remote_awar($gb_main,'ARB_NT','tmp/dbquery_spec/key_0','rel1');
BIO::remote_awar($gb_main,'ARB_NT','tmp/dbquery_spec/query_0','*;*');
BIO::remote_action($gb_main,'ARB_NT','SPECIES_QUERY/SEARCH_spec');
# BIO::remote_action($gb_main,'ARB_NT','macros');
# recording stopped @ Sun Oct  6 13:16:35 2019
# recording resumed @ Sun Oct  6 13:26:45 2019
BIO::remote_action($gb_main,'ARB_NT','SELECT_PT_SERVER/CLOSE');
BIO::remote_action($gb_main,'ARB_NT','SEARCH_NEXT_NEIGHBOURS_OF_LISTED/select_next_neighbours_listed_dest_field');
BIO::remote_action($gb_main,'ARB_NT','SELECT_FIELD/CLOSE');
# recording stopped @ Sun Oct  6 13:26:59 2019
ARB::close($gb_main);
