forked from sergiocontrino/modencode-gbrowse_conf
-
Notifications
You must be signed in to change notification settings - Fork 1
/
fly_virilis.conf
281 lines (232 loc) · 7.21 KB
/
fly_virilis.conf
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
[GENERAL]
description = D. virilis modENCODE (FlyBase R1.2) (test)
database = dvirilis
plugins = FastaDumper RestrictionAnnotator SequenceDumper
initial landmark = scaffold_13049:13689..25312
default features = Genes
# examples to show in the introduction
examples = scaffold_12723:17801..37701
scaffold_12875:8142000..8174999
scaffold_12963:39000..59999
scaffold_13049:10718500..10738400
header =
<table style="border-bottom:5px groove blue;margin-bottom:10px;width:98%">
<tr>
<td valign=top>
<a href="http://www.modencode.org">
<img src="/images/fly_small.png"
border=0 alt="modENCODE logo fly" />
</a>
</td>
<th valign=middle>
<span style="font:arial;font-size:18pt"><i>D. virilis</i> Genome Browser</span>
</th>
<td width="20%"></td>
</tr>
</table>
# "automatic" classes to try when an unqualified identifier is given
automatic classes = CDS
pad_left = 180
truecolor = 1
autocomplete = 1
#################################
# database definitions
#################################
[dvirilis:database]
db_adaptor = Bio::DB::SeqFeature::Store
db_args = -adaptor DBI::mysql
-dsn dvirilis
-user nobody
search options = exact +autocomplete
# Default glyph settings
[TRACK DEFAULTS]
glyph = generic
database = dvirilis
height = 8
bgcolor = lightgrey
fgcolor = black
label density = 100
bump density = 500
feature limit = 500
discoverable = 1
link = AUTO
# Ucsc plugin configuration
#[UcscPlugin:plugin]
#db = dm3
#user = viewer
#pass = viewer
#seq_prefix = chr
#split_prefix = chr
#[UcscChain:plugin]
#default_enable = chainDp3
#[UcscNet:plugin]
#default_enable = netDroAna2 netDp3
#[UcscConservation:plugin]
#default_enable = multiz15way
### TRACK CONFIGURATION ####
# the remainder of the sections configure individual tracks
[Genes:100000]
glyph = generic
bump = 0
maxdepth = 1
stranded = 1
label = 0
description = 0
[Genes]
feature = gene:FlyBase
pseudogene:FlyBase
glyph = gene
height = 8
bgcolor = sub {
my $f = shift;
return 'white' if $f->primary_tag eq 'pseudogene';
return $f->strand < 1 ? 'turquoise' : 'violet';
}
utr_color = silver
label = sub {
my $f = shift;
my $dn = $f->display_name;
$dn =~ s!Dvir\W!!;
my @aliases = $f->each_tag_value('Alias');
foreach (@aliases) {
return "$dn ($_)" if /^\w+-\d+/;
}
return $dn;
}
filter = sub {
my @subf = eval{shift->get_SeqFeatures('mRNA')};
return @subf > 0;
}
description = sub {
my $f = shift;
my @subf = eval{$f->get_SeqFeatures};
my $note;
for my $sf (@subf) {
next unless $sf->primary_tag =~ /RNA|pseudo/;
$note ||= join '; ',$sf->each_tag_value('Note');
}
$note =~ s!Dvir\W!!;
$note;
}
link = sub {my $n = shift->name;
$n =~s/Dvir\W//;
return "http://www.flybase.org/cgi-bin/uniq.html?species=Dvir\&field=SYN\&db=fbgn\&context=$n\&caller=quicksearch";}
label_transcripts = sub { return shift->primary_tag eq 'mRNA' }
das category = transcription
key = FlyBase Genes
category = Gene Models and Predictions
citation = Annotated gene models from FlyBase Release R1.2; Feb 2009.
[TranslationF]
glyph = translation
global feature = 1
height = 20
fgcolor = purple
start_codons = 0
strand = +1
arrow_height = 2
translation = 3frame
category = Sequence
key = 3-frame translation (forward)
citation = This track shows the position of stop codons at low magnifications,
and the 3-frame translation at high magnifications. Only the forward strand
is shown.
[DNA/GC Content]
glyph = dna
global feature = 1
strand = both
gc_window = auto
height = 40
fgcolor = red
key = GC Content
category = Sequence
citation = This track show the %GC of the displayed sequence region. When zoomed in close enough, the DNA sequence is displayed
[TranslationR]
glyph = translation
global feature = 1
height = 20
fgcolor = blue
strand = -1
start_codons = 0
arrow_height = 2
translation = 3frame
category = Sequence
key = 3-frame translation (reverse)
citation = This track shows the position of stop codons at low magnifications,
and the 3-frame translation at high magnifications. Only the reverse
strand is shown.
# Some reservations about putting tRNAs and ncRNAs in a category other than genes
#[cDNA]
#feature = cDNA_match
#filter = sub {shift->source_tag ne 'dm3'}
#glyph = segments
#label = 1
#database = imported
#category = Gene Expression: ESTs and mRNAs
#draw_target = 1
#show_mismatch = 1
#ragged_start = 1
#height = 5
#bgcolor = limegreen
#fgcolor = black
#connector = solid
#key = full length cDNAs
#citation = Full Insert cDNAs sequenced by the Berkeley Drosophila Genome Project (http://www.fruitfly.org)
[miRNA:500000]
label = 0
[miRNA]
feature = miRNA:FlyBase
glyph = generic
strand_arrow = 1
bgcolor = wheat
fgcolor = black
height = 5
description = 1
label = sub {my $n = shift->name;
$n =~ s/Dvir\W//;
return $n;}
key = FlyBase miRNAs
category = non-modENCODE Reference Data:Non-coding RNAs from FlyBase
citation = miRBase data from sanger miRNA database (more frequently updated than FlyBase)
[ncRNA]
feature = gene:FlyBase
filter = sub { shift->name =~ /ncRNA|snoRNA|snRNA/ }
glyph = generic
strand_arrow = 1
bgcolor = white
fgcolor = black
label = sub {my $n = shift->name;
$n =~ s/Dvir\W//;
return $n;}
height = 5
description = 1
key = FlyBase non-coding RNAs
category = non-modENCODE Reference Data:Non-coding RNAs from FlyBase
citation = miRBase data from sanger miRNA database (more frequently updated than FlyBase)
[TRNA:500000]
label = 0
[TRNA]
feature = gene:FlyBase
filter = sub { shift->name =~ /tRNA/ }
glyph = generic
bgcolor = white
fgcolor = black
height = 5
description = 0
label = sub {my $n = shift->name;
$n =~ s/Dvir\W//;
return $n;}
key = tRNAs
category = non-modENCODE Reference Data:Non-coding RNAs from FlyBase
### MODENCODE TRACKS:
## CELNIKER TRACKS
#include celniker.dvir_conf/*.conf
## HENIKOFF TRACKS
##include henikoff.dm_conf/*.conf
## KARPEN TRACKS
##include karpen_conf/*.conf
## LAI TRACKS
##include lai_conf/*.conf
## MACALPINE TRACKS
##include macalpine_conf/*conf
## WHITE TRACKS
##include white_conf/*.conf