source: branches/help/SH/example_batch_probe_match.sh

Last change on this file was 6387, checked in by westram, 15 years ago
  • spelling
  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 787 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_NTREE/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.