Coder Social home page Coder Social logo

cpa2019's Introduction

CPA2019

C/C++ sequence alignment scoring using Smith-Waterman algorithm.

Compiling

After cloning the repository, run the following command :

make

The program is now compiled and ready to run.

Running the program

./main database_file query_protein_file_to_base_scores

This will run the program with default options:

  • Gap open penalty : 11
  • Gap extension penalty : 1
  • BLOSUM matrix : BLOSUM62

The default output will be the top 20 sequence titles with their score.

Optional command-line parameters

You can customize penalties and BLOSUM matrix on which the algorithm is based.

./main database_file query_protein_file_to_base_scores [-o gap_opening_value] [-e gap_extension_value] [-b BLOSUM_matrix_file_path]

This line will launch the program with custom gap penalties and BLOSUM matrix. Make sure the BLOSUM matrix file exists in the given path.

All command-line parameters:

  • -o gap_opening_value : sets the gap opening value to given argument.
  • -e gap_extension_value : sets the gap expansion value to given argument.
  • -b BLOSUM_matrix_path : sets the BLOSUM matrix to given path. Needs the matrix file to exist.
  • -n N : restricts the database to N sequences.
  • -s offset : sets the program to start at given offset in the database.
  • -t top : sets the number of top proteins to be displayed.

cpa2019's People

Contributors

rafftod avatar raniacharkaoui avatar vlad696969 avatar

Stargazers

 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.