-
Notifications
You must be signed in to change notification settings - Fork 1
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
Docker vn #6
Open
rajatkapoordfci
wants to merge
18
commits into
main
Choose a base branch
from
docker_vn
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Docker vn #6
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
093a1bf
first commit
rajatkapoordfci f69d115
removed test file
rajatkapoordfci 8473376
removed png file
rajatkapoordfci 733b1e6
removed neo directory
rajatkapoordfci c2cd596
removed test directory
rajatkapoordfci d9dcc34
removed extra files
rajatkapoordfci 6a4070d
removed extra files
rajatkapoordfci 3508e9f
removed extra files
rajatkapoordfci b35ec55
removed extra files
rajatkapoordfci 67a411d
added variation normalizer files
rajatkapoordfci 917c6d2
added all variation normalizer files
rajatkapoordfci 4f9780e
removed GRCh data files
rajatkapoordfci 5c47df0
removed pip lock file
rajatkapoordfci 020297a
added details of uta and seqrepo docker process
rajatkapoordfci 564bb0f
dynamo db and variation-normalizer
rajatkapoordfci 4de9a04
formatting changes
rajatkapoordfci 86b9871
more formatting changes
rajatkapoordfci bd3a02c
corrected line breaks
rajatkapoordfci 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 was deleted.
Oops, something went wrong.
This file contains 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 @@ | ||
3.9.1 |
This file contains 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,25 @@ | ||
cff-version: 1.2.0 | ||
message: "If you use this software, please cite it as below." | ||
authors: | ||
- family-names: "Kuzma" | ||
given-names: "Kori" | ||
- family-names: "Stevenson" | ||
given-names: "James" | ||
- family-names: "Liu" | ||
given-names: "Jiachen" | ||
- family-names: "Coffman" | ||
given-names: "Adam" | ||
- family-names: "Henkenjohann" | ||
given-names: "Richard" | ||
- family-names: "Babb" | ||
given-names: "Lawrence" | ||
- family-names: "Liu" | ||
given-names: "Xuelu" | ||
- family-names: "Wagner" | ||
given-names: "Alex H." | ||
orcid: "https://orcid.org/0000-0002-2502-8961" | ||
doi: 10.5281/zenodo.5894937 | ||
title: "VICC Variation Normalization Service" | ||
version: 0.2.16dev | ||
date-released: 2022-01-23 | ||
url: "https://github.com/cancervariants/variation-normalization" |
This file contains 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 @@ | ||
# A simple container for variant-service. | ||
# Runs service on port 80. | ||
# Healthchecks service up every 5m. | ||
|
||
FROM python:3.9 | ||
RUN apt update ; apt install -y rsync | ||
RUN pip install pipenv uvicorn[standard] | ||
ENV SEQREPO_ROOT_DIR=/usr/local/share/seqrepo/2021-01-29 | ||
#ENV GENE_NORM_DB_URL=http://localhost:8001 | ||
ENV GENE_NORM_DB_URL=http://dynamodb:8001 | ||
ENV AWS_ACCESS_KEY_ID = 'DUMMYIDEXAMPLE' | ||
ENV AWS_SECRET_ACCESS_KEY = 'DUMMYEXAMPLEKEY' | ||
ENV AWS_DEFAULT_REGION = 'us-west-2' | ||
COPY . /app | ||
WORKDIR /app | ||
RUN if [ ! -f "Pipfile.lock" ] ; then pipenv lock ; else echo Pipfile.lock exists ; fi | ||
RUN pipenv sync | ||
EXPOSE 80 | ||
HEALTHCHECK --interval=5m --timeout=3s \ | ||
CMD curl -f http://localhost/variation || exit 1 | ||
|
||
CMD pipenv run uvicorn variation.main:app --log-level debug --port 80 --host 0.0.0.0 | ||
#CMD pipenv run uvicorn variation.main:app --reload |
This file contains 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,18 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<module type="PYTHON_MODULE" version="4"> | ||
<component name="GoLibraries"> | ||
<option name="urls"> | ||
<set> | ||
<option value="file://$MODULE_DIR$" /> | ||
</set> | ||
</option> | ||
</component> | ||
<component name="NewModuleRootManager" inherit-compiler-output="true"> | ||
<exclude-output /> | ||
<content url="file://$MODULE_DIR$"> | ||
<excludeFolder url="file://$MODULE_DIR$/build" /> | ||
</content> | ||
<orderEntry type="jdk" jdkName="Python 3.6 (NEWRELEASE)" jdkType="Python SDK" /> | ||
<orderEntry type="sourceFolder" forTests="false" /> | ||
</component> | ||
</module> |
This file contains 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,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2018-2023 VICC | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains 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 @@ | ||
[[source]] | ||
name = "pypi" | ||
url = "https://pypi.org/simple" | ||
verify_ssl = true | ||
|
||
[dev-packages] | ||
pytest = "*" | ||
pytest-asyncio = "*" | ||
pytest-cov = "*" | ||
pre-commit = "*" | ||
variation-normalizer = {editable = true, path = "."} | ||
jupyter = "*" | ||
ipykernel = "*" | ||
psycopg2-binary = "*" | ||
ruff = "*" | ||
black = "*" | ||
|
||
[packages] | ||
"biocommons.seqrepo" = "*" | ||
fastapi = "*" | ||
uvicorn = "*" | ||
pydantic = "==2.*" | ||
"ga4gh.vrs" = {version = "~=2.0.0a2", extras = ["extras"]} | ||
gene-normalizer = "~=0.3.0.dev1" | ||
boto3 = "*" | ||
cool-seq-tool = "~=0.4.0.dev1" | ||
bioutils = "*" |
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this the only file you changed? If so, I think this work actually belongs in the Variation Normalizer repo. Sorry about the confusion!