GithubHelp home page GithubHelp logo

qile0317 / kmergma.jl Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 1.58 MB

A kmer-based homology searching tool

Home Page: https://qile0317.github.io/KmerGMA.jl/stable/

License: MIT License

Julia 100.00%
genomics kmer kmer-counting bioinformatics homology homology-search

kmergma.jl's Introduction

KmerGMA

Build Status Codecov test coverage Latest Release Documentation MIT license

A k-mer based approach for homolgy searching

A package for finding homologues of a reference gene family/sequence using kmer manipulation with a single scan. Also includes utilities such as an algorithm to find all exact matches of a reference sequence to a genome.

The approach was developed to predict novel VDJ alelles in genomes based on sets of reference sequences, but should be just as viable for other gene homologues that arise from gene families.

Package Features

  • Homology searching of 1 query sequence or a collection of queries to a local database(s)
  • Find exact gene matches in a genome from a query sequence
  • Many subsequence counting utilities for kmers, paired kmers, and strobemers (https://doi.org/10.1101/gr.275648.121)

Status

The main functionalities of the package are all working but not finalized. There may be lots of rapid changes and new releases.

Installation

The package is not yet registered in the pkg registry. Until then, please use:

using Pkg
Pkg.add(PackageSpec(name="KmerGMA", url = "https://github.com/Qile0317/KmerGMA.jl.git"))

If you are interested in the cutting edge of the development, please check out the master branch to try new features before release.

Usage Example

To conduct homology searching of a set of sequences in a local fasta file with another query sequence fasta file, simply do:

using KmerGMA
KmerGMA.findGenes(genome_path = "my_sequences.fasta", ref_path = "my_query_sequence_family.fasta")

Where genome_path is the file location of a fasta file containing sequences to search over, and ref_path is the file location of a fasta file containing the query sequence or a set of alike query sequences (For example V-genes).

The function defaults to returning a vector of fasta records.

Alternatively, if accuracy is favored over speed, then its suggested to be running the following:

KmerGMA.findGenes_cluster_mode(genome_path = "my_sequences.fasta", ref_path = "my_query_sequence_family.fasta")

Where speed is sacrificed for accuracy.

The functions have many optional paramaters to optimize/adjust its performance. See the documentation for more details.

Documentation

Documentation is deployed at https://qile0317.github.io/KmerGMA.jl

Performance

The current version of the homology searching findGenes function can iterate on average 40 megabases per second. So it would take about 80 seconds for the human genome. The performance of findGenes_cluster_mode slows porportionally to the number of reference sequence clusters, so for 5 clusters it would be 40/5 = 8 megabases/second.

Contributions

The work was initially begun at Karolinska Institutet, as a side project to the in-progress project Discovery of Novel Germline Immunoglobulin alleles in which 2 approaches were utilized to expand camelid V(D)J databases. Thanks to @murrellb for massive support. More information is found at https://github.com/Qile0317/SoFoCompBio22

kmergma.jl's People

Contributors

qile0317 avatar

Stargazers

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