Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

top_hits.py to Analyse AutoDock-Vina-GPU results to screen ligand library. #10

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

vaghasiyautsav
Copy link

To analyse the data when number of ligands are higher. Please use this python script.

First while running the
AutoDock-Vina-GPU-2.1 by following Command, ./AutoDock-Vina-GPU-2-1 --config ./hnod2_input/config.txt 2>&1 | tee result.txt

Here, 2>&1 | tee result.txt will dump all the data in result.txt file.

Later, using this python script we can analyses all the data in result.txt file to list top hits. specify the path to result.txt file in the top_hits.py file (The name can be anything you provided in last step).

Run this script using command,
python3 top_hits.py
It will ask user to give number of hits wanted (lets say we want 20 top hits) So give 20 to next line in terminal.

It will list all the ligands.

**My ligands were named from 1.pdbqt to 10000.pdbqt. **I got 32 GB RAM hence was able to do 10000 ligands at time for approx 1.26 hours.

To analyse the data when number of ligands are higher. Please use this python script.

First while running the AutoDock-Vina-GPU-2.1 by following Command,
./AutoDock-Vina-GPU-2-1 --config ./hnod2_input/config.txt 2>&1 | tee result.txt

Here, 2>&1 | tee result.txt will dump all the data in result.txt file.

Later, using this python script we can analyses all the data in result.txt file to list top hits.
specify the path to result.txt file  in the top_hits.py file (The name can be anything you provided in last step).

Run this script using command,
python3 top_hits.py

It will ask user to give number of hits wanted  (lets say we want 20 top hits) So give 20 to next line in terminal.

It will list all the ligands. 

**My ligands were named from 1.pdbqt to 10000.pdbqt.
**I got 32 GB RAM hence was able to do 10000 ligands at time for approx 1.26 hours.
@vaghasiyautsav vaghasiyautsav changed the title Create top_hits.py top_hits.py to Analyse AutoDock-Vina-GPU results to screen ligand library. Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant