File: pgfmolbio.cwl

package info (click to toggle)
texstudio 4.3.1%2Bds-2
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 74,980 kB
  • sloc: cpp: 102,721; xml: 17,126; ansic: 8,143; sh: 194; javascript: 177; makefile: 28
file content (381 lines) | stat: -rw-r--r-- 6,821 bytes parent folder | download
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
# pgfmolbio package
# Matthew Bertucci 2/10/2022 for v0.21

#include:ifluatex
#include:luatexbase
#include:xcolor
# xcolor loaded with svgnames and dvipsnames options
#include:tikz
# loads positioning and svg.path tikzlibraries

#keyvals:\usepackage/pgfmolbio#c
chromatogram
domains
convert
#endkeyvals

\pgfmolbioset{options%keyvals}
\pgfmolbioset[module]{options%keyvals}

#keyvals:\pgfmolbioset#c
coordinate unit=%<unit%>
coordinate format string=%<format string%>
#endkeyvals

\pmbprotocolsizes{x}{y}#*

### chromatogram module ###
#ifOption:chromatogram

\pmbchromatogram{file}#i
\pmbchromatogram[options%keyvals]{file}#i

#keyvals:\pmbchromatogram#c,\pgfmolbioset#c
sample range=%<lower%>-%<upper%>
sample range=%<lower%>-%<upper%> step %<int%>
x unit=##L
y unit=##L
samples per line=%<number%>
baseline skip=##L
canvas style/.style={%<TikZ options%>}
canvas height=##L
trace A style/.style={%<TikZ options%>}
trace C style/.style={%<TikZ options%>}
trace G style/.style={%<TikZ options%>}
trace T style/.style={%<TikZ options%>}
trace style={%<TikZ options%>}
traces drawn=
tick A style/.style={%<TikZ options%>}
tick C style/.style={%<TikZ options%>}
tick G style/.style={%<TikZ options%>}
tick T style/.style={%<TikZ options%>}
tick style={%<TikZ options%>}
tick length=##L
ticks drawn=
base label A text=%<text%>
base label C text=%<text%>
base label G text=%<text%>
base label T text=%<text%>
base label A style/.style={%<TikZ options%>}
base label C style/.style={%<TikZ options%>}
base label G style/.style={%<TikZ options%>}
base label T style/.style={%<TikZ options%>}
base label style={%<TikZ options%>}
base labels drawn=
show base numbers#true,false
base number style/.style={%<TikZ options%>}
base number range=%<lower%>-%<upper%>
base number range=%<lower%>-%<upper%> step %<int%>
probability distance=##L
probabilities drawn=
probability style function=%<Lua function%>
bases drawn=
#endkeyvals

pmbTraceGreen#B
pmbTraceBlue#B
pmbTraceBlack#B
pmbTraceRed#B
pmbTraceYellow#B

#endif

### domains module ###
#ifOption:domains

\begin{pmbdomains}{sequence length}
\begin{pmbdomains}[options%keyvals]{sequence length}
\end{pmbdomains}

\addfeature{type}{start}{stop}
\addfeature[options%keyvals]{type}{start}{stop}

#keyvals:\begin{pmbdomains}#c,\addfeature#c,\pgfmolbioset#c
name=%<text%>
show name#true,false
description=%<text%>
x unit=##L
y unit=##L
residues per line=%<number%>
baseline skip=%<factor%>
residue numbering={%<numbering scheme%>}
residue range=%<lower%>-%<upper%>
enlarge left=##L
enlarge right=##L
enlarge top=##L
enlarge bottom=##L
style={%<style list%>}
domain font=%<font commands%>
level=%<number%>
disulfide base distance=%<number%>
disulfide level distance=%<number%>
range font=%<font commands%>
show ruler#true,false
ruler range={%<ruler range list%>}
default ruler step size=%<number%>
ruler distance=%<factor%>
sequence=%<sequence%>
magnified sequence font=%<font commands%>
show secondary structure#true,false
secondary structure distance=%<factor%>
sequence length=%<number%>
#endkeyvals

\setfeaturestyle{type}{style list}
\setfeaturestylealias{new type}{existing type}
\setfeatureshape{type}{TikZ code}
\xLeft
\xMid
\xRight
\yMid
\pmbdomvalueof{key%plain}
\featureSequence
\residueNumber
\currentResidue
\setfeatureshapealias{new type}{existing type}
\setfeaturealias{new type}{existing type}
\setdisulfidefeatures{key list}
\adddisulfidefeatures{key list}
\removedisulfidefeatures{key list}
\setfeatureprintfunction{key list}{Lua function}
\removefeatureprintfunction{key list}
\pmbdomdrawfeature{type}
\inputuniprot{file}#i
\inputgff{file}#i

#endif

### convert module ###
#ifOption:convert

