Skip to content

Commit

Permalink
minor usage notes
Browse files Browse the repository at this point in the history
  • Loading branch information
jsstevenson committed Nov 26, 2024
1 parent d727cc6 commit 92835d9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ All instances of variations are stored with an associated file URI to support la
% vrsix load chr1.vcf gs://my_stuff/chr1.vcf
```

By default, all records are ingested into a sqlite file located at `~/.local/share/vrsix.db`. This can be overridden with either the environment variable `VRS_VCF_INDEX`, or with an optional flag:
By default, all records are ingested into a sqlite file located at `~/.local/share/vrsix.db`. This can be overridden with either the environment variable `VRS_VCF_INDEX`, or with an optional flag to the CLI:

```shell
vrsix load --db-location=./vrsix.db input.vcf
Expand Down
2 changes: 1 addition & 1 deletion src/vrsix/cli.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Provide CLI utility for interfacing with data load and fetch operations."""
"""Provide CLI utility for interfacing with data loading operations."""

import logging
from pathlib import Path
Expand Down
4 changes: 1 addition & 3 deletions src/vrsix/sqlite.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,5 @@
from pathlib import Path

DEFAULT_SQLITE_LOCATION = Path(
os.environ.get(
"VRS_VCF_INDEX", Path.home() / ".local" / "share" / "vrs_vcf_index.db"
)
os.environ.get("VRS_VCF_INDEX", Path.home() / ".local" / "share" / "vrsix.db")
)

0 comments on commit 92835d9

Please sign in to comment.