Commit 6d956134 authored by David Hoksza's avatar David Hoksza
Browse files

newline in name of minerva variant overlay

parent 6940442d
......@@ -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"
......
......@@ -40,10 +40,14 @@ if( ! ( score >= 0 & score <= 1 )) {
stop("Invalid argument 'score'. It should be between 0 and 1")
}
required.packages <- c("biomaRt", "RCurl", "jsonlite", "httr")
required.packages <- c("BiocManager", "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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment