Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dssp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
dssp
Commits
f97843d8
Unverified
Commit
f97843d8
authored
Jan 04, 2024
by
Maarten L. Hekkelman
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'stephenturner/trunk' into develop
parents
d7a23b87
18921fa8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
80 additions
and
1 deletions
+80
-1
.dockerignore
+4
-0
Dockerfile
+46
-0
README.md
+30
-1
No files found.
.dockerignore
0 → 100644
View file @
f97843d8
Dockerfile
.dockerignore
README.md
\ No newline at end of file
Dockerfile
0 → 100644
View file @
f97843d8
FROM
ubuntu:22.04
ENV
TZ="Europe/Amsterdam"
RUN
apt-get update
&&
\
apt-get install
-yq
tzdata
&&
\
ln
-fs
/usr/share/zoneinfo/Europe/Amsterdam /etc/localtime
&&
\
dpkg-reconfigure
-f
noninteractive tzdata
&&
\
apt install
-y
build-essential cmake zlib1g-dev git libeigen3-dev
WORKDIR
/build
# Build and install libcifpp
# https://github.com/PDB-REDO/libcifpp
RUN
cd
/build
&&
\
git clone https://github.com/PDB-REDO/libcifpp.git
&&
\
cd
libcifpp
&&
\
cmake
-S
.
-B
build
-DCMAKE_BUILD_TYPE
=
Release
\
-DBUILD_TESTING
=
OFF
-DCIFPP_DOWNLOAD_CCD
=
OFF
&&
\
cmake
--build
build
-j
$(
nproc
)
&&
\
cmake
--install
build
&&
\
echo
"libcifpp installed"
# Build and install libmcfp
# https://github.com/mhekkel/libmcfp
RUN
cd
/build
&&
\
git clone https://github.com/mhekkel/libmcfp.git
&&
\
cd
libmcfp
&&
\
cmake
-S
.
-B
build
-DBUILD_TESTING
=
OFF
&&
\
cmake
--build
build
-j
$(
nproc
)
&&
\
cmake
--install
build
&&
\
echo
"libmcfp installed"
# Build and install dssp
COPY
. /src
RUN
cd
/src
&&
\
rm
-rf
build
&&
\
mkdir build
&&
\
cmake
-S
.
-B
build
-DCMAKE_BUILD_TYPE
=
Release
-DBUILD_TESTING
=
OFF
&&
\
cmake
--build
build
-j
$(
nproc
)
&&
\
cmake
--install
build
&&
\
echo
"dssp installed"
&&
\
rm
-rf
/src /build
WORKDIR
/data
ENTRYPOINT
["mkdssp"]
\ No newline at end of file
README.md
View file @
f97843d8
...
@@ -33,7 +33,7 @@ Make sure you install [libcif++](https://github.com/PDB-REDO/libcifpp) and [libm
...
@@ -33,7 +33,7 @@ Make sure you install [libcif++](https://github.com/PDB-REDO/libcifpp) and [libm
After that, building should be as easy as typing:
After that, building should be as easy as typing:
```
bash
```
console
git clone https://github.com/PDB-REDO/dssp.git
git clone https://github.com/PDB-REDO/dssp.git
cd dssp
cd dssp
mkdir build
mkdir build
...
@@ -46,3 +46,32 @@ Usage
...
@@ -46,3 +46,32 @@ Usage
-----
-----
See
[
manual page
](
doc/mkdssp.md
)
for more info. Or even better, see the
[
DSSP website
](
https://pdb-redo.eu/dssp
)
.
See
[
manual page
](
doc/mkdssp.md
)
for more info. Or even better, see the
[
DSSP website
](
https://pdb-redo.eu/dssp
)
.
Docker
------
Build the image yourself:
```
console
git clone https://github.com/PDB-REDO/dssp.git
cd dssp
sudo docker build -t dssp .
```
Or pull from Docker Hub:
```
console
sudo docker pull stephenturner/dssp && docker tag stephenturner/dssp dssp
```
Usage:
```
console
sudo docker run --rm dssp
```
To run dssp on the file
`/srv/data/pdb/pdb/cb/pdb1cbs.ent.gz`
:
```
console
sudo docker run --rm -it -v /srv/data/pdb/pdb:/tmp/pdb dssp /tmp/pdb/cb/pdb1cbs.ent.gz
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment