File: gbrowseconf.xml

package info (click to toggle)
libchado-perl 1.31-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 44,716 kB
  • sloc: sql: 282,721; xml: 192,553; perl: 25,524; sh: 102; python: 73; makefile: 57
file content (713 lines) | stat: -rw-r--r-- 15,829 bytes parent folder | download | duplicates (5)
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
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
<opt
  name="gbrowseconf"
  date="20040826"

  db_adaptor_class = "Bio::DB::GFF"
  db_adaptor = "lucene"
  db_dsn  = "${outputpath}/lucene/"
  db_user = "flybase"
  db_password = " "

  db_adaptor_class2 = "Bio::DB::Das::Chado"
  db_adaptor1 = "dbi::mysql"
  db_adaptor2 = "dbi::Pg"
  >
 
 <!-- need to call XML::Simple w/ ${variables} below in doc
 
  ${species} ${relfull} ${date}
  ${datapath}
  ${default_location} 
  ${chromosomes} == ${examples} ??
  readConfig( 'gbrowseconfig', { Variables => \%featvars });
 -->
 
  <title>Gbrowse conf generator</title>
  <about>
  </about>
  

  
<!-- add gbrowse.conf file parts here; as per blastfiles.doc -->
  <doc name="dummy"></doc>
  
  <doc name="gbrowse" path="gff/gbrowse.conf">
  <!-- no content tag here -->
  <header title="header"><![CDATA[ 
# generated gbrowse config
[GENERAL]
description = ${species} ${rel}

## option GFF xxx adaptor 
db_adaptor = ${db_adaptor_class}
db_args    = -adaptor ${db_adaptor} 
             -dsn ${db_dsn}
user       = ${db_user}
passwd     = ${db_password}

## option Pg::Chado adaptor 
# db_adaptor    = Bio::DB::Das::Chado
# database      = ${db_dsn}
## option dbi::mysql adaptor 
# adaptor     = dbi::mysql
# database    = ${db_dsn}
## option lucene adaptor
#    db_adaptor = lucene
#    db_dsn  = "${outputpath}/lucene/"

default_name = ${default_location} 
default_range = 1-500000

examples = ${default_location}  ${examples}
 
header = 
  <h1>Genome Browser: <i>${species}</i>
  <br><small>Release ${rel}; ${date}</small>
  </h1>

footer = <hr>
	<table width="100%">
	<TR>
	<TD align="LEFT" class="databody">
	For the source code for this browser, see the <a href="http://www.gmod.org">
	Generic Model Organism Database Project.</a> 
	</TD>
	</TR>
	</table>
	<hr>
	<pre>$Id: gbrowseconf.xml,v 1.5 2007-10-17 01:01:29 dongilbert Exp $</pre>

plugins = BatchDumper TextMapDumper FeatureFastaDumper FastaDumper GFFDumper 

aggregators = processed_transcript  alignment

#fixme ...
uploads = 1

#fixme ...
default features =  gene scaffold

# Web site configuration info
stylesheet  = /gbrowse/gbrowse.css
buttons     = /gbrowse/images/buttons
tmpimages   = /gbrowse/tmp
help        = /gbrowse/

# max and default segment sizes for detailed view
max segment     = 1000001
default segment = 100000

# where to link to when user clicks in detailed view
link          = AUTO

title = sub { my $f= shift;
	return $f->method .":". $f->info . " ". $f->seq_id .':'.$f->start."..".$f->end;
	}

zoom levels = 100 200 1000 2000 5000 10000 20000 40000 100000 200000 500000 1000000

# colors of the overview, detailed map and key
overview units   = M
overview bgcolor = lightgrey
detailed bgcolor = lightgoldenrodyellow

#panel property
pad_left    = 20
pad_right   = 30
key_style = between
key bgcolor = whitesmoke
grid = 1


# "automatic" classes to try when an unqualified identifier is given
automatic classes = Symbol Gene Clone

language = en


image widths  = 450 640 800 950 1024
default width = 800

# Various places where you can insert your own HTML -- see configuration docs
html1 = 
html2 = 
html3 = 
html4 = 
html5 = 
html6 = 

# Default glyph settings
[TRACK DEFAULTS]
glyph       = generic
height      = 8
bgcolor     = cyan
fgcolor     = cyan
label density = 25
bump density  = 100

overview label density = 160

### TRACK CONFIGURATION ####
# the remainder of the sections configure individual tracks
[DNA/GC Content]
glyph        = dna
global feature = 1
height       = 40
do_gc        = 1
fgcolor      = red
axis_color   = blue

  ]]></header>
  
  <footer  title="footer"><![CDATA[
  ]]></footer> 
  </doc>


