Coder Social home page Coder Social logo

fjdf / slamem Goto Github PK

View Code? Open in Web Editor NEW
10.0 3.0 6.0 580 KB

Finding Maximal Exact Matches (MEMs) using a Sampled LCP Array

License: GNU General Public License v3.0

C 99.05% Python 0.48% Makefile 0.47%
dna sequencing genome-analysis genomic-data-analysis genomics-visualization mem mummer maximal-exact-matches

slamem's Introduction

slaMEM

slaMEM is a tool used to efficiently retrieve MEMs (Maximal Exact Matches) between a reference genome sequence and one or more query sequences, similarly to these software tools:

slaMEM relies on an FM-Index together with a new data structure called SSILCP (Sampled Search Intervals from Longest Common Prefixes) to store information about parent intervals in a time- and space-efficient way.

slaMEM also includes an useful feature to display the locations of the found MEMs, generating images like the one below.

MEMs of 57 E.coli strains

Reference

If you use slaMEM, please cite:

Fernandes, Francisco and Ana T. Freitas. slaMEM: efficient retrieval of maximal exact matches using a sampled LCP array. Bioinformatics 30.4 (2014): 464-471.

Manual

Install

make

Usage

./slaMEM (<options>) <reference_file> <query_file(s)>
Options:
  • mem : find MEMs: any number of occurrences in both ref and query (default)
  • mam : find MAMs: unique in ref but any number in query
  • l : minimum match length (default=20)
  • o : output file name (default="*-mems.txt")
  • b : process both forward and reverse strands
  • n : discard 'N' characters in the sequences
  • m : minimum sequence size (e.g. to ignore small scaffolds)
  • r : load only the reference(s) whose name(s) contain(s) this string
Extra:
  • v : generate MEMs map image from this MEMs file
Example:
./slaMEM -b -l 10 ./ref.fna ./query.fna
./slaMEM -v ./ref-mems.txt ./ref.fna ./query.fna

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.