File: process.csh

package info (click to toggle)
blimps 3.9%2Bds-1
  • links: PTS, VCS
  • area: non-free
  • in suites: bookworm, bullseye, buster
  • size: 6,812 kB
  • sloc: ansic: 43,271; csh: 553; perl: 116; makefile: 99; cs: 27; cobol: 23
file content (24 lines) | stat: -rwxr-xr-x 639 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/csh
#	Block Processor script
#		process.csh <multiple alignment>
#		m.a. must be in FASTA, CLUSTAL, MSF or STOCKHOLM format

setenv BLIMPS_DIR ../..
set bin = $BLIMPS_DIR/bin

#	1. mablock carves ungapped regions in all sequences out of m.a.
#	   Set min and max width of blocks
#	   Creates files $1.blks and $1.seqs
set minwidth=10
set maxwidth=60
$bin/mablock $1 $1 B $minwidth $maxwidth

#	2. Calibrate blocks for searching with blimps program
./calibrate.csh $1.blks $1.cblks > /dev/null

#	3. Add sequence weights to calibrated blocks
$bin/blweight $1.cblks $1.wblks P M > /dev/null

echo "Final blocks are in $1.wblks"

exit