tzok / maxit-docker

A Dockerfile to wrap MAXIT software to convert between PDB and PDBx/mmCIF seamlessly

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

maxit-docker

Description

MAXIT is a suite of tools to process PDB and PDBx/mmCIF files. One of its great advantages is an advanced converter between the two formats. This repository contains a Dockerfile that builds MAXIT and provides a default entrypoint which makes using the converter easier.

Building

To build local Docker images:

./build.sh

Usage

CLI

To convert between formats:

docker run -i maxit < input.pdb > output.cif

docker run -i maxit < input.cif > output.pdb

REST

Start the conversion service:

docker run -p 8080:8080 maxit-server

Submit conversion tasks:

curl -X POST -H 'Content-Type: text/plain' --data-binary @input.pdb http://localhost:8080

curl -X POST -H 'Content-Type: text/plain' --data-binary @input.cif http://localhost:8080

About

A Dockerfile to wrap MAXIT software to convert between PDB and PDBx/mmCIF seamlessly

License:MIT License


Languages

Language:Java 62.7%Language:Dockerfile 23.8%Language:Shell 13.5%