Skip to content

Commit

Permalink
Adjusting path to new varfish-annotator db download (#546).
Browse files Browse the repository at this point in the history
Closes: #546
Related-Issue: #546
Projected-Results-Impact: none
  • Loading branch information
holtgrewe committed Jun 21, 2022
1 parent f038816 commit a22a2f5
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 20 deletions.
2 changes: 2 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ End-User Summary
- Fixed broken VariantValidator query (#523).
- Fixed smallvariant flags filter query (#502).
- Added flags `segregates`, `doesnt_segregate` and `no_disease_association` to file export (#502).
- Adjusting path to new varfish-annotator db download (#546).

Full Change List
================
Expand Down Expand Up @@ -57,6 +58,7 @@ Full Change List
- Converted not cooperative tooltip to standard title on Filter & Display button (#508).
- Fixed smallvariant flags filter query (#502).
- Added flags `segregates`, `doesnt_segregate` and `no_disease_association` to file export (#502).
- Adjusting path to new varfish-annotator db download (#546).

------
v1.2.0
Expand Down
30 changes: 15 additions & 15 deletions docs_manual/admin_ingest.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,19 @@ The downloaded archive has a size of ~10 GB while the extracted data has a size
.. code-block:: bash
$ GENOME=grch37 # alternatively use grch38
$ RELEASE=20210728
$ mkdir varfish-annotator-20210728-$GENOME
$ cd varfish-annotator-20210728-$GENOME
$ RELEASE=20210728b
$ mkdir varfish-annotator-$RELEASE-$GENOME
$ cd varfish-annotator-$RELEASE-$GENOME
$ wget --no-check-certificate \
https://file-public.cubi.bihealth.org/transient/varfish/anthenea/varfish-annotator-db-$RELEASE-$GENOME.h2.db.gz{,.sha256} \
https://file-public.cubi.bihealth.org/transient/varfish/anthenea/jannovar-db-$RELEASE-$GENOME.tar.gz{,.sha256}
$ sha256sum --check varfish-annotator-db-$RELEASE-$GENOME.h2.db.gz.sha256
varfish-annotator-db-20210728-grch37.h2.db.gz: OK
varfish-annotator-db-$RELEASE-grch37.h2.db.gz: OK
$ sha256sum --check jannovar-db-$RELEASE-$GENOME.tar.gz.sha256
jannovar-db-20210728-grch37.tar.gz: OK
jannovar-db-$RELEASE-grch37.tar.gz: OK
$ gzip -d varfish-annotator-db-$RELEASE-$GENOME.h2.db.gz
$ tar xf jannovar-db-$RELEASE-$GENOME.tar.gz
$ rm jannovar-db-20210728-$RELEASE.tar.gz{,.sha256} \
$ rm jannovar-db-$RELEASE-$RELEASE.tar.gz{,.sha256} \
varfish-annotator-db-$RELEASE-$GENOME.h2.db.gz.sha256
$ mv jannovar-db-$RELEASE-$GENOME/* .
$ rmdir jannovar-db-$RELEASE-$GENOME
Expand Down Expand Up @@ -100,9 +100,9 @@ You must provide an bgzip-compressed VCF file ``INPUT.vcf.gz``
-XX:MaxHeapSize=10g \
-XX:+UseConcMarkSweepGC \
annotate \
--db-path varfish-annotator-20210728-$GENOME/varfish-annotator-db-$RELEASE-$GENOME.h2.db \
--ensembl-ser-path varfish-annotator-20210728-$GENOME/ensembl*.ser \
--refseq-ser-path varfish-annotator-20210728-$GENOME/refseq_curated*.ser \
--db-path varfish-annotator-$RELEASE-$GENOME/varfish-annotator-db-$RELEASE-$GENOME.h2.db \
--ensembl-ser-path varfish-annotator-$RELEASE-$GENOME/ensembl*.ser \
--refseq-ser-path varfish-annotator-$RELEASE-$GENOME/refseq_curated*.ser \
--ref-path $REFERENCE \
--input-vcf "INPUT.vcf.gz" \
--release "$GENOME" \
Expand Down Expand Up @@ -132,9 +132,9 @@ While only release GRCh37/hg19 is supported, using a file with UCSC-style chromo
:lineno-start: 4
:dedent: 0
--db-path varfish-annotator-20210728-$GENOME/varfish-annotator-db-$RELEASE-$GENOME.h2.db \
--ensembl-ser-path varfish-annotator-20210728-$GENOME/ensembl*.ser \
--refseq-ser-path varfish-annotator-20210728-$GENOME/refseq_curated*.ser \
--db-path varfish-annotator-$RELEASE-$GENOME/varfish-annotator-db-$RELEASE-$GENOME.h2.db \
--ensembl-ser-path varfish-annotator-$RELEASE-$GENOME/ensembl*.ser \
--refseq-ser-path varfish-annotator-$RELEASE-$GENOME/refseq_curated*.ser \
--ref-path $REFERENCE \
The following lines provide the path to the input VCF file, specify the release name (must be ``GRCh37``) and the name of the case as written out.
Expand Down Expand Up @@ -221,9 +221,9 @@ Structural variants can be annotated as follows.
--default-sv-method=YOURCALLERvVERSION"
--release $GENOME \
\
--db-path varfish-annotator-20210728-$GENOME/varfish-annotator-db-$RELEASE-$GENOME.h2.db \
--ensembl-ser-path varfish-annotator-20210728-$GENOME/ensembl*.ser \
--refseq-ser-path varfish-annotator-20210728-$GENOME/refseq_curated*.ser \
--db-path varfish-annotator-$RELEASE-$GENOME/varfish-annotator-db-$RELEASE-$GENOME.h2.db \
--ensembl-ser-path varfish-annotator-$RELEASE-$GENOME/ensembl*.ser \
--refseq-ser-path varfish-annotator-$RELEASE-$GENOME/refseq_curated*.ser \
\
--input-vcf FAM_sv_calls.vcf.gz \
--output-db-info FAM_sv_calls.db-info.tsv \
Expand Down
10 changes: 5 additions & 5 deletions docs_manual/admin_install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ We currently only provide prebuilt databases for either GRCh37 or GRCh38.

.. code-block:: bash
$ wget --no-check-certificate https://file-public.cubi.bihealth.org/transient/varfish/anthenea/varfish-site-data-v1-20210728-grch37.tar.gz{,.sha256}
$ sha256sum --check varfish-site-data-v1-20210728-grch37.tar.gz.sha256
$ tar xf varfish-site-data-v1-20210728-grch37.tar.gz
$ wget --no-check-certificate https://file-public.cubi.bihealth.org/transient/varfish/anthenea/varfish-site-data-v1-20210728b-grch37.tar.gz{,.sha256}
$ sha256sum --check varfish-site-data-v1-20210728b-grch37.tar.gz.sha256
$ tar xf varfish-site-data-v1-20210728b-grch37.tar.gz
$ ls volumes
exomiser jannovar minio postgres redis traefik
Expand Down Expand Up @@ -219,13 +219,13 @@ Modify the ``docker-compose.yml`` file by finding the following entry::
- varfish
restart: unless-stopped
volumes:
- "/root/varfish-server-background-db-20210728:/data:ro"
- "/root/varfish-server-background-db-20210728b:/data:ro"
[...]

And add another volume that maps your directory into the container::

volumes:
- "/root/varfish-server-background-db-20210728:/data:ro"
- "/root/varfish-server-background-db-20210728b:/data:ro"
- type: bind
source: varfish-db-downloader/
target: /data-db-downloader
Expand Down

0 comments on commit a22a2f5

Please sign in to comment.