Giter VIP home page Giter VIP logo

vios's Introduction

VIOS

Virus Identification On Site

[TOC]

VIOS HOME PAGE

Pre-requirement

  • Java 1.8

  • Python 2.7

  • Perl 5

  • Python 3rd libraries

    xlwt xlrd biopython numpy ReportLab matplotlib django1.11.3 django_extensions

There are mainly three steps, including short reads' mapping with Bowtie2, assembling with Velvet, contigs' mapping with blast+. Deloy the bioinformatics softwares , and add the commond to PATH.

DEMO DATA

adenovirus two samples: -jiayan -liublood

You need to upload the raw datas, after uploading the files were in the directory of "$PATH/VIOS/media/2018/02/raw_datas/". You can get the them from BaiduYun_demoData.

Database preparation

BEFORE, set the DATABASE_HOME in your environment variables.

export DATABASE_HOME=$YOUR_PATH/database
##genome directory
$DATABASE_HOME/genomes
##virus gene/genome directory
$DATABASE_HOME/blastDB
  1. genome

    Go to the modul 用户自有参考数据库索引 on the web. Then , You can search species genome from UCSC to get host "genome name" you wanna map aginst to remove the host genetics informations from the raw data reads. And, name the "genome name" with the readable name in the "host name" on the web.

    For example, you can add "hg38" and "human" in the input box attached a label with "genome name" and "host name", respectively.

    There are also some common species

    • model animal in the lab

    • poultry and livestock

    • primates (closer to human relations)

      genome name host name
      hg38 human
      mm10 house_mouse
      rn6 Norway_rat
      galGal5 chicken
      felCat8 cat
      susScr3 pig
      oryCun2 rabbit
      oviAri3 sheep
      bosTau8 cow
      equCab2 horse
      myoLuc2 microbat
      papAnu2 baboon
      panTro5 chimpanzee
      gorGor5 gorilla
      rheMac8 rhesus_monkey
  2. virus gene/genome

    • Step1. pre-handle the virus database referring to the paper;
    • Step2. name it with "nt_viruses_final.fasta";
    • Step3. put the file into the $DATABASE_HOME/blastDB/nt_viruses/final directory;
    • Step4. Go to the the modelue 用户自有参考数据库索引, press the "Update Viruses" button.

    Besides, you can also custom the virus 's some family like Filoviridae which Ebola belongs to. The process method is like the virus handling method above, in addition, modify the variables(nt_viruses_family_name_list,nt_viruses_family_name_readable_list) in the /VIOS/ngs/scripts/config_paras.py script.

    Well, you can email at Su Yanan [email protected] to get the virus database, I'll share with you through cloud storage. You can download nt_viruses_final database from BaiduYun_database.

Deploy the Django Project VIOS

  • Step1. Config MYSQL database

    $apt install mysql-server mysql-client libmysqlclient-dev  #REMEMBER ROOT PASSWORD
    $myslq -u root -p
    mysql>CREATE DATABSAE vios_db;
    mysql>USE vios_db;
    

    Besides, you can change MySQL to other database like Postgres.

  • Step2. Clone the VIOS project code locally

    #clone the VIOS codes locally:
    git clone git://github.com/suyanan/VIOS.git
    
    #Modify the /VIOS/VIOS/settings.py file
    ##replace those variables:USER/PASSWORD
    DATABASES = {
        'default': {
            'ENGINE': 'django.db.backends.mysql',
            'NAME': 'vios_db',
            'HOST':'127.0.0.1',
            'PORT':'3306',
            'USER':'root',
            'PASSWORD':'1234aaaa',
        }
    }
    ##ADD your IP
    ALLOWED_HOSTS = [
        u'127.0.0.1',
        u'localhost',
        u'your PC IP',
    ]
    
  • Step3. start the VIOS project

    $python /VIOS/manage.py runserver 0.0.0.0:8000
    
    #apply the migrations for VIOS
    $python manage.py migrate
    

    Open the VIOS_dress with link 127.0.0.1:8000

  • Step4. ANALYSIS: database

  • Step5. ANALYSIS: pipeline

  • Step6. ANALYSIS: visualization

TOOL'S FUNCTIONDEMO ON BROWSER SITE

ANALYSIS-uploadFile

ANALYSIS-process

ANALYSIS-results

ANALYSIS-updateDatabase


**COPY RIGHT!**

2018.02.09


The End

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.