Coder Social home page Coder Social logo

crassify's Introduction

crassify

Pipeline to taxonomically classify microbiome viruses in metagenomic data based on ICTV's VMR.

1. Generate matches.tsv using diamond v2 [https://github.com/bbuchfink/diamond]

Diamond input: your translated, unknown viral proteins

Diamond blastp your reference proteins against ICTV reference DB

For symmetrical best hit approach use --query-cover 50 --subject-cover 50 parameters else run with as recommended below:

diamond blastp --query proteins.faa --db databases/ictv_reference.dmnd -o matches.tsv --ultra-sensitive --no-self-hits --evalue 0.00001

2. Installing crassify

Install dependencies using environment.yml file: conda env create -f environment.yml

conda activate crassify

git clone https://github.com/linda5mith/crassify.git

Set path to crassify installation PATH=$PATH:/home/user/programs/crassify

3. Running crassify

Sample folders with test inputs are provided in /proteomes and /diamond_hits/matches.tsv but will be replaced with the path to your proteomes and the matches.tsv file generated from step 1.

python crassify.py -p /proteomes -m /diamond_hits/matches.tsv -db /metadata/ICTV_metadata.csv

4. Crassify output

protein_hits.csv - returns most homologous ICTV viral protein hit for each of your viral proteins that aligned to reference database.

genome_hits.csv - returns top 5 genome hits for each proteome.

dists.csv - returns distances between all proteomes and related ICTV viral genomes.

crassify's People

Contributors

linda5mith avatar

Watchers

 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.