Compare commits

...

11 Commits
4.0.0 ... 4.0.1

Author SHA1 Message Date
pschmidtke
71637e923f update for osx 2021-11-17 16:21:03 +01:00
pschmidtke
127c60a49b last fixes for cif support for models 2021-11-16 21:47:15 +01:00
pschmidtke
3a60a4c86e adding mac 2021-11-16 21:41:09 +01:00
pschmidtke
91e3d2dbbe debug env with molfileplugin for linux 2021-11-16 21:40:22 +01:00
pschmidtke
f99a6ed96d pdbxpluging update 2021-11-15 21:46:24 +01:00
pschmidtke
855bad8cce update molfilepluging linux & osx 2021-11-10 15:16:39 +01:00
pschmidtke
5408f01005 support for model flag even no model is available 2021-11-09 22:02:24 +01:00
pschmidtke
2acab799f4 adding sample NMR structure 2021-11-09 22:01:36 +01:00
pschmidtke
edfd87c188 support for OSX & residue selection on mmcif 2021-11-09 21:10:03 +01:00
pschmidtke
5e3b4f31dc adding new dockerfile 2021-11-04 07:47:56 +01:00
pschmidtke
8bcf81635e adding dockerfile for debian-slim distrib 2021-11-03 18:31:49 +01:00
218 changed files with 65664 additions and 26735 deletions

1
.dockerignore Normal file
View File

@@ -0,0 +1 @@
*.o

1
.gitignore vendored
View File

@@ -5,3 +5,4 @@ src/qhull/bin/
src/qhull/lib/libqhullstatic_r.a
src/qhull/lib/libqhullstatic.a
*.pyc
vmd/plugins

22
Dockerfile-debian-slim Normal file
View File

@@ -0,0 +1,22 @@
FROM debian:bullseye-slim
RUN groupadd -r fpocket && useradd --no-log-init -r -g fpocket fpocket
RUN apt update -y && apt install -y gcc g++ make libnetcdf-dev && rm -rf /var/lib/apt/lists/*
# all of this mess is essentially to have a minimalistic build at the end
COPY makefile /opt/fpocket/
COPY src /opt/fpocket/src
COPY man /opt/fpocket/man
COPY headers /opt/fpocket/headers
COPY obj /opt/fpocket/obj
COPY scripts /opt/fpocket/scripts
COPY bin /opt/fpocket/bin
COPY plugins/LINUXAMD64 /opt/fpocket/plugins/LINUXAMD64
COPY plugins/include /opt/fpocket/plugins/include
COPY plugins/noarch /opt/fpocket/plugins/noarch
WORKDIR /opt/fpocket
RUN make && make install && make clean
USER fpocket
WORKDIR /tmp
CMD ["fpocket"]

29
Dockerfile-molfile-debug Normal file
View File

@@ -0,0 +1,29 @@
FROM ubuntu:latest
RUN groupadd -r fpocket && useradd --no-log-init -r -g fpocket fpocket
ENV DEBIAN_FRONTEND=noninteractive
ENV PLUGINDIR=compiled
RUN apt update -y && apt install -y vim gdb gcc g++ make libnetcdf-dev && rm -rf /var/lib/apt/lists/*
# all of this mess is essentially to have a minimalistic build at the end
COPY vmd /vmd
WORKDIR /vmd/plugins
RUN make LINUXAMD64 && make distrib
COPY makefile /opt/fpocket/
COPY src /opt/fpocket/src
COPY data/sample /opt/fpocket/sample
COPY man /opt/fpocket/man
COPY headers /opt/fpocket/headers
COPY obj /opt/fpocket/obj
COPY scripts /opt/fpocket/scripts
COPY bin /opt/fpocket/bin
COPY plugins/LINUXAMD64 /opt/fpocket/plugins/LINUXAMD64
COPY plugins/include /opt/fpocket/plugins/include
COPY plugins/noarch /opt/fpocket/plugins/noarch
WORKDIR /opt/fpocket
RUN cp -r /vmd/plugins/molfile_plugin/compiled/LINUXAMD64/molfile/* plugins/LINUXAMD64/molfile/
#RUN make && make install && make clean
USER fpocket
WORKDIR /tmp
CMD ["fpocket"]

33103
data/sample/1ttv.cif Normal file

File diff suppressed because it is too large Load Diff

32275
data/sample/1ttv.pdb Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -28,6 +28,8 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
float pte_get_vdw_ray(const char *symbol) ;
float pte_get_mass(const char *symbol) ;
float pte_get_enegativity(const char *symbol) ;
float pte_get_enegativity_from_number(int atomicnumber) ;
char *pte_get_element_from_number(int atomicnumber);
int is_valid_element(const char *str, int ignore_case) ;
int element_in_std_res(char *res_name);
int element_in_nucl_acid(char *res_name);

View File

@@ -89,6 +89,8 @@ typedef struct s_pdb
char header[M_PDB_BUF_LEN] ; /**< Header container*/
char fname[M_PDB_FILE_NAME_LEN]; /**< File name container*/
float avg_bfactor; /**<overall average B factor*/
int model_flag; /**<flag set to 1 if a particular model / conformation was read*/
int model_number; /**<number of the model read in*/
} s_pdb ;

View File

