Giter Club home page Giter Club logo

epitop_pred's Introduction

EpiDope creation space

This repo contains most of the code used to create https://github.com/flomock/EpiDope.
See also our paper https://doi.org/10.1093/bioinformatics/btaa773.

We have numerous scripts with specific niche functionality. Therefore, we expect that most of the scripts are not of high interest for most users. Because of this, we only rudimentarily polished most of the code and do not guaranty it's functionality.

possible usage

get the raw data

download from http://www.iedb.org/bcelldetails_v3.php
export to csv file

download positive and negative samples

utils/download_from_iedb.py
(change local variables like line 17 (path to csv file))

utils/download_proteins_from_epitopeNumber.py (change local variables like line 13 (path to csv file))

curate data

curate_iedb_linear_epitopes.py
(again changing input path)

make cluster by different sequence identity:

cd previous_output_dir
cat * >> protein_all.fasta

cd-hit -i protein_all.fasta -c 1 -o 1_seqID.fasta
cd-hit -i protein_all.fasta -c 0.9 -o 0.9_seqID.fasta
cd-hit -i protein_all.fasta -c 0.8 -o 0.8_seqID.fasta
cd-hit -i protein_all.fasta -c 0.7 -o 0.7_seqID.fasta
cd-hit -i protein_all.fasta -n 4 -c 0.6 -o 0.6_seqID.fasta
cd-hit -i protein_all.fasta -n 3 -c 0.5 -o 0.5_seqID.fasta

select proteins with most verified regions
utils/cluster_to_proteins_with_markings.py

generate training, test, val set

simple clustered
generate_binary_clustered_training_sets.py

more complex, if your data is clustered twice (like in the paper explained), to reduce bias of similar sequences in the test set.
generate_binary_double_clustered_training_sets.py

train and test the models

train_DL.py trains multiple neural networks on your training data
epidope.py testing suit for trained your models

further

make multi fasta file with only test set entries
utils/filter_test_set_fastas.py

get the ROC precision-recall und distribution of predictions:
utils/make_ROC_curves.py

get plots with only the parts marked which are part of ROC
utils/plots_test_set.py

epitop_pred's People

Contributors

flomock avatar

Stargazers

 avatar Jeung Hyun Byun avatar

Watchers

 avatar

epitop_pred's Issues

Missing data

Hi mcollatz,
Thanks for your amazing work.

I want to retrain the model and I followed the readme file to run the repo code. When I downloaded positive and negative samples using utils/download_from_iedb.py, the program would stop running after downloading around 30000 data. So I just first download 100 data and test the next step.

The problem is that when I run the generate_binary_clustered_training_sets.py, I need to change the path in the code. However, I don't know how to get the data in the embeddings_bepipred_samples file at the 83 line and the data in the data_generator_bepipred_binary_0.8_seqID_checked_output file at the 35 line.

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.