This file is indexed.

/usr/lib/seqan/bin/ps2pswLinks.gawk is in seqan-apps 2.3.2+dfsg2-4ubuntu2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
##
#
# script to add links to postscript file that was produced using the plot.awk script from ROIs.
# usage :    gawk -v roiFile=infile.roi \
#                 -f ps2pswLinks.gawk \
#                 infile.roi.ps > outfile.ps
# infile.roi.ps was created using plot.awk
# infile.roi is the same file that was used to generate the infile.roi.ps
#
# the link to the localhost, i.e. the genome browser to be used can be changed at the end of the script.
# current version is using the default for IGV on localhost.
#


BEGIN{
longstring="\
[ /Rect [124 87 240 257]\n\
/Border [0 0 0]\n\
/Color [0 0 1]\n\
/Action << /Subtype /URI /URI (__URI1__) >>\n\
/Subtype /Link\n\
/ANN pdfmark\n\
[ /Rect [275 87 391 257]\n\
/Border [0 0 0]\n\
/Color [0 0 1]\n\
/Action << /Subtype /URI /URI (__URI4__) >>\n\
/Subtype /Link\n\
/ANN pdfmark\n\
[ /Rect [426 87 542 257]\n\
/Border [0 0 0]\n\
/Color [0 0 1]\n\
/Action << /Subtype /URI /URI (__URI7__) >>\n\
/Subtype /Link\n\
/ANN pdfmark\n\
[ /Rect [124 297 240 473]\n\
/Border [0 0 0]\n\
/Color [0 0 1]\n\
/Action << /Subtype /URI /URI (__URI2__) >>\n\
/Subtype /Link\n\
/ANN pdfmark\n\
[ /Rect [275 297 391 473]\n\
/Border [0 0 0]\n\
/Color [0 0 1]\n\
/Action << /Subtype /URI /URI (__URI5__) >>\n\
/Subtype /Link\n\
/ANN pdfmark\n\
[ /Rect [426 297 542 473]\n\
/Border [0 0 0]\n\
/Color [0 0 1]\n\
/Action << /Subtype /URI /URI (__URI8__) >>\n\
/Subtype /Link\n\
/ANN pdfmark\n\
[ /Rect [124 507 240 689]\n\
/Border [0 0 0]\n\
/Color [0 0 1]\n\
/Action << /Subtype /URI /URI (__URI3__) >>\n\
/Subtype /Link\n\
/ANN pdfmark\n\
[ /Rect [275 507 391 689]\n\
/Border [0 0 0]\n\
/Color [0 0 1]\n\
/Action << /Subtype /URI /URI (__URI6__) >>\n\
/Subtype /Link\n\
/ANN pdfmark\n\
[ /Rect [426 507 542 689]\n\
/Border [0 0 0]\n\
/Color [0 0 1]\n\
/Action << /Subtype /URI /URI (__URI9__) >>\n\
/Subtype /Link\n\
/ANN pdfmark\n\
showpage\n\
"
if(roiFile==""){
   print "Error: I need the variable roiFile to be set (-v roiFile=filename)" > "/dev/stderr"
   exit -1
}
}
/showpage/{
   outstring = longstring
   for(i=1;i<=9;i++){
      roiLine=""
      while(roiLine==""){
         if( (getline roiLine < roiFile) <= 0){
	    break
	 }
	 if(substr(roiLine,1,1)=="#"){
	    roiLine=""
	 }
      }
      split(roiLine,roiArr, "\t")
      gsub("__URI"i"__","http://localhost:60151/goto?locus="roiArr[1]":"roiArr[2]"-"roiArr[3],outstring)
   }
   print outstring
   next
}
{print}