@@ -1,6 +1,7 @@
#------------------------------------------------------------
# Makefile.
#------------------------------------------------------------
#ARCH = MACOSXX86_64
ARCH = LINUXAMD64
export ARCH
@@ -12,8 +13,11 @@ PATH_HEADER = headers/
PATH_BIN = bin/
PATH_MAN = man/
PATH_QHULL = src/qhull/src
PATH_LIB = $(PLUGINDIR)/$(ARCH)/molfile/
BINDIR = /usr/local/bin/
LIBDIR = /usr/local/lib/
MANDIR = /usr/local/man/man8/
@@ -48,7 +52,8 @@ QCFLAGS = -O -g -pg -ansi
LGSL = -L$(PATH_GSL)lib -lgsl -lgslcblas
LFLAGS = -lm -L$(PLUGINDIR)/$(ARCH)/molfile $(PLUGINDIR)/$(ARCH)/molfile/libmolfile_plugin.a -lstdc++
NETCDFFLAGS = -lnetcdf
NETCDFFLAGS =
#-lnetcdf
#
#------------------------------------------------------------
@@ -180,6 +185,7 @@ install:
cp $(PATH_BIN)$(DPOCKET) $(BINDIR)
cp $(PATH_BIN)$(MDPOCKET) $(BINDIR)
cp $(PATH_MAN)* $(MANDIR)
cp $(PATH_LIB)* $(LIBDIR)
check:
./$(PATH_BIN)$(CHECK)

View File

@@ -207,6 +207,9 @@ extern int molfile_maeffplugin_fini(void);
extern int molfile_orcaplugin_init(void);
extern int molfile_orcaplugin_register(void *, vmdplugin_register_cb);
extern int molfile_orcaplugin_fini(void);
extern int molfile_qcschemaplugin_init(void);
extern int molfile_qcschemaplugin_register(void *, vmdplugin_register_cb);
extern int molfile_qcschemaplugin_fini(void);
#define MOLFILE_INIT_ALL \
molfile_abinitplugin_init(); \
@@ -276,6 +279,7 @@ extern int molfile_orcaplugin_fini(void);
molfile_dtrplugin_init(); \
molfile_maeffplugin_init(); \
molfile_orcaplugin_init(); \
molfile_qcschemaplugin_init(); \
#define MOLFILE_REGISTER_ALL(v, cb) \
molfile_abinitplugin_register(v, cb); \
@@ -345,6 +349,7 @@ extern int molfile_orcaplugin_fini(void);
molfile_dtrplugin_register(v, cb); \
molfile_maeffplugin_register(v, cb); \
molfile_orcaplugin_register(v, cb); \
molfile_qcschemaplugin_register(v, cb); \
#define MOLFILE_FINI_ALL \
molfile_abinitplugin_fini(); \
@@ -414,6 +419,7 @@ extern int molfile_orcaplugin_fini(void);
molfile_dtrplugin_fini(); \
molfile_maeffplugin_fini(); \
molfile_orcaplugin_fini(); \
molfile_qcschemaplugin_fini(); \
#ifdef __cplusplus
}

View File

@@ -204,6 +204,15 @@ extern int molfile_dtrplugin_fini(void);
extern int molfile_maeffplugin_init(void);
extern int molfile_maeffplugin_register(void *, vmdplugin_register_cb);
extern int molfile_maeffplugin_fini(void);
extern int molfile_netcdfplugin_init(void);
extern int molfile_netcdfplugin_register(void *, vmdplugin_register_cb);
extern int molfile_netcdfplugin_fini(void);
extern int molfile_vtfplugin_init(void);
extern int molfile_vtfplugin_register(void *, vmdplugin_register_cb);
extern int molfile_vtfplugin_fini(void);
extern int molfile_webpdbplugin_init(void);
extern int molfile_webpdbplugin_register(void *, vmdplugin_register_cb);
extern int molfile_webpdbplugin_fini(void);
#define MOLFILE_INIT_ALL \
molfile_abinitplugin_init(); \
@@ -272,6 +281,9 @@ extern int molfile_maeffplugin_fini(void);
molfile_xyzplugin_init(); \
molfile_dtrplugin_init(); \
molfile_maeffplugin_init(); \
molfile_netcdfplugin_init(); \
molfile_vtfplugin_init(); \
molfile_webpdbplugin_init(); \
#define MOLFILE_REGISTER_ALL(v, cb) \
molfile_abinitplugin_register(v, cb); \
@@ -340,6 +352,9 @@ extern int molfile_maeffplugin_fini(void);
molfile_xyzplugin_register(v, cb); \
molfile_dtrplugin_register(v, cb); \
molfile_maeffplugin_register(v, cb); \
molfile_netcdfplugin_register(v, cb); \
molfile_vtfplugin_register(v, cb); \
molfile_webpdbplugin_register(v, cb); \
#define MOLFILE_FINI_ALL \
molfile_abinitplugin_fini(); \
@@ -408,6 +423,9 @@ extern int molfile_maeffplugin_fini(void);
molfile_xyzplugin_fini(); \
molfile_dtrplugin_fini(); \
molfile_maeffplugin_fini(); \
molfile_netcdfplugin_fini(); \
molfile_vtfplugin_fini(); \
molfile_webpdbplugin_fini(); \
#ifdef __cplusplus
}

Some files were not shown because too many files have changed in this diff Show More