README
###### Decription of the files on GitHub ######
1) nbi_simulation_new_for_git.ipynb : The NBI code snippet contains comments that would help the researchers with their own data. All the researchers have to do is upload their DTIs (GO mapped) and run the python code.
The code will first generate an adjacent matrix using the input file and then create a prediction matrix called NBIscore which will be a m x n matrix.
The output file (predicted_targets_for_all_drugs_using_percent_diff_0.20_new.csv) will be created which will contain predicted DTIs having scores within 20% of the max score for each Target.
2) new_dt_from_go_and_db_unique_latest.csv: This is the input file that we have used used in our study. This file contains the drug-target interactions from drugbank and GO mapping.
3) Generating_random_netoworks.m: This is a matlab file that was used to generate random networks with the same number of nodes but varying drug interactions and running through NBI.
This file was only used to establish the robustness of the NBI.
4) uniprot_go_annotations_mf_strong_evidence_new.csv: This file contains the mapping of the molecular function GO terms and Uniprot Ids.
5) predicted_targets_for_all_drugs_using_percent_diff_0.20_new.csv: This is the final output file generated using our input file and contains the prioritized list of predicted DTIs with the predicted scores.
If you are uploading your own input file containing the DTIs, you might need to change the name of the output file in the python code provided.
IMPORTANT POINTS:
1) Since we are not providing the GO mapping algorithm here (in-house script), while using your own DTI files to get predictions you would have to first map the GO terms with the targets. Here are the steps:
a) A GO Uniprot ID mapping file is provided here (uniprot_go_annotations_mf_strong_evidence_new.csv)
b) First identify which targets in your DTI list share the same GO terms using the file above
c) Then create a new DTI by assigning same drugs to all the proteins that share the same GO term
d) Make a unique list of DTIs as provided in the uniprot_go_annotations_mf_strong_evidence_new.csv file to be used as an input to NBI
2) The file uniprot_go_annotations_mf_strong_evidence_new.csv provided by us is already GO mapped and can be used directly in the code.