Science Score: 39.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 2 DOI reference(s) in README -
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.1%) to scientific vocabulary
Keywords
Repository
The core part of Atomic Charge Calculator II.
Basic Info
- Host: GitHub
- Owner: sb-ncbr
- License: mit
- Language: C++
- Default Branch: main
- Homepage: https://acc2.ncbr.muni.cz
- Size: 10.7 MB
Statistics
- Stars: 29
- Watchers: 2
- Forks: 13
- Open Issues: 3
- Releases: 0
Topics
Metadata Files
README.md
ChargeFW2
Application for computing partial atomic charges using selected empirical methods. ChargeFW2 is the computational core of Atomic Charge Calculator II.
See the short description of implemented methods.
Compilation requirements
To compile ChargeFW2, several requirements have to be installed first. The compilation was tested on Ubuntu 25.04 with these versions of libraries:
- CMake 3.31
- GCC 14
- Boost 1.83
- Eigen 3.4
- fmt 10.1
- nanoflann 1.7
- JSON for Modern C++ 3.11
- GEMMI 0.7.3
- pybind11 2.11
Other versions of the libraries might work too, but it was not tested. See the Dockerfile as the formal description
of dependencies.
Installation
After downloading and unpacking the sources, run the following in the ChargeFW2 directory:
bash
$ mkdir build
$ cd build
$ cmake .. -DCMAKE_INSTALL_PREFIX=<WHERE-TO-INSTALL>
$ make
$ make install
Docker
Rather than installing all dependencies, you can run ChargeFW2 directly inside a Docker container.
```bash
Build docker image
$ docker build -t chargefw2 .
Run docker container
$ docker run -it --rm --entrypoint bash chargefw2 ```
CLI workflow
The Docker container can be used in CLI workflows. However, since containers are run in isolated environments and don't have access to your local host files by default, you will need to create a volume or a bind-mount, which will allow sharing host files with the container.
In this example we bind-mount the current working directory into the container. This allows us to specify input files and output directories using relative paths. This is the most similar to running ChargeFW2 natively.
bash
$ docker run -it --rm -v $PWD:$PWD chargefw2 --mode charges \
--input-file $PWD/doc/molecules.sdf --chg-out-dir $PWD/
However, it is good practise to only bind-mount necessary directories. In the following example we bind-mount two directories: one directory that contains our input files and the other directory for ChargeFW2 output.
```bash $ INPUTDIRECTORY="/path/to/input/directory/" $ OUTPUTDIRECTORY="/path/to/output/directory/"
$ docker run -it --rm \ -v $INPUTDIRECTORY:$INPUTDIRECTORY \ -v $OUTPUTDIRECTORY:$OUTPUTDIRECTORY \ chargefw2 --mode charges \ --input-file $INPUTDIRECTORY/path/to/file \ --chg-out-dir $OUTPUTDIRECTORY ```
The previous examples used a container which was destroyed once ChargeFW2 finished running. If you don't want to keep recreating the container for each use of ChargeFW2, you can create a detached container that will keep running in the background. You can then use docker exec to run commands inside the container.
```bash
Create detached container
$ CONTAINER_ID=$(docker run -dt --rm --entrypoint bash -v $PWD:$PWD chargefw2)
Run ChargeFW2 in detached container (can run multiple commands)
$ docker exec -it $CONTAINER_ID chargefw2 --mode charges \ --input-file $PWD/doc/molecules.sdf --chg-out-dir $PWD/
Remove container
$ docker rm -f $CONTAINER_ID ```
Usage
The documentation for the application and its Python bindings is located in the doc folder.
How to cite
If you found ChargeFW2 or Atomic Charge Calculator II helpful, please cite: Raek, T., Schindler, O., Touek, D., Horsk, V., Berka, K., Koa, J., & Svobodov, R. (2020). Atomic Charge Calculator II: web-based tool for the calculation of partial atomic charges. Nucleic Acids Research.
Owner
- Name: Structural bioinformatics research group at National Centre for Biomolecular Research
- Login: sb-ncbr
- Kind: organization
- Location: Czech Republic
- Website: https://www.sb-ncbr.cz/
- Repositories: 7
- Profile: https://github.com/sb-ncbr
GitHub Events
Total
- Issues event: 3
- Watch event: 3
- Delete event: 2
- Issue comment event: 6
- Push event: 20
- Pull request review event: 1
- Pull request review comment event: 1
- Pull request event: 15
- Fork event: 3
- Create event: 1
Last Year
- Issues event: 3
- Watch event: 3
- Delete event: 2
- Issue comment event: 6
- Push event: 20
- Pull request review event: 1
- Pull request review comment event: 1
- Pull request event: 15
- Fork event: 3
- Create event: 1
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 2
- Total pull requests: 10
- Average time to close issues: 7 months
- Average time to close pull requests: 11 months
- Total issue authors: 2
- Total pull request authors: 2
- Average comments per issue: 4.0
- Average comments per pull request: 0.3
- Merged pull requests: 7
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 1
- Pull requests: 8
- Average time to close issues: 4 months
- Average time to close pull requests: 19 days
- Issue authors: 1
- Pull request authors: 1
- Average comments per issue: 1.0
- Average comments per pull request: 0.25
- Merged pull requests: 7
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- git-jrwang (2)
- AlleksD (1)
- andro-demir (1)
- danielguion (1)
Pull Request Authors
- pilatmartin (8)
- danny305 (2)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- ubuntu 22.04 build