-
Notifications
You must be signed in to change notification settings - Fork 0
feat!: Set up external dependencies using Docker #455
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
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| # Bytecode files | ||
| __pycache__/ | ||
| *.pyc | ||
| *.pyo | ||
|
|
||
| # Virtual environment | ||
| venv/ | ||
| .venv/ | ||
|
|
||
| # Debug and log files | ||
| *.log | ||
| debug*.txt | ||
|
|
||
| # Data and media | ||
| data/ | ||
| media/ | ||
|
|
||
| # Temporary files and directories | ||
| tmp/ | ||
| temp/ | ||
| *.swp | ||
|
|
||
| # IDE and OS files | ||
| .idea/ | ||
| .vscode/ | ||
| .DS_Store | ||
|
|
||
| # Distribution files | ||
| dist/ | ||
| build/ | ||
| *.egg-info/ | ||
|
|
||
| # Secrets | ||
| .env | ||
| .env.* | ||
| *.pem | ||
| *.key | ||
| *.crt | ||
| *.p12 | ||
| *.jks | ||
| secrets/ | ||
|
|
||
| # Git | ||
| .git/ | ||
| .gitignore | ||
|
|
||
| # Tests & coverage | ||
| tests/ | ||
| test/ | ||
| .pytest_cache/ | ||
| .coverage | ||
| htmlcov/ | ||
|
|
||
| # Docs / misc | ||
| README* | ||
| docs/ | ||
|
|
||
| # CI | ||
| .github/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -138,3 +138,6 @@ tpm3.fasta | |
|
|
||
| # VSCode | ||
| .vscode | ||
|
|
||
| # UTA download | ||
| uta_*pgd.gz | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| services: | ||
| uta: | ||
| # Test: | ||
| # psql -XAt postgres://anonymous@localhost/uta -c 'select count(*) from uta_20241220.transcript' | ||
| # 329090 | ||
| image: biocommons/uta:uta_20241220 | ||
| environment: | ||
| - POSTGRES_PASSWORD=some-password-that-you-make-up | ||
| volumes: | ||
| - uta_vol:/var/lib/postgresql/data | ||
| - type: bind | ||
| source: ./uta_20241220.pgd.gz | ||
| target: /tmp/uta_20241220.pgd.gz | ||
| read_only: true | ||
| bind: | ||
| create_host_path: false | ||
| - ./uta-setup.sql:/docker-entrypoint-initdb.d/uta-setup.sql | ||
| ports: | ||
| - 127.0.0.1:5432:5432 | ||
|
|
||
| volumes: | ||
| uta_vol: | ||
| external: true |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| \c uta; | ||
| CREATE TABLE uta_20241220.genomic AS | ||
| SELECT t.hgnc, aes.alt_ac, aes.alt_aln_method, | ||
| aes.alt_strand, ae.start_i AS alt_start_i, | ||
| ae.end_i AS alt_end_i | ||
| FROM (((((uta_20241220.transcript t | ||
| JOIN uta_20241220.exon_set tes ON (((t.ac = tes.tx_ac) | ||
| AND (tes.alt_aln_method = 'transcript'::text)))) | ||
| JOIN uta_20241220.exon_set aes ON (((t.ac = aes.tx_ac) | ||
| AND (aes.alt_aln_method <> 'transcript'::text)))) | ||
| JOIN uta_20241220.exon te ON | ||
| ((tes.exon_set_id = te.exon_set_id))) | ||
| JOIN uta_20241220.exon ae ON | ||
| (((aes.exon_set_id = ae.exon_set_id) | ||
| AND (te.ord = ae.ord)))) | ||
| LEFT JOIN uta_20241220.exon_aln ea ON | ||
| (((te.exon_id = ea.tx_exon_id) AND | ||
| (ae.exon_id = ea.alt_exon_id)))); | ||
|
|
||
| CREATE INDEX alt_pos_index ON uta_20241220.genomic (alt_ac, alt_start_i, alt_end_i); | ||
| CREATE INDEX gene_alt_index ON uta_20241220.genomic (hgnc, alt_ac); | ||
| CREATE INDEX alt_ac_index ON uta_20241220.genomic (alt_ac); | ||
|
|
||
| GRANT CONNECT ON DATABASE uta TO anonymous; | ||
| GRANT SELECT, INSERT, UPDATE, DELETE ON ALL TABLES IN SCHEMA uta_20241220 TO anonymous; | ||
| ALTER DATABASE uta OWNER TO anonymous; | ||
| ALTER SCHEMA uta_20241220 OWNER to anonymous; |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.