Skip to content

Commit

Permalink
Merge pull request #28 from biomedbigdata/eqtl_mapping
Browse files Browse the repository at this point in the history
added eqtl mapping to e2e
  • Loading branch information
juli-p authored Feb 22, 2024
2 parents 7cecdbd + b930a08 commit 94b6118
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ cmake-*
data/**
!data/dbSNP
!data/BIOGRID
!data/eqtl_mapping

# .DS_Store files
*.DS_Store
Expand Down
2 changes: 2 additions & 0 deletions docker/NeEDL/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ COPY quepistasis ./quepistasis
# copy files in /data
COPY data/dbSNP/inc_pseudogenes /NeEDL/data/dbSNP/inc_pseudogenes
COPY data/BIOGRID /NeEDL/data/BIOGRID
COPY data/eqtl_mapping /NeEDL/data/eqtl_mapping

# initialize everything needed for the build and build all targets
RUN python3.10 install.py --clean --skip-vcpkg-setup --system-boost && \
Expand Down Expand Up @@ -81,6 +82,7 @@ RUN apt-get update -y && apt-get install -y python3.10 python3.10-dev sqlite3 g+
COPY --from=build /NeEDL/test/model/bin/* /NeEDL/test/model/bin/
COPY --from=build /NeEDL/data/dbSNP/inc_pseudogenes/snps_restruc_full_inc_pseudo.csv /NeEDL/data/dbSNP/inc_pseudogenes/snps_restruc_full_inc_pseudo.csv
COPY --from=build /NeEDL/data/BIOGRID/BIOGRID-ORGANISM-Homo_sapiens-3.5.182.tab2.txt /NeEDL/data/BIOGRID/BIOGRID-ORGANISM-Homo_sapiens-current.tab2.txt
COPY --from=build /NeEDL/data/eqtl_mapping/eqtl_mapping.csv /NeEDL/data/eqtl_mapping/eqtl_mapping.csv
COPY --from=build /NeEDL/ext/plink/plink_linux_x86_64_20230116/ /NeEDL/ext/plink/plink_linux_x86_64_20230116/

# create symlinks for all created binaries
Expand Down
1 change: 1 addition & 0 deletions install.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ def extract_resources(args):
extract_all_zips_in_folder("data/dbSNP/inc_pseudogenes")
extract_all_zips_in_folder("data/dbSNP/no_pseudogenes")
extract_all_zips_in_folder("data/GRN")
extract_all_zips_in_folder("data/eqtl_mapping")
extract_all_zips_in_folder("data/PositionBasedInputModule/snp_balanced_tree")
extract_all_zips_in_folder("data/PositionBasedInputModule/snp_hashmaps")
extract_all_zips_in_folder("data/PositionBasedInputModule/gene_balanced_tree")
Expand Down
16 changes: 16 additions & 0 deletions test/e2e/test_container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,22 @@ python ./run/NeEDL.py \
"--ms-model" "PENETRANCE_NLL"


# check that eqtl_mapping works
python ./run/NeEDL.py \
--docker-image-name "$1" \
--docker-no-pulling \
"--num-threads" "1" \
"--output-directory" "$out_dir" \
"--input-format" "JSON_EPIGEN" \
"--input-path" "$dummy_dataset" \
"--phenotype" "DICHOTOMOUS" \
"--snp-annotate-eQTL" \
"--network-BIOGRID" \
"--ms-seeding-routine" "RANDOM_CONNECTED" \
"--ms-rc-start-seeds" "5" \
"--ms-model" "PENETRANCE_NLL"


# test that custom annotation files and custom networks work
annotation_file=$(realpath ./data/e2e_tests/annotations.csv)
network_file=$(realpath ./data/e2e_tests/network.csv)
Expand Down

0 comments on commit 94b6118

Please sign in to comment.