Git Product home page Git Product logo

lucagl / moad_ligandfinder Goto Github PK

View Code? Open in Web Editor NEW
14.0 1.0 4.0 49 KB

A script able to extract ligands from pdb structure(s) and remove them from the original structure. The ligands are identified according to the *valid* ligands found in the binding MOAD database. The ligand can be extracted as a pdb or as a xyz (coordinate) file. Other options such as converting the queried pdb to pqr are available .

License: MIT License

Python 100.00%
pdb-files ligands pqr-files binding-moad extract-ligand remove-ligands

moad_ligandfinder's Issues

Ligand file name error in win64

hello, the lfetch.py script in the windows system would generate illegal Ligand file name (could occur colon in the file name) and therefore cannot extrat the ligand corretly. But it runs perfectly in linux, see below:

windows 10, 64

(gpu02_py) G:\05Coding\GNN_DTI-master\dpi_v4\pretrain\MOAD_ligandFinder-1.1>python lfetch.py
Insert pdb name
1FWE
Valid ligands found: 1
Excluded: 0
Ligands: ['HAE_C:989']
Insert pdb name

linux

(/home/dejun/work_spaces/py/conda_env/py365) [dejun@mu01 MOAD_ligandFinder-main]$ python lfetch.py
Insert pdb name
1FWE
Valid ligands found: 1
Excluded: 0
Ligands: ['HAE_C989']
Insert pdb name

lfinder is only partially robust to mismatches between MOAD naming schemes and pdb structure lines

The naming scheme of binding moad is to associate any residue name appearing on a line to a increasing res number, for each chain (for instance 1cqf--> BGC GAL GLA F:1 G:1 I:1 ..) will look for ligand1=(BGC F 1, GAL F 2, GLA F 3), ligand2 =(BGC G 1, GAL G 2, GLA G 3), ligand2 =(BGC I 1, GAL I 2, GLA I 3) ecc..

So far, the strategy used to overcome mismatches is to skip progressively in order (from the MOAD naming scheme) the name-chainID-ResNumber. This works most of times but not always. An example is 4z0u.pdb where the pdb skips the first 4 names and start from the 5th but keeping to index of the number at the beginning (usually everything is shifted accordingly).

In general, one could device more flexible strategies to overcome mismatches

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.