Skip to main content

Compute possible interaction between molecules.

Project description

strange

strange logo

A python software used to computed interaction between two molecules, from their pharmacophore.

Contributors: Lucas ROUAUD

Documentation: https://strange.mol3d.tech/

Installation

[!INFO]

We recommand either pipx or uv as installation method.

pipx

pipx install strange-mol
strange --help

uv

uv pip install strange-mol
strange --help

pip

pip install strange-mol
strange --help

Running through nix

If you have nix, you can run this software without installing it like:

nix --extra-experimental-features "nix-command flakes" run \
    git+https://gitlab.galaxy.ibpc.fr/rouaud/strange -- \
    --help

The first two lines are for the nix command. After the --, you can give strange argument. For instance:

nix --extra-experimental-features "nix-command flakes" run \
    git+https://gitlab.galaxy.ibpc.fr/rouaud/strange -- \
    --input ... --output ...

Command line interface

--help and parameters explained

To get the program help, you can run:

strange --help

Here, is a table giving parameters details:

  • Bold parameters are mandatory.
  • [option in brackets] must be given together. So [opt1 opt2] for parameter -x will be translated to -x opt1 opt2 in the CLI.
Parameter Value type Explaination Values example
--input or -i One or two files with molecules. This is where you input the molecules to compute pharmacophore and interaction from. [protein.pdb ligand.sdf]
[protein.pdb]
--output or -o A .csv files to store compute interaction. This files is going to contain which pharmacophores are interacting, and some other parameters. [interaction.csv]
--help or -h
--version or -v
--selection or -s Selection to apply to the molecule. Work only for files parsed by MDAnalysis (not .sdf, .mol, .mol2, xyz). For more details, check MDAnalysis selection algebra. This parameter will let you select subparts of your molecule to make the computation. ["protein" "resid CEL"]
["chainID A" "chainID B"]
--parameter or -p Parameter file to configure the software. Check the associated section. The parameter file that you will input here is going to change the software behaviour. [parameters.yml]
[parameters.json]
[parameters.toml]
--pharmacophore Two .csv files to store compute pharmacophore. The computed pharmacophore. If you gave two molecules, the first file correspond to the first molecule, the second one to the second molecule. If one molecule is given, first and second files will respectfully correspond to the first and second selection. [protein.csv ligand.csv]
--feature_file A .fdef file that is going to be used by RDKit to identify pharmacophore. This file contained SMART that are used to define certain type of pharmacophore with RDKit. [feature_file.fdef]
--visualization You can either give a .pml file or a .mvsj file to visualize using PyMOL or MolStar. Use this to visualize the pharmacophore using PyMOL (pymol visualization.pml) or MolStar (open first the visualization.mvsj, then load it, then your molecules). [interaction.pml]
[interaction.mvsj]
--add_hydrogen or -a If you want to add hydrogens to your input molecules. You can choose, with this option, to add hydrogen to the first input molecule only, the second input molecule only, both or none. If one file is given, it will correspond to the selection (first selection only, second only, both or none). [0]
["both"]

🙇‍♂️ Acknowledgement

  • Original idea: Etienne REBOUL
  • Formula checking: Charles ROBERT
  • Beta testing: Isleme KHALFAOUI, Malek MELLITI

License

This works is under:

  • A MIT license (software).
  • A CC-BY license (documentation).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

strange_mol-0.1.2.tar.gz (42.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

strange_mol-0.1.2-py3-none-any.whl (42.4 kB view details)

Uploaded Python 3

File details

Details for the file strange_mol-0.1.2.tar.gz.

File metadata

  • Download URL: strange_mol-0.1.2.tar.gz
  • Upload date:
  • Size: 42.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for strange_mol-0.1.2.tar.gz
Algorithm Hash digest
SHA256 52e42c30a854e9e18014be1842ce53878ad83d489c3fb7ce00d1b7706b77d697
MD5 eaa0f3f7558dac528b553317aad144d6
BLAKE2b-256 66bd574926929ddf1237295b0d3ce887adc43c12514e9b9f6dfbc6e09db5ee43

See more details on using hashes here.

File details

Details for the file strange_mol-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: strange_mol-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 42.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for strange_mol-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 49f5c0f67f62d38628090f8ff662e8421d55e0c07aa66cdb700e4bea3633a261
MD5 919f1716ef4516ca6ac0948b1069f825
BLAKE2b-256 5026734a99c817d1f23baeaecd9430e32f9a628c90173ee8aba2b18275f83267

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page