<!-- ============   GENERIC is template for unconfigured features  =========== -->
<fdef name="GENERIC"><![CDATA[
[GENERIC]
feature  = GENERIC
glyph    = segments
bgcolor  = lightslategray
fgcolor  = black
key      = GENERIC
citation = GENERIC
#category = Analysis
]]></fdef>




<!-- ============   Genomic features  =========== -->
<fdef name="cytoband"><![CDATA[
[cytoband]
feature = cytoband
glyph = revcomp_arrow
both = 1
label_align = center
fgcolor = black
bgcolor = black
linewidth = 2
label = 1
label density = 10000
bump = 0
bump density = 0
key  = Cytologic band
category = Genomic
citation     = Cytological bands on the polytene chromosomes
link = sub { my $f=shift; my $u=$ENV{REQUEST_URI};
	my $r= $f->ref.":".$f->to_FTstring;
	$u =~ s/\?.*$//; $u .= '?name='.$r.";doexpand=1";
	return $u;
	}
]]></fdef>


<fdef name="dna"><![CDATA[
[dna]
feature       = source
glyph         = dnabases
draw_dna      = 1
strand        = forward
label         = 0
label density = 0
key           = DNA sequence
category = Genomic
link =
]]></fdef>

<fdef name="gene" feature="gene mRNA"><![CDATA[
[gene]
feature       = gene mRNA
glyph         = transcript2
bgcolor       = lightblue
fgcolor       = blue
secondary     = mRNA
secondary_bgcolor = mediumblue
secondary_fgcolor = mediumblue
highlight_color = red
higlighted = 1
label = 1
label density = 50
key      = Gene Model
category = Genomic
citation     = Gene and mRNA (transcript) features  
]]></fdef>


<fdef name="CDS"><![CDATA[
[CDS]
feature  = CDS
glyph = segments
stranded     = 1
translation  = 1frame
bgcolor = palegoldenrod
fgcolor = goldenrod
label = 1
key  = CDS
citation     = Protein coding sequence 
category = Genomic
]]></fdef>


<fdef name="pseudogene"><![CDATA[
[pseudogene]
feature  = pseudogene
glyph = segments
strand_arrow  = 1
fgcolor       = orange
label = 1
key           = Pseudogene
category = Genomic
]]></fdef>

<fdef name="tRNA"><![CDATA[
[tRNA]
feature  = tRNA
glyph = transcript2
label = 1
stranded     = 1
bgcolor      = white
fgcolor      = black
curatedexon  = slateblue
fontcolor    = slateblue
key          = tRNA
category = Genomic
]]></fdef>

<fdef name="noncodingRNA" feature="ncRNA rRNA snoRNA snRNA miscRNA"><![CDATA[
[ncRNA]
feature      = ncRNA rRNA snoRNA snRNA miscRNA
glyph        = transcript2
bgcolor      = peachpuff
stranded     = 1
key          = Non-coding RNAs
citation     = Non-coding RNAs: ncRNA rRNA snoRNA snRNA miscRNA
category = Genomic
]]></fdef>

<fdef name="transposable_element"><![CDATA[
[transposable_element]
feature  = transposable_element
bgcolor       = magenta
fgcolor       = magenta
label = 1
glyph         = anchored_arrow
key           = Natural transposon
citation     = Natural transposon 
category = Genomic
]]></fdef>



<fdef name="transposable_element_insertion_site"><![CDATA[
[transposable_element_insertion_site]
feature  = transposable_element_insertion_site
glyph         = pinsertion
bgcolor       = darkturquoise
fgcolor       = darkturquoise
bump          = 1
label         = 0
key           = Transgene insertion site
citation     = Transgene insertion site 
category = Genomic
]]></fdef>


<!-- ============  Misc. Genomic features  =========== -->

<fdef name="polyA_site"><![CDATA[
[polyA_site]
feature  = polyA_site
strand_arrow  = 1
bgcolor       = lightslategray
fgcolor       = lightslategray
key           = polyA_site 
citation     = polyA_site 
category = Miscellany Genomic
]]></fdef>


<fdef name="point_mutation"><![CDATA[
[point_mutation]
feature  = point_mutation
bgcolor       = lightslategray
fgcolor       = lightslategray
key           = point_mutation 
citation     = point_mutation 
category = Miscellany Genomic
]]></fdef>
 
<fdef name="protein_binding_site"><![CDATA[
[protein_binding_site]
feature  = protein_binding_site
strand_arrow  = 1
bgcolor       = lightslategray
fgcolor       = lightslategray
key           = protein_binding_site 
citation     = protein_binding_site 
category = Miscellany Genomic
]]></fdef>

