view test-data/Anolis_caro_chrUn_GL343590.trna2_AlaAGC_dp.ps @ 0:22e8485bc5f3 draft default tip

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/vienna_rna commit 36681a08c6e44c663169caaefd964781c43d0d29
author rnateam
date Wed, 20 Dec 2017 08:30:44 -0500
parents
children
line wrap: on
line source

%!PS-Adobe-3.0 EPSF-3.0
%%Title: RNA Dot Plot
%%Creator: ViennaRNA-2.2.10
%%CreationDate: Tue Dec 19 19:42:58 2017
%%BoundingBox: 66 211 518 662
%%DocumentFonts: Helvetica
%%Pages: 1
%%EndComments

%Options: 
% 
%This file contains the square roots of the base pair probabilities in the form
% i  j  sqrt(p(i,j)) ubox

%%BeginProlog
/DPdict 100 dict def
DPdict begin
/logscale false def
/lpmin 1e-05 log def

/box { %size x y box - draws box centered on x,y
   2 index 0.5 mul sub            % x -= 0.5
   exch 2 index 0.5 mul sub exch  % y -= 0.5
   3 -1 roll dup rectfill
} bind def

/ubox {
   logscale {
      log dup add lpmin div 1 exch sub dup 0 lt { pop 0 } if
   } if
   3 1 roll
   exch len exch sub 1 add box
} bind def

/lbox {
   3 1 roll
   len exch sub 1 add box
} bind def

/drawseq {
% print sequence along all 4 sides
[ [0.7 -0.3 0 ]
  [0.7 0.7 len add 0]
  [-0.3 len sub -0.4 -90]
  [-0.3 len sub 0.7 len add -90]
] {
   gsave
    aload pop rotate translate
    0 1 len 1 sub {
     dup 0 moveto
     sequence exch 1 getinterval
     show
    } for
   grestore
  } forall
} bind def

/drawgrid{
  0.01 setlinewidth
  len log 0.9 sub cvi 10 exch exp  % grid spacing
  dup 1 gt {
     dup dup 20 div dup 2 array astore exch 40 div setdash
  } { [0.3 0.7] 0.1 setdash } ifelse
  0 exch len {
     dup dup
     0 moveto
     len lineto
     dup
     len exch sub 0 exch moveto
     len exch len exch sub lineto
     stroke
  } for
  [] 0 setdash
  0.04 setlinewidth
  currentdict /cutpoint known {
    cutpoint 1 sub
    dup dup -1 moveto len 1 add lineto
    len exch sub dup
    -1 exch moveto len 1 add exch lineto
    stroke
  } if
  0.5 neg dup translate
} bind def

end
%%EndProlog
DPdict begin
%delete next line to get rid of title
270 665 moveto /Helvetica findfont 14 scalefont setfont (Anolis_caro_chrUn_GL343590.trna2_AlaAGC) show

/sequence { (\
UGGGAAUUAGCUCAAAUGGUAGAGCGCUCGCUUAGCAUGUGAGAGGUAGUGGGAUCGAUGCCCACAUUCUCCA\
) } def
/len { sequence length } bind def

72 216 translate
72 6 mul len 1 add div dup scale
/Helvetica findfont 0.95 scalefont setfont

drawseq
0.5 dup translate
% draw diagonal
0.04 setlinewidth
0 len moveto len 0 lineto stroke

/min { 2 copy gt { exch } if pop } bind def

