Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tamerh committed Dec 5, 2019
1 parent 2bec101 commit 32b3953
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion scripts/data/data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ clearConfs
# ./biobtree -d hgnc --idx cacheset1 update
# prepCache "set1"

### CACHE 0 small demo dataset for biobtreeR ~ 36 MB db size
./biobtree -d go,hgnc,uniprot,ensembl,interpro --uniprot.file ../../test_data/RdemoData/uniprot_sample.xml.gz --interpro.file ../../test_data/RdemoData/interpro_sample.xml.gz --ensembl.file ../../test_data/RdemoData/human.chr.21.gff3.gz --go.file ../../test_data/RdemoData/go_sample.owl -tax 9606 -idx demo update
prepCache "demo" "36000000"

### CACHE 1 datasets with above ensembl genomes except mouse strains. ~ 5.2 db size

./biobtree -d hgnc,hmdb,uniprot,taxonomy,go,efo,eco,chebi,interpro -tax 9606,10090,4932,3702,7227,6239,562,511145,83333,7955,9031,10116 -x --skip-ensembl -idx cacheset1 update
Expand All @@ -110,5 +114,4 @@ prepCache "set2" "4100000000"
./biobtree -d hgnc,hmdb,uniprot,taxonomy,go,efo,eco,chebi,interpro -x -idx cacheset3 update
prepCache "set3" "3600000000"


clearConfs
2 changes: 1 addition & 1 deletion scripts/release.bat
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ IF EXIST [biobtree_Windwos_64bit.zip] (

go build

7z.exe a biobtree_Windwos_64bit.zip biobtree.exe
7z.exe a biobtree_Windows_64bit.zip biobtree.exe
4 changes: 4 additions & 0 deletions update/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ func NewDataUpdate(datasets map[string]bool, targetDatasets, ensemblSpecies, ens
}
}

if orthologsAll {
orthologs = true
}

return &DataUpdate{
invalidXrefs: util.NewHashMap(300),
sampleXrefs: util.NewHashMap(400),
Expand Down

0 comments on commit 32b3953

Please sign in to comment.