ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/gclib/scripts/gmap2seq
Revision: 24
Committed: Tue Jul 26 21:46:39 2011 UTC (13 years, 1 month ago) by gpertea
File size: 340 byte(s)
Log Message:
Line File contents
1 #!/bin/tcsh -f
2
3 set prog = 'gmap'
4 if ( $0 =~ *pmap2seq ) then
5 set prog = 'pmap'
6 endif
7
8 if ($2'x' == 'x') then
9 echo "Usage: \n $0 qryseq(s).fasta genomicseq.fasta"
10 exit 1
11 endif
12
13 set fqry=$1
14 shift
15 set fgenomic=$1
16 shift
17 if (-f $fqry && -f $fgenomic) then
18 $prog -g $fgenomic -f2 $* $fqry
19 else
20 echo "$fqry or $fgenomic not found!"
21 endif

Properties

Name Value
svn:executable *