Skip to content

Commit

Permalink
Merge pull request #368 from DEploid-dev/use_vcf_lib
Browse files Browse the repository at this point in the history
Use vcf lib
  • Loading branch information
shajoezhu authored Nov 24, 2024
2 parents 225b84d + f2572e2 commit be518b1
Show file tree
Hide file tree
Showing 12 changed files with 11 additions and 1,760 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@
[submodule "utilities"]
path = utilities
url = https://github.com/DEploid-dev/DEploid-Utilities
[submodule "src/vcf"]
path = src/vcf
url = https://github.com/DEploid-dev/DEploid-vcf-lib.git
16 changes: 7 additions & 9 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ TESTS = unit_tests io_unit_tests
check_PROGRAMS = unit_tests dEploid_dbg io_unit_tests current_unit_tests # dEploid_prof
PROG = DEPLOID

common_flags = -std=c++17 -Isrc/ -DDEPLOIDVERSION=\"${DEPLOIDVERSION}\" -DLASSOVERSION=\"${LASSOVERSION}\" -DCOMPILEDATE=\"${COMPILEDATE}\" -Wall -Wextra
common_flags = -std=c++17 -Isrc/ -Isrc/vcf/src/ -DDEPLOIDVERSION=\"${DEPLOIDVERSION}\" -DLASSOVERSION=\"${LASSOVERSION}\" -DCOMPILEDATE=\"${COMPILEDATE}\" -Wall -Wextra

common_LDADD = -lz

Expand All @@ -32,17 +32,17 @@ common_src = src/random/fastfunc.cpp \
src/dEploidIO-operation.cpp \
src/dEploidIO-workflow.cpp \
src/updateHap.cpp \
src/txtReader.cpp \
src/vcfReader.cpp \
src/variantIndex.cpp \
src/gzstream/gzstream.cpp \
src/vcf/src/txtReader.cpp \
src/vcf/src/vcfReader.cpp \
src/vcf/src/variantIndex.cpp \
src/vcf/src/gzstream/gzstream.cpp \
src/export/dEploidIOExport.cpp \
src/export/dEploidIOExportPosteriorProb.cpp \
src/export/writeMcmcRelated.cpp \
src/lasso/src/lasso.cpp \
src/lasso/src/dEploidLasso.cpp

debug_src = src/debug/mcmcDebug.cpp src/debug/vcfReaderDebug.cpp \
debug_src = src/debug/mcmcDebug.cpp src/vcf/src/vcfReaderDebug.cpp \
src/lasso/src/lassoDBG.cpp

dEploid_SOURCES = src/dEploid.cpp $(common_src)
Expand Down Expand Up @@ -72,9 +72,7 @@ unit_tests_LDADD = -lcppunit -ldl $(common_LDADD)

io_unit_tests_SOURCES = $(common_src) \
tests/unittest/test_runner.cpp \
tests/unittest/test_dEploidIO.cpp \
tests/unittest/test_txtReader.cpp \
tests/unittest/test_vcfReader.cpp
tests/unittest/test_dEploidIO.cpp

io_unit_tests_CXXFLAGS = $(common_flags) -DNDEBUG -DUNITTEST -Wno-write-strings --coverage
io_unit_tests_LDADD = -lcppunit -ldl $(common_LDADD)
Expand Down
35 changes: 0 additions & 35 deletions src/debug/vcfReaderDebug.cpp

This file was deleted.

235 changes: 0 additions & 235 deletions src/txtReader.cpp

This file was deleted.

Loading

0 comments on commit be518b1

Please sign in to comment.