Science Score: 26.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
-
✓DOI references
Found 5 DOI reference(s) in README -
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (7.6%) to scientific vocabulary
Last synced: 10 months ago
·
JSON representation
Repository
a molecular descriptor calculator
Basic Info
- Host: GitHub
- Owner: mordred-descriptor
- License: bsd-3-clause
- Language: Python
- Default Branch: develop
- Homepage: http://mordred-descriptor.github.io/documentation/master/
- Size: 1.09 MB
Statistics
- Stars: 413
- Watchers: 19
- Forks: 103
- Open Issues: 53
- Releases: 16
Created over 10 years ago
· Last pushed over 2 years ago
Metadata Files
Readme
Contributing
License
README.rst
mordred
=======
molecular descriptor calculator.
.. image:: https://travis-ci.org/mordred-descriptor/mordred.svg?branch=master
:target: https://travis-ci.org/mordred-descriptor/mordred
.. image:: https://coveralls.io/repos/github/mordred-descriptor/mordred/badge.svg?branch=master
:target: https://coveralls.io/github/mordred-descriptor/mordred?branch=master
.. image:: https://codeclimate.com/github/mordred-descriptor/mordred/badges/gpa.svg
:target: https://codeclimate.com/github/mordred-descriptor/mordred
:alt: Code Climate
.. image:: https://anaconda.org/mordred-descriptor/mordred/badges/version.svg
:target: https://anaconda.org/mordred-descriptor/mordred
.. image:: https://img.shields.io/pypi/v/mordred.svg
:target: https://pypi.python.org/pypi/mordred
.. image:: https://img.shields.io/badge/doi-10.1186%2Fs13321--018--0258--y-blue.svg
:target: https://doi.org/10.1186/s13321-018-0258-y
.. image:: https://img.shields.io/badge/slack-mordred--descriptor-brightgreen.svg
:target: https://join.slack.com/t/mordred-descriptor/shared_invite/enQtMzc1MzkyODk1NTY5LTdlYzM4MWUzY2YwZmEwMWYzN2M4YTVkMGRlMDY0ZjU2NjQ1M2RiYzllMzVjZGE4NGZkNWZjODBjODE0YmExNjk
number of descriptors
---------------------
.. code:: python
>>> from mordred import Calculator, descriptors
>>> n_all = len(Calculator(descriptors, ignore_3D=False).descriptors)
>>> n_2D = len(Calculator(descriptors, ignore_3D=True).descriptors)
>>> print("2D: {:5}\n3D: {:5}\n------------\ntotal: {:5}".format(n_2D, n_all - n_2D, n_all))
2D: 1613
3D: 213
------------
total: 1826
Installation
------------
conda(recommended)
~~~~~~~~~~~~~~~~~~
#. install conda
- `miniconda `__
- `anaconda `__
#. install mordred
.. code:: console
$ conda install -c rdkit -c mordred-descriptor mordred
pip
~~~
#. install `rdkit `__ python package
#. install mordred
.. code:: console
$ pip install 'mordred[full]' # install with extra requires
# or
$ pip install mordred
Testing the installation
------------------------
$ python -m mordred.tests
examples
--------
as command
~~~~~~~~~~
calculate all descriptors
.. code:: console
$ python -m mordred example.smi
name,ECIndex,WPath,WPol,Zagreb1, (snip)
benzene,36,27,3,24.0, (snip)
chrolobenzene,45,42,5,30.0, (snip)
save to file (display progress bar)
.. code:: console
$ python -m mordred example.smi -o example.csv
50%|███████████████████████████████████████▌ | 1/2 [00:00<00:00, 7.66it/s]
stream read (low memory, no number of molecules information)
.. code:: console
$ python -m mordred example.smi -s -o example.csv
0it [00:00, ?it/s]
only ABCIndex
.. code:: console
$ python -m mordred example.smi -d ABCIndex
name,ABC,ABCGG
benzene,4.242640687119286,3.9999999999999996
chlorobenzene,5.059137268047012,4.785854275382693
ABCIndex and AcidBase
.. code:: console
$ python -m mordred example.smi -d ABCIndex -d AcidBase
name,ABC,ABCGG,nAcid,nBase
benzene,4.242640687119286,3.9999999999999996,0,0
chlorobenzene,5.059137268047012,4.785854275382693,0,0
multiple input
.. code:: console
$ python -m mordred example.smi example2.smi -d ABCIndex
name,ABC,ABCGG
benzene,4.242640687119286,3.9999999999999996
chlorobenzene,5.059137268047012,4.785854275382693
pentane,2.8284271247461903,3.1462643699419726
show help
.. code:: console
$ python -m mordred --help
usage: python -m mordred [-h] [--version] [-t {auto,sdf,mol,smi}] [-o OUTPUT]
[-p PROCESSES] [-q] [-s] [-d DESC] [-3] [-v]
INPUT [INPUT ...]
positional arguments:
INPUT
optional arguments:
-h, --help show this help message and exit
--version input molecular file
-t {auto,sdf,mol,smi}, --type {auto,sdf,mol,smi}
input filetype (default: auto)
-o OUTPUT, --output OUTPUT
output file path (default: stdout)
-p PROCESSES, --processes PROCESSES
number of processes (default: number of logical
processors)
-q, --quiet hide progress bar
-s, --stream stream read
-d DESC, --descriptor DESC
descriptors to calculate (default: all)
-3, --3D use 3D descriptors (require sdf or mol file)
-v, --verbosity verbosity
descriptors: ABCIndex AcidBase AdjacencyMatrix Aromatic AtomCount
Autocorrelation BalabanJ BaryszMatrix BCUT BertzCT BondCount CarbonTypes Chi
Constitutional CPSA DetourMatrix DistanceMatrix EccentricConnectivityIndex
EState ExtendedTopochemicalAtom FragmentComplexity Framework GeometricalIndex
GravitationalIndex HydrogenBond InformationContent KappaShapeIndex Lipinski
McGowanVolume MoeType MolecularDistanceEdge MolecularId MomentOfInertia MoRSE
PathCount Polarizability RingCount RotatableBond SLogP TopologicalCharge
TopologicalIndex TopoPSA VdwVolumeABC VertexAdjacencyInformation WalkCount
Weight WienerIndex ZagrebIndex
as library
^^^^^^^^^^
.. code:: python
>>> from rdkit import Chem
>>> from mordred import Calculator, descriptors
# create descriptor calculator with all descriptors
>>> calc = Calculator(descriptors, ignore_3D=True)
>>> len(calc.descriptors)
1613
>>> len(Calculator(descriptors, ignore_3D=True, version="1.0.0"))
1612
# calculate single molecule
>>> mol = Chem.MolFromSmiles('c1ccccc1')
>>> calc(mol)[:3]
[4.242640687119286, 3.9999999999999996, 0]
# calculate multiple molecule
>>> mols = [Chem.MolFromSmiles(smi) for smi in ['c1ccccc1Cl', 'c1ccccc1O', 'c1ccccc1N']]
# as pandas
>>> df = calc.pandas(mols)
>>> df['SLogP']
0 2.3400
1 1.3922
2 1.2688
Name: SLogP, dtype: float64
see `examples `_
Citation
--------
Moriwaki H, Tian Y-S, Kawashita N, Takagi T (2018) Mordred: a molecular descriptor calculator. Journal of Cheminformatics 10:4 . doi: `10.1186/s13321-018-0258-y `__
Documentation
-------------
- `master `__
- `develop `__
- `v1.1.0 `__
- `v1.0.0 `__
Owner
- Name: mordred-descriptor
- Login: mordred-descriptor
- Kind: organization
- Repositories: 5
- Profile: https://github.com/mordred-descriptor
a molecular descriptor calculator
GitHub Events
Total
- Issues event: 1
- Watch event: 59
- Issue comment event: 1
- Fork event: 7
Last Year
- Issues event: 1
- Watch event: 59
- Issue comment event: 1
- Fork event: 7
Committers
Last synced: over 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Hirotomo Moriwaki | p****e@g****m | 526 |
| Whisperwind22 | B****q | 9 |
| Francois Berenger | 7****e@u****m | 3 |
| Hirotomo Moriwaki | h****i@g****m | 1 |
| Vladimir Moskalev | m****v@i****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: about 1 year ago
All Time
- Total issues: 81
- Total pull requests: 26
- Average time to close issues: 3 months
- Average time to close pull requests: 30 days
- Total issue authors: 45
- Total pull request authors: 8
- Average comments per issue: 2.05
- Average comments per pull request: 1.62
- Merged pull requests: 8
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 1
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 1
- Pull request authors: 0
- Average comments per issue: 1.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- philopon (33)
- tobigithub (3)
- shayakhmetov (2)
- UnixJunkie (2)
- AjijurR (1)
- breisfeld (1)
- DocMinus (1)
- gmseabra (1)
- hori1537 (1)
- RicardoMBorges (1)
- tanabata-kitajima (1)
- KojoMarko (1)
- ky66 (1)
- DinosaurInSpace (1)
- ademidun (1)
Pull Request Authors
- WhisperWind22 (7)
- philopon (7)
- ademidun (3)
- hirotomo-moriwaki (3)
- JacksonBurns (3)
- UnixJunkie (2)
- stevenkbennett (1)
- mkrompiec (1)
Top Labels
Issue Labels
enhancement (18)
consider (7)
descriptor (7)
question (5)
bug (5)
idea (4)
wontfix (1)
Pull Request Labels
descriptor (6)
Packages
- Total packages: 3
-
Total downloads:
- pypi 12,683 last-month
- Total docker downloads: 517
-
Total dependent packages: 23
(may contain duplicates) -
Total dependent repositories: 59
(may contain duplicates) - Total versions: 26
- Total maintainers: 1
pypi.org: mordred
molecular descriptor calculator
- Homepage: https://github.com/mordred-descriptor/mordred
- Documentation: https://mordred.readthedocs.io/
- License: BSD-3-Clause
-
Latest release: 1.2.0
published about 7 years ago
Rankings
Dependent packages count: 0.7%
Dependent repos count: 2.1%
Docker downloads count: 2.4%
Downloads: 2.7%
Average: 2.7%
Stargazers count: 3.6%
Forks count: 4.8%
Maintainers (1)
Last synced:
11 months ago
proxy.golang.org: github.com/mordred-descriptor/mordred
- Documentation: https://pkg.go.dev/github.com/mordred-descriptor/mordred#section-documentation
- License: bsd-3-clause
-
Latest release: v1.2.0
published about 7 years ago
Rankings
Dependent packages count: 9.0%
Average: 9.6%
Dependent repos count: 10.2%
Last synced:
10 months ago
conda-forge.org: mordred
- Homepage: https://github.com/mordred-descriptor/mordred
- License: BSD-3-Clause
-
Latest release: 1.2.0
published almost 7 years ago
Rankings
Dependent repos count: 10.7%
Average: 21.5%
Forks count: 21.7%
Stargazers count: 24.6%
Dependent packages count: 29.0%
Last synced:
10 months ago
Dependencies
extra/requirements/rdkit-versions.txt
pypi
- Linux2.72018.09.3.0 *
- Linux3.62019.03.2.0 *
- Linux3.72019.03.2.0 *
- MacOSX2.72018.09.3.0 *
- MacOSX3.62019.03.2.0 *
- MacOSX3.72019.03.2.0 *
- Windows2.72017.09.3.0 *
- Windows3.62019.03.2.0 *
- Windows3.72019.03.1.0 *
extra/requirements/requirements-conda.txt
pypi
- anaconda-client *
- conda-build *
- coverage *
- coveralls *
- flake8 *
- isort *
- networkx *
- nose *
- numpy *
- pandas *
- pep8 *
- pyyaml *
- six *
- sphinx *
- tqdm *
extra/requirements/requirements-pip.txt
pypi
- flake8-black *
- flake8-comprehensions *
- flake8-docstrings *
- flake8-print *
- flake8-quotes *
- flake8-regex *
- flake8-sorted-keys *
- flake8-string-format *
- sphinx-rtd-theme *
- sphinxcontrib-bibtex *
setup.py
pypi
- six ==1.