Giter Site home page Giter Site logo

sispa-related's Introduction

SISPA Post-Processing Perl Scripts
=============================

vcf_snv.pl 
-----------
Description:

This script takes a VCF file from kSNP and does the following:

 1) Filter VCF file to remove recombinant regions
 2) Creat a SNV matrix (snv_matrix.txt), only retaining rows that have at least the threshold(ie. 90%) of genomes present
 3) Create a SNV Fasta file and Phylip file for each genome (vcf_snv.fasta, vcf_snv.phy)
 4) Run raxML 

create_rpkm_matrix.pl
---------------------
Description:

This script takes a list of Fasta file reads and runs blastn against a provided antibiotic resistance (abR) gene database. 
It then generates a matrix of RPKM values for each gene (row) and genome (column).     

Requirements
=============================
These scripts require a config file to be passed in. This config files requires the user to list the location of where
four external 3rd party tools are installed on their machines. The required 3rd party tools are:

raxmlHPC: https://github.com/stamatak/standard-RAxML
vcftools: http://vcftools.sourceforge.net/
formatdb*
blastall*

Note: formatdb and blastall are no longer supported by NCBI as they've switched to BLAST+. create_rpkm_matrix.pl uses the legacy blastall. If you do not have these installed you can ran blast+ on your reads outside of this script and place them in the output directory. They must be in -m8 format. Label the blast files <genome name>.blast and the script will recognize them and will create a RPKM value matrix.

Use the config.txt that was included in this package OR copy the text below to a new text file and change the install
paths accordingly:

raxmlHPC:/usr/local/bin/raxmlHPC
vcftools:/usr/local/bin/vcftools
formatdb: /usr/local/bin/formatdb
blastall:/usr/local/bin/blastall

sispa-related's People

Watchers

 avatar  avatar Andrey Tovchigrechko avatar Jason Inman avatar James Cloos avatar

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.