Giter Club home page Giter Club logo

find_orthologs_diamond's Introduction

Find_Orthologs_Diamond

Reciprocal best BLAST hits are pairs of sequences where the best BLAST hit for each sequence is the other sequence. Consider you have a sequence A from species sA whose best hit in species sB is the sequence B. A will be considered a reciprocal best hit of B if the best hit of B in species sA is A.
Example: when you BLAST the complete set of human coding sequences against the complete set of mouse coding sequences, the best hit for the human gene histone H3.1 is the mouse gene histone H3.1 and vice versa. These two genes would be considered reciprocal best hits and orthologous. This is an overly simplistic way of defining orthologous. If, for example, there had been a gene duplication event in mouse lineage yielding two copies of the histone H3 gene, then simply picking one as the ortholog for the human version would be a rather bad idea.

This script is a modified version of https://github.com/ahishsujay/Find_Orthologs which has been altered to use the Diamond alignment program rather than BLAST+. As Diamond is focused on protein alignments both input files should be protein sequences.

Requirements:

  1. Diamond (https://github.com/bbuchfink/diamond) for making sequence databases and aligning. Diamond must be under your path for the script to work.

Required input files:

  1. Input file 1 - Species 1 FASTA file
  2. Input file 2 - Species 2 FASTA file

Execution of the script:

./find_orthologs_diamond.py -i1 <Input file 1> -i2 <Input file 2> -o <Output file name>

Output file:

A file comprising the reciprocal BLAST hits of the two species in output format 6.

find_orthologs_diamond's People

Contributors

malcolmfisher103 avatar ahishsujay 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.