/utri{ % i j prob utri
  gsave
  1 min 2 div
  0.85 mul 0.15 add 0.95  0.33
  3 1 roll % prepare hsb color
  sethsbcolor
  % now produce the coordinates for lines
  exch 1 sub dup len exch sub dup 4 -1 roll dup 3 1 roll dup len exch sub
  moveto lineto lineto closepath fill
  grestore
} bind def
/uHmotif{ % i j uHmotif
  gsave
  1 min 2 div
  0.85 mul 0.15 add 0.95  0.99
  3 1 roll % prepare hsb color
  sethsbcolor
  % now produce the coordinates for lines
  exch 1 sub dup len exch sub dup 4 -1 roll dup 3 1 roll dup len exch sub
  moveto lineto lineto closepath fill
  grestore
} bind def
/lHmotif{ % i j lHmotif
  gsave
  1 min 2 div
  0.85 mul 0.15 add 0.95  0.99
  3 1 roll % prepare hsb color
  sethsbcolor
  % now produce the coordinates for lines
  dup len exch sub dup 4 -1 roll 1 sub dup 3 1 roll dup len exch sub
  moveto lineto lineto closepath fill
  grestore
} bind def
/uImotif{ % i j k l uImotif
  gsave
  1 min 2 div
  0.85 mul 0.15 add 0.95  0.99
  3 1 roll % prepare hsb color
  sethsbcolor
  % now produce the coordinates for lines
  1 sub dup 5 1 roll exch len exch sub dup 5 1 roll 3 -1 roll dup
  5 1 roll exch 4 1 roll 3 1 roll exch 1 sub len exch sub dup 3 1 roll
  moveto lineto lineto lineto closepath fill
  grestore
} bind def
/lImotif{ % i j k l lImotif
  gsave
  1 min 2 div
  0.85 mul 0.15 add 0.95  0.99
  3 1 roll % prepare hsb color
  sethsbcolor
  % now produce the coordinates for lines
  4 -1 roll 1 sub dup 5 1 roll exch 1 sub len exch sub dup 3 -1 roll exch
  5 -1 roll len exch sub dup 6 -1 roll dup 3 1 roll 7 4 roll
  moveto lineto lineto lineto closepath fill
  grestore
} bind def

%data starts here

%start of quadruplex data

%start of Hmotif data

%start of Imotif data

%draw the grid
drawgrid

