Last change
on this file was
17364,
checked in by westram, 6 years ago
|
- updated example macros in ARBHOME/lib/macros
- fixed broken identifiers
- deleted useless ones (replamb+test)
- renamed rest (prefix demo__)
- added comments
|
-
Property svn:eol-style set to
native
-
Property svn:executable set to
*
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
901 bytes
|
Line | |
---|
1 | #!/usr/bin/perl -w |
---|
2 | use lib "$ENV{'ARBHOME'}/lib/"; |
---|
3 | use ARB; |
---|
4 | |
---|
5 | $gb_main = ARB::open(":","r"); |
---|
6 | if (! $gb_main ) { |
---|
7 | $error = ARB::await_error(); |
---|
8 | print ("Error: $error\n"); |
---|
9 | exit 0; |
---|
10 | } |
---|
11 | |
---|
12 | # example macro: |
---|
13 | # marks all species with 'name' starting with 'a' |
---|
14 | |
---|
15 | # recording resumed @ Wed Sep 12 13:57:56 2018 |
---|
16 | BIO::remote_action($gb_main,'ARB_NT','ARB_NT/SEARCH'); |
---|
17 | BIO::remote_awar($gb_main,'ARB_NT','tmp/dbquery_spec/ere','0'); |
---|
18 | BIO::remote_awar($gb_main,'ARB_NT','tmp/dbquery_spec/by','1'); |
---|
19 | BIO::remote_awar($gb_main,'ARB_NT','tmp/dbquery_spec/query_0','a*'); |
---|
20 | BIO::remote_awar($gb_main,'ARB_NT','tmp/dbquery_spec/key_0','name'); |
---|
21 | BIO::remote_action($gb_main,'ARB_NT','SPECIES_QUERY/SEARCH_spec'); |
---|
22 | BIO::remote_action($gb_main,'ARB_NT','SPECIES_QUERY/MARK_LISTED_UNMARK_REST'); |
---|
23 | BIO::remote_action($gb_main,'ARB_NT','SPECIES_QUERY/CLOSE'); |
---|
24 | # recording stopped @ Wed Sep 12 14:01:51 2018 |
---|
25 | ARB::close($gb_main); |
---|
Note: See
TracBrowser
for help on using the repository browser.