File: codehop.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 (40 lines) | stat: -rwxr-xr-x 784 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/bin/csh
#      codehop.csh <blocks> <out>
#
#  Make codehops from a set of blocks
#
unalias rm
unalias mv
#echo "codehop.csh"
#echo $1
#echo $2
#echo $3
#
#
setenv BLIMPS_DIR ../..
set bin = $BLIMPS_DIR/bin
#	See coduse.csh to create the codon usage files
set docs = $BLIMPS_DIR/docs
#
#	Type "$bin/codehop" to see parameter options
if ( -e $1 ) then
#	These are the WWW defaults
#  $bin/codehop $1 -O3 >& $2
#	Use an alternative codon usage file
   $bin/codehop $1 -C$docs/arab.codon.use -O3 >& $2
#	Use most common codons (many people prefer this option)
#  $bin/codehop $1 -O3 -M >& $2
#  
else
   echo "Cannot open blocks file $1."
endif
#

set files = (distribution/*.*)
foreach file ($files)
	set test = $file:t
echo "Checking $test..."
	diff $test $file
echo ""
end
exit(0)