<fdef name="rescue_fragment"><![CDATA[
[rescue_fragment]
feature  = rescue_fragment
strand_arrow  = 1
bgcolor       = lightslategray
fgcolor       = lightslategray
key           = rescue_fragment 
citation     = rescue_fragment 
category = Miscellany Genomic
]]></fdef>

<fdef name="mature_peptide"><![CDATA[
[mature_peptide]
feature  = mature_peptide
glyph = segments
strand_arrow  = 1
bgcolor = palegoldenrod
fgcolor       = orange
label = 1
key  = mature_peptide
citation     = mature_peptide 
category = Miscellany Genomic
]]></fdef>

<fdef name="signal_peptide"><![CDATA[
[signal_peptide]
feature  = signal_peptide
glyph = segments
strand_arrow  = 1
bgcolor = palegoldenrod
fgcolor       = orange
label = 1
key  = signal_peptide
citation     = signal_peptide 
category = Miscellany Genomic
]]></fdef>

<fdef name="enhancer"><![CDATA[
[enhancer]
feature  = enhancer
strand_arrow  = 1
bgcolor       = lightslategray
fgcolor       = lightslategray
key           = enhancer 
citation     = enhancer 
category = Miscellany Genomic
]]></fdef>

<fdef name="aberration_junction"><![CDATA[
[aberration_junction]
feature  = aberration_junction
strand_arrow  = 1
bgcolor       = lightslategray
fgcolor       = lightslategray
key           = aberration_junction 
citation     = aberration_junction 
category = Miscellany Genomic
]]></fdef>

<fdef name="regulatory_region"><![CDATA[
[regulatory_region]
feature  = regulatory_region
strand_arrow  = 1
bgcolor       = lightslategray
fgcolor       = lightslategray
key           = regulatory_region 
citation     = regulatory_region 
category = Miscellany Genomic
]]></fdef>

<fdef name="sequence_variant"><![CDATA[
[sequence_variant]
feature  = sequence_variant
strand_arrow  = 1
bgcolor       = lightslategray
fgcolor       = lightslategray
key           = sequence_variant 
citation     = sequence_variant 
category = Miscellany Genomic
]]></fdef>


<fdef name="DNA_motif" feature="DNA_motif RNA_motif"><![CDATA[
[DNA_motif]
feature  = DNA_motif RNA_motif
bgcolor       = plum
fgcolor       = plum
secondary     = RNA_motif
secondary_bgcolor = mediumseagreen
secondary_fgcolor = mediumseagreen
strand_arrow  = 1
bump          = 1
label         = 0
key           = DNA / RNA motif
citation     = DNA_motif and RNA_motif 
category = Miscellany Genomic
]]></fdef>




<!-- ============  Analysis  =========== -->
<fdef name="transcription_start_site"><![CDATA[
[transcription_start_site]
feature  = transcription_start_site
glyph         = promoter
bgcolor       = purple
fgcolor       = purple
bump          = 1
label         = 0
key = Promoter prediction
citation     = Transcription promoter prediction 
category = Analysis
]]></fdef>


<fdef name="processed_transcript"><![CDATA[
[processed_transcript]
feature  = processed_transcript
glyph         = processed_transcript
bgcolor       = plum
fgcolor       = plum
height       = 4
bump          = 1
label         = 0
key           = Processed transcript
citation     = processed_transcript 
category = Analysis
]]></fdef>


<fdef name="protein"><![CDATA[
[protein]
feature  = protein
bgcolor       = salmon
fgcolor       = salmon
height       = 3
strand_arrow  = 1
bump          = 1
label         = 1
key           = Protein BLAST alignment
citation     = protein from BLAST alignments 
category = Analysis
]]></fdef>

<fdef name="repeat_region"><![CDATA[
[repeat_region]
feature   = repeat_region
bgcolor       = darkorchid
fgcolor       = darkorchid
height        = 3
connector     = solid
bump          = 1
strand_arrow  = 0
label         = 0
key           = Repeat region
citation     = repeat_region 
category = Analysis
link =
]]></fdef>

<fdef name="mRNA_genscan"><![CDATA[
[mRNA_genscan]
feature   = mRNA_genscan
glyph         = segments
strand_arrow  = 1
bgcolor       = tan
fgcolor       = brown
connector     = solid
bump          = 1
label         = 0
key           = Genscan prediction
citation     = Genscan (gene prediction) 
category = Analysis
]]></fdef>

<fdef name="mRNA_piecegenie"><![CDATA[
[mRNA_piecegenie]
feature   = mRNA_piecegenie
glyph         = segments
strand_arrow  = 1
bgcolor       = yellow
fgcolor       = brown
connector     = solid
bump          = 1
label         = 0
key           = Genie prediction 
citation     = PieceGenie (gene prediction) 
category = Analysis
]]></fdef>

