Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
David Hoksza
bh19-rare-diseases
Commits
5ad7f86c
Commit
5ad7f86c
authored
Nov 21, 2019
by
David Hoksza
Browse files
added name to minerva variants overlay file
parent
00ddce56
Changes
2
Hide whitespace changes
Inline
Side-by-side
associations/minerva_genes.py
View file @
5ad7f86c
...
...
@@ -5,7 +5,7 @@ from typing import List, Dict, Set
def
get_minerva_format
(
gene_symbols
:
List
[
str
])
->
str
:
out
=
""
out
+=
"#NAME=DISEASE
ASSOCIATED
GENES
\n
"
out
+=
"#NAME=DISEASE
_
ASSOCIATED
_
GENES
\n
"
out
+=
"Name
\t
Color
\n
"
for
gs
in
set
(
gene_symbols
):
...
...
associations/minerva_variants.py
View file @
5ad7f86c
...
...
@@ -144,6 +144,7 @@ def get_minerva_format(db_snps: List[Dict]) -> str:
for
snp
in
db_snps
:
del
snp
[
'uniprot_acc'
]
out
+=
"#NAME=DISEASE_ASSOCIATED_VARIANTS"
out
+=
"#TYPE=GENETIC_VARIANT
\n
"
out
+=
"#GENOME_TYPE=UCSC
\n
"
out
+=
"#GENOME_VERSION=hg19
\n
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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