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: link

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.1a1.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.1a1-py3-none-any.whl (42.4 kB view details)

Uploaded Python 3

File details

Details for the file strange_mol-0.1.1a1.tar.gz.

File metadata

  • Download URL: strange_mol-0.1.1a1.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.1a1.tar.gz
Algorithm Hash digest
SHA256 fe56c89ddd60b78ff3d5d8de063dcc996e5af7964c700a6cf6926b357d3b5d82
MD5 19a6b79619619e8205b727e61f82fdc1
BLAKE2b-256 705824780cca91f463afef1a72fefceb754fac50fb0d51131c51d18bca472c93

See more details on using hashes here.

File details

Details for the file strange_mol-0.1.1a1-py3-none-any.whl.

File metadata

  • Download URL: strange_mol-0.1.1a1-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.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 25900961c4263b9bacd011de1b89b49ee1408a615c386b42ec6410bf1cfc67a4
MD5 80341303c323032a8c1804476475eabe
BLAKE2b-256 3c5749feccc4a03346456ae34c3f1367eebb785ad846435119a32d7dafbe4776

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