Giter Site home page Giter Site logo

fkgruber / tlimmuno2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xsliulab/tlimmuno2

0.0 0.0 0.0 459.99 MB

TLimmuno2: predicting MHC class II antigen immunogenicity through transfer learning

Shell 0.01% JavaScript 0.61% Python 0.06% CSS 0.13% PureBasic 0.42% HTML 98.61% Jupyter Notebook 0.16% SCSS 0.01%

tlimmuno2's Introduction

TLimmuno2: predicting MHC class II antigen immunogenicity through transfer learning

License version

Fork

This is fork of the respository in https://github.com/XSLiuLab/TLimmuno2. Current changes:

  • added option to disable immunogenicity rank estimates. Use --rank False
  • if output directory does not exists it will create it.

Overview

This repository provides the analysis reports, code, data and python packages for readers who are interest in this project and make it easier to reproduce the whole analysis procedure.

Read online analysis report at https://xsliulab.github.io/TLimmuno2/.

Contents

  • Python The python code of TLimmuno2 package.
  • data The data used and produced by analysis report.
  • docs Website pages and figures used for showing analysis reports.
  • report Rmarkdown files of analysis report and related html web page files.
  • figure The figure produced by all Rmarkdown files.

Usage

Dependency

pandas
numpy
tensorflow
pyarrow

You can download the entire repository and repeat our work, but the repository is a little big. If you just want to use TLimmuno2 model, you can just pull Python file by using below command:

mkdir TLimmuno2
cd TLimmuno2
git init
git remote add -f origin https://github.com/XSLiuLab/TLimmuno2.git
git config core.sparsecheckout true
echo "Python" >> .git/info/sparse-checkout
git pull origin main

There are two ways to use TLimmuno2: line mode and file mode:

For line model, you can get singe epitope result on terminal, here are the sample:

python Python/TLimmuno2.py --mode line --epitope GLLFRRLTSREVLLL --hla DRB1_0803

For file model, you can input a file like example.csv and get the result.csv in output filer:

python Python/TLimmuno2.py --mode file --intdir ./Python/data/example.csv --outdir .

A full help prompt is as below:

usage: TLimmuno2.py [-h] [--mode MODE] [--epitope EPITOPE] [--hla HLA] [--intdir INTDIR] [--outdir OUTDIR] [--gpu GPU]

TLimmuno2 command line

optional arguments:
  -h, --help         show this help message and exit
  --mode MODE        line mode or file mode
  --epitope EPITOPE  if line mode, specifying your epitope
  --hla HLA          if line mode, specifying your HLA allele
  --intdir INTDIR    if file mode, specifying the path to your input file
  --outdir OUTDIR    if file mode, specifying the path to your output folder
  --gpu GPU          if you device don't have GPU, please set it to False

Citation

Guangshuai Wang, Tao Wu, Wei Ning, Kaixuan Diao, Xiaoqin Sun, Jinyu Wang, Chenxu Wu, Jing Chen, Dongliang Xu, Xue-Song Liu, TLimmuno2: predicting MHC class II antigen immunogenicity through transfer learning, Briefings in Bioinformatics, 2023;, bbad116, https://doi.org/10.1093/bib/bbad116

Acknowledgement

We thank ShanghaiTech University High Performance Computing Public Service Platform for computing services.This work was supported by Shanghai Science and Technology Commission (21ZR1442400), the National Natural Science Foundation of China (31771373), and startup funding from ShanghaiTech University.

License


Cancer Biology Group @ShanghaiTech

Research group led by Xue-Song Liu in ShanghaiTech University

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.