<fdef name="match_fgenesh"><![CDATA[
[match_fgenesh]
feature   = match_fgenesh
glyph         = segments
strand_arrow  = 1
bgcolor       = tan
fgcolor       = brown
connector     = solid
bump          = 1
label         = 0
key           = fgenesh prediction 
citation     = match_fgenesh (gene prediction) 
category = Analysis
]]></fdef>

<fdef name="match_HDP"><![CDATA[
[match_HDP]
feature   = match_HDP
glyph         = segments
strand_arrow  = 1
bgcolor       = yellow
fgcolor       = brown
connector     = solid
bump          = 1
label         = 0
key           =HDP prediction 
citation     = HDP  
category = Analysis
]]></fdef>

<fdef name="match_RNAiHDP"><![CDATA[
[match_RNAiHDP]
feature   = match_RNAiHDP
glyph         = segments
strand_arrow  = 1
bgcolor       = tan
fgcolor       = brown
connector     = solid
bump          = 1
label         = 0
key           = RNAiHDP prediction 
citation     = RNAiHDP  
category = Analysis
]]></fdef>


<fdef name="tRNA_trnascan"><![CDATA[
[tRNA_trnascan]
feature   = tRNA_trnascan
glyph = transcript2
bgcolor       = yellow
fgcolor       = brown
connector     = solid
bump          = 1
label         = 0
key           = tRNAscan prediction
citation     = tRNAscan (tRNA prediction) 
category = Analysis
]]></fdef>

<fdef name="transposable_element_pred"><![CDATA[
[transposable_element_pred]
feature  = transposable_element_pred
bgcolor       = tan
fgcolor       = brown
label = 1
glyph         = anchored_arrow
key           = Transposon prediction
citation     = Transposon prediction 
category = Analysis
]]></fdef>

<!-- ============  Genome reagents  =========== -->
<fdef name="oligonucleotide"><![CDATA[
[oligonucleotide]
feature  = oligonucleotide
glyph         = generic
bgcolor       = tomato
fgcolor       = tomato
height       = 4
bump          = 0
bump density  = 1
label         = 0
label density = 0
key           = Affy Oligo
citation     = oligonucleotide 
category = Genome reagents
]]></fdef>


<fdef name="EST" feature="EST cDNA_clone"><![CDATA[
[EST]
feature       = EST cDNA_clone
glyph         = segments
strand_arrow  = 1
bgcolor       = lightgreen
fgcolor       = green
secondary     = cDNA_clone
secondary_bgcolor = mediumseagreen
secondary_fgcolor = mediumseagreen
key           = cDNA + EST 
citation     = cDNA_clone and EST 
category = Genome reagents
link = sub {
  my $v=shift->name();  $v=~s/[:.].*(prime|contig).*$//;  $v=~s/^(GB)[:]//;  
  return 'http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=Search&db=Nucleotide&doptcmdl=GenBank&tool=FlyBase&term='.$v;  
 }
]]></fdef>


<fdef name="blast"><![CDATA[
[blast]
feature       = blast
glyph         = alignment
bgcolor       = darkorchid
fgcolor       = darkorchid
bump          = 1
label         = 1
key           = Blast hit
height        = 8
citation      = BLAST alignment hit
category = "hidden"
]]></fdef>

<fdef name="BAC"><![CDATA[
[BAC]
feature  = BAC
glyph         = extending_arrow
no_arrows     = 1
base          = 0
bgcolor       = lightslategray
fgcolor       = lightslategray
linewidth     = 2
bump          = 1
label         = 1
key           = Tiling BAC
citation     = BAC 
category = Genome reagents
]]></fdef>

<!--
name="golden_path"   
alt_name0 = "golden_path_region" 
alt_name1 = "golden_path_fragment" 
alt_name2 = "databank_scaffold"
alt_name3 = "scaffold"
alt_name4 = "supercontig"
-->
<fdef name="scaffold" feature="scaffold  golden_path_fragment segment"><![CDATA[
[scaffold]
## aug04 - renamed to SO equivalent golden_path; 
## sep04 - golden_path_fragment is better, or supercontig ?
feature  = scaffold golden_path_fragment 
glyph         = anchored_arrow
no_arrows     = 1
base          = 0
fgcolor       = black
bgcolor       = black
linewidth     = 2
bump          = 1
label         = 1
height        = 4
key           = GenBank Scaffold
citation     = genbank submission unit, a golden_path_fragment  
category = Genome reagents
]]></fdef>



</opt>