Skip to content

Commit

Permalink
Merge pull request #21 from ave-dcd/Transcripts
Browse files Browse the repository at this point in the history
Transcripts
  • Loading branch information
afrubin authored Dec 13, 2023
2 parents 32b9dfe + 8d5fba7 commit de52ed6
Show file tree
Hide file tree
Showing 26 changed files with 369 additions and 127 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Python package

on: [push]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
env:
PATH_TO_SEQREPO: ./tests/data/seqrepo/latest
HG38_FILE: ./tests/data/hg38.2bit

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Test with pytest
env:
PATH_TO_SEQREPO: ./tests/data/seqrepo/latest
HG38_FILE: ./tests/data/hg38.2bit
GENE_NORM_DB_URL: postgres://postgres@localhost:5432/gene_normalizer

run: |
export PYTHONPATH="${PYTHONPATH}:$(pwd)"
pytest
8 changes: 0 additions & 8 deletions blat_out.psl

This file was deleted.

5 changes: 0 additions & 5 deletions blat_output_test.txt

This file was deleted.

2 changes: 0 additions & 2 deletions blat_query.fa

This file was deleted.

12 changes: 8 additions & 4 deletions mavedb_mapping/__init__.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@

import os
from gene.query import QueryHandler
from gene.database import create_db
from biocommons.seqrepo import SeqRepo
from ga4gh.vrs.dataproxy import SeqRepoDataProxy

from cool_seq_tool.data_sources.uta_database import UTADatabase

from ga4gh.vrs.dataproxy import SeqRepoDataProxy

from gene.query import QueryHandler
from gene.database import create_db

path_to_seqrepo = os.getenv("PATH_TO_SEQREPO", "/usr/local/share/seqrepo/latest")
path_to_hg38_file = os.getenv("HG38_FILE", "hg38.2bit") # default- in current directory
data_file_path = "mavedb_mapping/tests/data/"
data_file_path = "tests/data/"

# utadb = UTADatabase(db_pwd="uta")
qh = QueryHandler(create_db())
Expand Down
Loading

0 comments on commit de52ed6

Please sign in to comment.