Skip to content

Commit

Permalink
reorg this project.
Browse files Browse the repository at this point in the history
  • Loading branch information
beyondpie committed Apr 10, 2020
1 parent 6a6ab3a commit e570bce
Show file tree
Hide file tree
Showing 100 changed files with 33 additions and 307 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,4 @@
/dev/testCMAKE/build/testRead
/dev/testCMAKE/testRead
/data/.DS_Store
.DS_Store
5 changes: 0 additions & 5 deletions README.md

This file was deleted.

25 changes: 25 additions & 0 deletions README.org
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
* GIFT
An algorithm called [[http://bioinfo.au.tsinghua.edu.cn/software/GIFT/ ][GIFT]] is used to infer the chemogenmic information based on
drug-protein interactions. Here chemogenomic information means the interactions
between the chemical substructures and protein domains. An Expection-Maximum
algorithm is then derived.

Note: the updated version is maintained on GitHub.

** How to install
*** C++ Version [Recommend]
- Download and install [[http://www.boost.org/][Boost C++ Library]]
- Download and install [[http://www.gnu.org/software/gsl/][GSL-GNU]] Scientific Library.
- Make sure append the boost and gsl include dir to the makefile *CFLAGS*.

Then use make command directly,
#+BEGIN_SRC shell
make install
#+END_SRC

The binary file will be installed under the dirctory *bin*

*** Matlab Version
Please check the codes under *matlab_version* directory.
** How to usage GIFT
Please check the GIFT_UserManual under *doc* directory.
299 changes: 0 additions & 299 deletions doc/GIFT.tex

This file was deleted.

10 changes: 7 additions & 3 deletions code/v_1/src_cpp/makefile → makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,21 @@ GCC = g++
CFLAGS = -lboost_thread -lgsl -lgslcblas -lstdc++ -Wall -O3
OBJDIR = obj
SRCDIR = src
BIN = bin
BINDIR = bin
SRCS = $(notdir $(wildcard $(SRCDIR)/*.cpp))
OBJS = $(patsubst %.cpp, $(OBJDIR)/%.o, $(SRCS))
TARGET = $(BIN)/$(NAME)
TARGET = $(BINDIR)/$(NAME)

$(TARGET):$(OBJS)
-mkdir -p ${BINDIR}
$(GCC) -g $(CFLAGS) -o $@ $^
$(OBJDIR)/%.o : $(SRCDIR)/%.cpp
-mkdir -p ${OBJDIR}
$(GCC) -c -o $@ $<

.PHONY: install
install: ${TARGET}

.PHONY: clean
clean:
-rm $(TARGET) $(OBJDIR)/*.o

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file added test/dev/doc/.DS_Store
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit e570bce

Please sign in to comment.