Code Monkey home page Code Monkey logo

seroblast's Introduction

seroblast

A simple BASH script for identification of Streptococcus suis serotype from a draft genome

Database of serotype-specific sequences is modified from the SsuisSerotyping_pipeline (https://github.com/streplab/SsuisSerotyping_pipeline). Unlike the SsuisSerotyping_pipeline, the seroblast is dependent only on local blast installation.

  1. install blast locally

for Ubuntu and Debian users

sudo apt install ncbi-blast+

others https://blast.ncbi.nlm.nih.gov/Blast.cgi?PAGE_TYPE=BlastDocs&DOC_TYPE=Download

  1. create /blastdb directory and put the file Ssuis_Serotyping8v2-NK-V2v3.fasta here

  2. build blast database in /blastdb

makeblastdb -in Ssuis_Serotyping8v2-NK-V2v3.fasta -parse_seqids -blastdb_version 5 -title "SsuisSerotype" -dbtype nucl

  1. edit line 5 in Ssuisseroblast8v2.NK-V2v4 script to locate the blast database in your correct path (for example /home/$HOME/blastdb) and make the script executable

chmod +x Ssuisseroblast8v2.NK-V2v4

  1. run Ssuisseroblast8v2.NK-V2v4 from directory containing your S. suis draft genomes named *.fasta

./Ssuisseroblast8v2.NK-V2v4

  1. read the output "serotypesV8v2.NK-V2v4.tsv" (tab separated columns). The columns are: "sample serotype cps_gene cps_evalue cps_score cps_ppos modifying_gene cps_evalue cps_score cps_ppos cpsk cpsk_evalue cpsk_score cpsk_ppos recN recN_evalue recN_score recN_ppos". As a modifying_gene, we understand a gene potentially able to modify antigenic structure of a capsular polysaccharide.

seroblast's People

Contributors

matiajan avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

vikash84

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.