ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/gclib/scripts/twinscan_remap.csh
Revision: 24
Committed: Tue Jul 26 21:46:39 2011 UTC (8 years, 2 months ago) by gpertea
File size: 447 byte(s)
Log Message:
Line User Rev File contents
1 gpertea 23 #!/bin/tcsh
2     foreach f ( *.isoFa.[1-9] *.isoFa.[1-9][0-9] *.isoFa.[1-9][0-9][0-9] )
3     #set fnum = $f:e
4     set ts = $f'.twsgtf'
5     set tsgff = $ts:r
6     set tsgff = $tsgff'.tws.gff'
7     set tso = $f:s/.isoFa/.twinscan.gff/
8     set tso = $tso:r
9     if (-s $ts) then
10     echo "processing $f [=> $tsgff, => $tso ]"
11    
12     twinscan2gff.pl $ts > $tsgff
13     set ofs = `head -1 $f | cut -f2 -d ' '`
14     echo " ofs = $ofs"
15     mapgffback.pl $tsgff $ofs >> $tso
16     endif
17     end

Properties

Name Value
svn:executable *