Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve conflicts with biocommons #46

Merged
merged 6 commits into from
Aug 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ aligning the same transcript to multiple references using multiple
alignment methods. Specifically, it facilitates the following:

- Querying for multiple transcript sources through a single interface
- Interpretating variants reported in literature against obsolete
- Interpreting variants reported in literature against obsolete
transcript records
- Identifying regions where transcript and reference genome sequence
assemblies disagree
Expand Down Expand Up @@ -243,11 +243,13 @@ the installation environment.*
uta_admin are likely to ease installation.

$ createuser -U postgres uta_admin
$ createuser -U postgres anonymous
$ createdb -U postgres -O uta_admin uta

3. Restore the database.

$ gzip -cdq uta_20150827.pgd.gz | psql -U uta_admin -1 -v ON_ERROR_STOP=1 -d uta -Eae
$ uta_v=uta_20210129b
$ gzip -cdq $uta_v.pgd.gz | psql -U uta_admin -1 -v ON_ERROR_STOP=1 -d uta -Eae

## Developer Setup

Expand Down
2 changes: 1 addition & 1 deletion misc/docker/load-uta.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ gzip -cdq < "${UTA_PGD_FN}" \

gzip -cdq < "${UTA_PGD_FN}" \
| perl -n \
-e 'm/CREATE SCHEMA (uta_\d+)/ && print("ALTER DATABASE :DBNAME SET search_path=$1;\n");' \
-e 'm/CREATE SCHEMA (uta_[\d\w]+)/ && print("ALTER DATABASE :DBNAME SET search_path=$1;\n");' \
-e 'print if s/CREATE MATERIALIZED VIEW (.\S+) AS/REFRESH MATERIALIZED VIEW $1;/' \
| psql -1e -U uta_admin -d uta -v ON_ERROR_STOP=1

Expand Down
Loading