source: branches/sina/SH/example_batch_probe_match.sh

Last change on this file was 19708, checked in by westram, 3 months ago
  • update doc+gui:
    • avoid terms "ARB_NT" (=former name of main arb window), "ARB_NTREE" and similar
      • instead talk about "ARB main window"
    • correct refs to 'ARB/Probes/PT_SERVER Admin'.
    • update 'What are marked species?'.
    • update protection level documentation (parts already done with previous commit).
  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 781 bytes
Line 
1#!/bin/bash
2#
3# This is an example script showing how to match multiple probes
4# with one call.
5#
6# Start a shell using 'ARB/Tools/Start XTERM' and run this
7# script from there.
8#
9# Before running this script, start the targeted PT_Server from
10# inside ARB - otherwise this script will not terminate for a long time.
11
12
13# specify your probe match parameters here:
14PARAMS='serverid=2 matchmismatches=1'
15
16# Note: Call 'arb_probe' from the command line to see other supported parameters.
17
18match() {
19        echo "Matching $1"
20        arb_probe $PARAMS matchsequence=$1
21}
22
23match_all() {
24        # add/modify lines below to suit your needs:
25        match CCTCAGTACGAA
26        match AACCGGTTAACC
27        match ACTGACTGGGCU
28        match ACCTGGACTTTT
29}
30
31match_all | sed -e 's/\x01/\x0a/g'
Note: See TracBrowser for help on using the repository browser.