%start of base pair probability data
1 6 0.004632238 ubox
1 9 0.006654223 ubox
1 14 0.116131258 ubox
1 15 0.005506901 ubox
1 30 0.009716645 ubox
1 34 0.073740324 ubox
1 37 0.006701873 ubox
1 64 0.004871484 ubox
1 73 0.570925214 ubox
2 8 0.007083382 ubox
2 11 0.008406236 ubox
2 12 0.007044803 ubox
2 13 0.129102832 ubox
2 27 0.003166551 ubox
2 29 0.016103198 ubox
2 31 0.059809132 ubox
2 32 0.018860727 ubox
2 33 0.080458349 ubox
2 36 0.007548805 ubox
2 63 0.005718318 ubox
2 69 0.007556179 ubox
2 70 0.028650384 ubox
2 71 0.546628270 ubox
2 72 0.773685839 ubox
3 7 0.004749417 ubox
3 11 0.010358730 ubox
3 12 0.129015255 ubox
3 13 0.003933689 ubox
3 28 0.016108727 ubox
3 29 0.005358837 ubox
3 31 0.020535925 ubox
3 32 0.083122889 ubox
3 62 0.005713974 ubox
3 68 0.006646921 ubox
3 69 0.031485159 ubox
3 70 0.558919532 ubox
3 71 0.770984265 ubox
3 72 0.215962264 ubox
4 8 0.003846249 ubox
4 11 0.128681370 ubox
4 13 0.011210848 ubox
4 25 0.004019121 ubox
4 27 0.015919907 ubox
4 28 0.004907639 ubox
4 29 0.064014656 ubox
4 31 0.083429550 ubox
4 61 0.005688924 ubox
4 67 0.004381706 ubox
4 68 0.030984314 ubox
4 69 0.928667711 ubox
4 70 0.171363563 ubox
4 71 0.216620666 ubox
4 72 0.007349484 ubox
5 12 0.010780540 ubox
5 28 0.062660548 ubox
5 47 0.006856414 ubox
5 67 0.030480480 ubox
5 68 0.927409033 ubox
5 70 0.201662161 ubox
6 17 0.003163375 ubox
6 20 0.004307680 ubox
6 28 0.008183017 ubox
6 47 0.073508582 ubox
6 50 0.015670251 ubox
6 59 0.003724079 ubox
6 67 0.895370856 ubox
6 68 0.033940401 ubox
6 70 0.008321205 ubox
7 16 0.003361849 ubox
7 19 0.004518445 ubox
7 22 0.015784771 ubox
7 23 0.006061468 ubox
7 26 0.014487017 ubox
7 44 0.005844573 ubox
7 45 0.012806982 ubox
7 46 0.076342752 ubox
7 48 0.020848970 ubox
7 49 0.018126701 ubox
7 58 0.004549362 ubox
7 66 0.827624872 ubox
8 15 0.003431379 ubox
8 18 0.005204581 ubox
8 21 0.036410380 ubox
8 22 0.007907851 ubox
8 26 0.044491013 ubox
8 44 0.019732249 ubox
8 45 0.085065889 ubox
8 46 0.073831467 ubox
8 48 0.244628685 ubox
8 57 0.004318992 ubox
8 64 0.004391699 ubox
8 66 0.049191061 ubox
9 17 0.005251011 ubox
9 20 0.037521120 ubox
9 47 0.253722300 ubox
9 67 0.010690853 ubox
9 68 0.010096246 ubox
9 70 0.004399209 ubox
10 20 0.026215970 ubox
10 25 0.829289356 ubox
10 36 0.006465083 ubox
10 47 0.027737796 ubox
10 63 0.004597663 ubox
10 65 0.005017003 ubox
10 67 0.005447271 ubox
10 69 0.005544437 ubox
11 18 0.038327522 ubox
11 19 0.026908727 ubox
11 22 0.008733209 ubox
11 24 0.831795780 ubox
11 35 0.006471634 ubox
11 43 0.468132693 ubox
11 45 0.252989051 ubox
11 46 0.024187195 ubox
12 18 0.023602891 ubox
12 19 0.006232645 ubox
12 21 0.008604981 ubox
12 23 0.831740817 ubox
12 34 0.006375561 ubox
12 42 0.472749007 ubox
12 44 0.251590986 ubox
12 45 0.014945041 ubox
13 18 0.013723928 ubox
13 19 0.007497427 ubox
13 22 0.831631273 ubox
13 39 0.003427828 ubox
13 41 0.473909293 ubox
13 43 0.250370719 ubox
14 20 0.066488520 ubox
14 38 0.003182944 ubox
14 40 0.457844605 ubox
15 20 0.108308493 ubox
15 38 0.011419523 ubox
15 40 0.051301522 ubox
16 20 0.015471478 ubox
16 38 0.470000855 ubox
16 40 0.178550335 ubox
17 21 0.008767749 ubox
17 26 0.003387803 ubox
17 37 0.496886199 ubox
17 39 0.177094176 ubox
17 73 0.045173900 ubox
18 25 0.004902375 ubox
18 36 0.492816130 ubox
18 38 0.121851863 ubox
18 72 0.055748796 ubox
19 25 0.003883170 ubox
19 36 0.239923237 ubox
19 38 0.005417278 ubox
19 71 0.055691551 ubox
20 24 0.003644610 ubox
20 34 0.470810526 ubox
20 35 0.247657199 ubox
20 37 0.005831255 ubox
21 32 0.009783764 ubox
21 33 0.358241990 ubox
21 70 0.054635624 ubox
22 29 0.006362768 ubox
22 31 0.013177914 ubox
22 32 0.219551670 ubox
22 33 0.403084545 ubox
22 68 0.003789411 ubox
22 69 0.055392027 ubox
23 28 0.006024870 ubox
23 32 0.500859862 ubox
23 33 0.004324443 ubox
23 47 0.031904991 ubox
23 67 0.003787974 ubox
23 68 0.052636256 ubox
24 29 0.008474011 ubox
24 31 0.549100761 ubox
24 47 0.049197557 ubox
24 67 0.030536001 ubox
25 30 0.548338702 ubox
25 41 0.004144135 ubox
25 45 0.067140277 ubox
25 46 0.053750180 ubox
26 36 0.057394616 ubox
26 40 0.012772171 ubox
26 47 0.064315077 ubox
26 50 0.004714852 ubox
27 35 0.057448226 ubox
27 39 0.013170691 ubox
27 43 0.815569764 ubox
27 45 0.049009957 ubox
27 46 0.063413875 ubox
27 49 0.005262423 ubox
27 53 0.004564973 ubox
28 34 0.054697757 ubox
28 42 0.820379890 ubox
28 44 0.048191892 ubox
28 45 0.035895579 ubox
28 46 0.029285776 ubox
28 48 0.006599916 ubox
28 52 0.004579520 ubox
29 41 0.821245880 ubox
29 43 0.046763735 ubox
29 45 0.057920583 ubox
29 46 0.006457134 ubox
29 51 0.004606001 ubox
30 36 0.024024302 ubox
30 40 0.821070294 ubox
30 47 0.027558338 ubox
30 50 0.004615290 ubox
31 35 0.023900118 ubox
31 39 0.821259198 ubox
31 41 0.031662456 ubox
31 43 0.068739658 ubox
31 45 0.005088084 ubox
31 46 0.028387067 ubox
31 49 0.004618779 ubox
32 37 0.056070394 ubox
32 39 0.007808716 ubox
32 41 0.004679327 ubox
32 42 0.069668252 ubox
32 44 0.005113833 ubox
32 45 0.028339924 ubox
32 48 0.003694275 ubox
33 37 0.084188349 ubox
33 39 0.012554387 ubox
33 41 0.069738589 ubox
33 43 0.004988753 ubox
33 44 0.028077519 ubox
33 48 0.005052659 ubox
34 38 0.015647295 ubox
34 40 0.068716940 ubox
34 47 0.005883003 ubox
35 72 0.003223293 ubox
36 41 0.028025736 ubox
36 45 0.006071525 ubox
37 47 0.004492398 ubox
37 67 0.004929165 ubox
38 46 0.004623641 ubox
38 66 0.005612639 ubox
38 73 0.096471321 ubox
39 65 0.006372388 ubox
39 72 0.134387529 ubox
40 64 0.006366003 ubox
40 73 0.044296160 ubox
41 63 0.006315212 ubox
41 71 0.157425382 ubox
41 72 0.055795571 ubox
42 47 0.003279277 ubox
42 70 0.158258676 ubox
43 63 0.003504831 ubox
43 69 0.159460464 ubox
43 71 0.083592343 ubox
43 72 0.004963441 ubox
44 67 0.003632562 ubox
44 68 0.157762054 ubox
44 70 0.122775573 ubox
45 56 0.003216980 ubox
45 62 0.033079448 ubox
45 63 0.006333865 ubox
45 65 0.005683413 ubox
45 67 0.142807045 ubox
45 68 0.102004762 ubox
45 69 0.139542279 ubox
45 70 0.038496405 ubox
45 71 0.007227554 ubox
45 72 0.051023600 ubox
46 55 0.003223253 ubox
46 61 0.033233869 ubox
46 62 0.005934201 ubox
46 65 0.014068389 ubox
46 67 0.151344698 ubox
46 68 0.117431569 ubox
46 69 0.048110592 ubox
46 70 0.005932615 ubox
46 71 0.051023157 ubox
47 60 0.033207628 ubox
47 64 0.011567823 ubox
47 66 0.169443202 ubox
48 59 0.032419774 ubox
48 67 0.054982355 ubox
48 68 0.015912705 ubox
48 70 0.010752649 ubox
49 56 0.003800040 ubox
49 59 0.006023614 ubox
49 63 0.008508712 ubox
49 65 0.996813137 ubox
49 67 0.013145831 ubox
49 69 0.007555919 ubox
50 57 0.025044897 ubox
50 58 0.008142900 ubox
50 64 0.998396751 ubox
50 66 0.013239028 ubox
51 56 0.028984258 ubox
51 62 0.014992485 ubox
51 63 0.999154389 ubox
51 65 0.013340412 ubox
52 56 0.007696861 ubox
52 61 0.018442907 ubox
52 62 0.999085217 ubox
52 63 0.014927477 ubox
52 72 0.003975401 ubox
53 61 0.997430929 ubox
53 62 0.015882748 ubox
53 71 0.003986825 ubox
54 59 0.163009340 ubox
54 70 0.003908232 ubox
55 60 0.162646810 ubox
56 60 0.056948332 ubox
57 68 0.004617988 ubox
58 67 0.004981508 ubox
59 66 0.005078979 ubox
60 65 0.005070973 ubox
2 71 0.9500000 lbox
3 70 0.9500000 lbox
4 69 0.9500000 lbox
5 68 0.9500000 lbox
6 67 0.9500000 lbox
7 66 0.9500000 lbox
10 25 0.9500000 lbox
11 24 0.9500000 lbox
12 23 0.9500000 lbox
13 22 0.9500000 lbox
27 43 0.9500000 lbox
28 42 0.9500000 lbox
29 41 0.9500000 lbox
30 40 0.9500000 lbox
31 39 0.9500000 lbox
49 65 0.9500000 lbox
50 64 0.9500000 lbox
51 63 0.9500000 lbox
52 62 0.9500000 lbox
53 61 0.9500000 lbox
showpage
end
%%EOF