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
6d956134
Commit
6d956134
authored
Nov 21, 2019
by
David Hoksza
Browse files
newline in name of minerva variant overlay
parent
6940442d
Changes
2
Hide whitespace changes
Inline
Side-by-side
associations/minerva_variants.py
View file @
6d956134
...
...
@@ -144,7 +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
+=
"#NAME=DISEASE_ASSOCIATED_VARIANTS
\n
"
out
+=
"#TYPE=GENETIC_VARIANT
\n
"
out
+=
"#GENOME_TYPE=UCSC
\n
"
out
+=
"#GENOME_VERSION=hg19
\n
"
...
...
enrichment/get_extended_network.R
View file @
6d956134
...
...
@@ -40,10 +40,14 @@ if( ! ( score >= 0 & score <= 1 )) {
stop
(
"Invalid argument 'score'. It should be between 0 and 1"
)
}
required.packages
<-
c
(
"
b
io
maRt
"
,
"RCurl"
,
"jsonlite"
,
"httr"
)
required.packages
<-
c
(
"
B
io
cManager
"
,
"RCurl"
,
"jsonlite"
,
"httr"
)
new.packages
<-
required.packages
[
!
(
required.packages
%in%
installed.packages
()[,
"Package"
])]
if
(
length
(
new.packages
))
install.packages
(
new.packages
,
repos
=
'http://cran.us.r-project.org'
)
if
(
"biomaRt"
%in%
installed.packages
()[,
1
]
==
FALSE
){
BiocManager
::
install
(
"biomaRt"
,
update
=
TRUE
,
ask
=
FALSE
)
}
library
(
biomaRt
)
...
...
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