#keyvals:\pgfmolbioset#c
output file name=%<text%>
output file extension=%<text%>
output code=#pgfmolbio,tikz
include description#true,false
#endkeyvals

#endif

# from svgnames option of xcolor
AliceBlue#B
DarkKhaki#B
Green#B
LightSlateGrey#B
AntiqueWhite#B
DarkMagenta#B
GreenYellow#B
LightSteelBlue#B
Aqua#B
DarkOliveGreen#B
Grey#B
LightYellow#B
Aquamarine#B
DarkOrange#B
Honeydew#B
Lime#B
Azure#B
DarkOrchid#B
HotPink#B
LimeGreen#B
Beige#B
DarkRed#B
IndianRed#B
Linen#B
Bisque#B
DarkSalmon#B
Indigo#B
Magenta#B
Black#B
DarkSeaGreen#B
Ivory#B
Maroon#B
BlanchedAlmond#B
DarkSlateBlue#B
Khaki#B
MediumAquamarine#B
Blue#B
DarkSlateGray#B
Lavender#B
MediumBlue#B
BlueViolet#B
DarkSlateGrey#B
LavenderBlush#B
MediumOrchid#B
Brown#B
DarkTurquoise#B
LawnGreen#B
MediumPurple#B
BurlyWood#B
DarkViolet#B
LemonChiffon#B
MediumSeaGreen#B
CadetBlue#B
DeepPink#B
LightBlue#B
MediumSlateBlue#B
Chartreuse#B
DeepSkyBlue#B
LightCoral#B
MediumSpringGreen#B
Chocolate#B
DimGray#B
LightCyan#B
MediumTurquoise#B
Coral#B
DimGrey#B
LightGoldenrod#B
MediumVioletRed#B
CornflowerBlue#B
DodgerBlue#B
LightGoldenrodYellow#B
MidnightBlue#B
Cornsilk#B
FireBrick#B
LightGray#B
MintCream#B
Crimson#B
FloralWhite#B
LightGreen#B
MistyRose#B
Cyan#B
ForestGreen#B
LightGrey#B
Moccasin#B
DarkBlue#B
Fuchsia#B
LightPink#B
NavajoWhite#B
DarkCyan#B
Gainsboro#B
LightSalmon#B
Navy#B
DarkGoldenrod#B
GhostWhite#B
LightSeaGreen#B
NavyBlue#B
DarkGray#B
Gold#B
LightSkyBlue#B
OldLace#B
DarkGreen#B
Goldenrod#B
LightSlateBlue#B
Olive#B
DarkGrey#B
Gray#B
LightSlateGray#B
OliveDrab#B
Orange#B
Plum#B
Sienna#B
Thistle#B
OrangeRed#B
PowderBlue#B
Silver#B
Tomato#B
Orchid#B
Purple#B
SkyBlue#B
Turquoise#B
PaleGoldenrod#B
Red#B
SlateBlue#B
Violet#B
PaleGreen#B
RosyBrown#B
SlateGray#B
VioletRed#B
PaleTurquoise#B
RoyalBlue#B
SlateGrey#B
Wheat#B
PaleVioletRed#B
SaddleBrown#B
Snow#B
White#B
PapayaWhip#B
Salmon#B
SpringGreen#B
WhiteSmoke#B
PeachPuff#B
SandyBrown#B
SteelBlue#B
Yellow#B
Peru#B
SeaGreen#B
Tan#B
YellowGreen#B
Pink#B
Seashell#B
Teal#B

# from dvipsnames option of xcolor
Apricot#B
Aquamarine#B
Bittersweet#B
Black#B
Blue#B
BlueGreen#B
BlueViolet#B
BrickRed#B
Brown#B
BurntOrange#B
CadetBlue#B
CarnationPink#B
Cerulean#B
CornflowerBlue#B
Cyan#B
Dandelion#B
DarkOrchid#B
Emerald#B
ForestGreen#B
Fuchsia#B
Goldenrod#B
Gray#B
Green#B
GreenYellow#B
JungleGreen#B
Lavender#B
LimeGreen#B
Magenta#B
Mahogany#B
Maroon#B
Melon#B
MidnightBlue#B
Mulberry#B
NavyBlue#B
OliveGreen#B
Orange#B
OrangeRed#B
Orchid#B
Peach#B
Periwinkle#B
PineGreen#B
Plum#B
ProcessBlue#B
Purple#B
RawSienna#B
Red#B
RedOrange#B
RedViolet#B
Rhodamine#B
RoyalBlue#B
RoyalPurple#B
RubineRed#B
Salmon#B
SeaGreen#B
Sepia#B
SkyBlue#B
SpringGreen#B
Tan#B
TealBlue#B
Thistle#B
Turquoise#B
Violet#B
VioletRed#B
White#B
WildStrawberry#B
Yellow#B
YellowGreen#B
YellowOrange#B