Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
381fcfd5
Commit
381fcfd5
authored
Nov 06, 2014
by
Marc Duez
Browse files
germline.js : move color to germlines.data
parent
41b25020
Changes
2
Hide whitespace changes
Inline
Side-by-side
browser/js/builder.js
View file @
381fcfd5
...
...
@@ -664,9 +664,9 @@ Builder.prototype = {
build_systemBox
:
function
(
system
){
var
span
=
document
.
createElement
(
'
span
'
)
span
.
className
=
"
systemBox
"
;
if
((
typeof
system
!=
'
undefined
'
)
&&
(
typeof
germline
.
icon
[
system
]
!=
'
undefined
'
)){
span
.
appendChild
(
document
.
createTextNode
(
germline
.
icon
[
system
].
letter
));
span
.
style
.
background
=
germline
.
icon
[
system
].
color
if
((
typeof
system
!=
'
undefined
'
)){
span
.
appendChild
(
document
.
createTextNode
(
this
.
m
.
germline
List
.
list
[
system
].
shortcut
));
span
.
style
.
background
=
this
.
m
.
germline
List
.
list
[
system
].
color
span
.
title
=
system
}
else
{
span
.
appendChild
(
document
.
createTextNode
(
"
?
"
));
...
...
germline/germlines.data
View file @
381fcfd5
{
"TRA": {
"shortcut": "A",
"color" : "#268bd2",
"description": "Human T-cell receptor, alpha locus (14q11.2)",
"5": ["TRAV.fa"],
"3": ["TRAJ.fa"],
...
...
@@ -12,6 +13,7 @@
"TRB": {
"shortcut": "B",
"color" : "#cb4b16",
"description": "Human T-cell receptor, beta locus (7q34)",
"5": ["TRBV.fa"],
"4": ["TRBD.fa"],
...
...
@@ -23,6 +25,7 @@
"TRG": {
"shortcut": "G",
"color" : "#dc322f",
"description": "Human T-cell receptor, gamma locus (7p14)",
"5": ["TRGJ.fa"],
"3": ["TRGV.fa"],
...
...
@@ -33,6 +36,7 @@
"TRD": {
"shortcut": "D",
"color" : "#b58900",
"description": "Human T-cell receptor, delta locus (14q11.2)",
"5": ["TRDV.fa"],
"4": ["TRDD.fa"],
...
...
@@ -51,6 +55,7 @@
"IGH": {
"shortcut": "H",
"color" : "#6c71c4",
"description": "Human immunoglobulin, heavy locus (14q32.33)",
"5": ["IGHV.fa"],
"4": ["IGHD.fa"],
...
...
@@ -69,6 +74,7 @@
"IGK": {
"shortcut": "K",
"color" : "#2aa198",
"description": "Human immunoglobulin, kappa locus (2p11.2)",
"5": ["IGKV.fa"],
"3": ["IGKJ.fa"],
...
...
@@ -86,6 +92,7 @@
"IGL": {
"shortcut": "L",
"color" : "#d33682",
"description": "Human immunoglobulin, lambda locus (22q11.2)",
"5": ["IGLV.fa"],
"3": ["IGLJ.fa"],
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment