Skip to content

A highly efficient, powerful, and feature-rich algorithm for analyzing DNA sequences

License

Notifications You must be signed in to change notification settings

Speedro/DNAnalyzer

 
 

Repository files navigation

DNAnalyzer Logo

Copyright WakaTime Releases Repository Size Lines of Code Hits Counter DeepSource

A highly efficient, powerful, and feature-rich algorithm for analyzing DNA sequences

DNAnalyzer identifies proteins, amino acids, start and stop codons, high coverage regions, regions susceptible to neurodevelopmental disorders, transcription factors, and regulatory elements. Researchers are working to extract valuable information from such software to better understand human health and disease. Currently, we have a Command-Line-Interface (CLI) and are working on a Graphical User Interface (GUI) that will enable physicians to quickly and more easily interact with the software, enabling them to identify genetic mutations that may cause disease.

Background

The human genome is composed of over 3 billion base pairs, making human analysis nearly impossible. Consequently, using powerful computational and statistical methods to decode the functional information hidden in DNA sequences are necessary. The genome is also extremely intricate and contains a plethora of data, which need to be organized and converted into analyzable data appropriately. Current analytical tools and software make it arduous for both geneticists and physicians to do so, thus restricting them from acquiring crucial information to better understand humans. [1]

Features

  • Start and stop codons
    • Indicate the start and stop of an amino acid. There are 20 different amino acids. A protein consists of one or more chains of amino acids (called polypeptides) whose sequence is encoded in a gene. [2]
  • High coverage regions
    • Regions of a DNA genome that code for a protein and have a relatively high proportion of guanine and cytosine nucleotides to the 4 nucleotide bases (45-60% GC-content). [3]
  • Longest genes
    • Most susceptible to disease implications and are especially linked to neurodevelopmental disorders (e.g., autism). [4]
  • Transcription Factors
    • Proteins that help turn specific genes "on" or "off" by binding to nearby DNA.. [6]
  • FASTA files (.fa)
    • Supports multi-line and single-line FASTA database files. Files can either be uploaded or linked to from the web. [7]
  • Command-line interface (Met CLI)
    • The Methionine command-line interface (abbreviated as Met CLI) is a unified tool for running DNAnalyzer services from the command-line. The CLI is a powerful tool for using DNAnalyzer services and scripting a sequence of commands to execute. You can currently access all the core features present in DNAnalyzer without having to log in, although account support will be implemented soon. To get more information on Met CLI installation and currently supported commands, refer to Met CLI GitHub repository.
  • GUI
    • A cross-platform GUI-based application that performs the algorithms implemented in the software. The Met CLI continues to be the best way to run the program. Currently, the following operations are supported:
      • Set name of DNA file to analyze
      • Set minimum and maximum number of reading frames
      • Run analysis
    • More features will be added in the future.

Quick Introduction to DNA

DNA

In a nutshell, DNA is found in every cell of your body and contains the instructions for building over 200 different types of cells. DNA is similar to a programming language, but only for living organisms. We can crack the code to reading and interpreting it by using Artificial Intelligence and Machine Learning, which can have life-saving benefits as well as key insights.

Databases

Having a database of DNA is the best way to interpret the DNA, and when combined with machine learning, the ML model can make accurate predictions on DNA it has never seen before. This is how current DNA tests function.

Getting Started

A video tutorial covering the instructions below is also available.

System Requirements

  • JDK 17+
  • A JAVA_HOME environment variable pointing to your JDK, or the Java executable in your PATH
  • Gradle

Build & Run

We use Gradle for building. The Gradle wrapper takes care of downloading dependencies, testing, compiling, linking, and packaging the code.

./gradlew build

Usage

<executable> <arguments>

Executable

java -jar build/libs/DNAnalyzer.jar

Arguments

DNAnalyzer uses CLI arguments instead of stdin. For example, you can do:

assets/dna/random/dnalong.fa --amino=ser --min=0 --max=100 -r

Example

java -jar build/libs/DNAnalyzer.jar assets/dna/random/dnalong.fa --amino=ser --min=16450 --max=520218 -r

Gradle Run

If you prefer, you can also run it directly from Gradle:

./gradlew run --args="assets/dna/random/dnalong.fa --amino=ser --min=10 --max=100"

GUI

DNAnalyzer also comes with a (very basic) GUI; to start DNAnalyzer with the GUI, run:

./gradlew run --args="--gui"

Then:

  • Enter the file name of the DNA file in the text field
  • Set min and max
  • Click analyze

The results of your analysis will be shown in the right pane.

Help message

Usage: DNAnalyzer [-hrV] --amino=<aminoAcid> [--find=<proteinFile>]
                  [--max=<maxCount>] [--min=<minCount>] DNA
A program to analyze DNA sequences.
      DNA                    The FASTA file to be analyzed.
      --amino=<aminoAcid>    The amino acid representing the start of a gene.
      --find=<proteinFile>   The DNA sequence to be found within the FASTA file.
  -h, --help                 Show this help message and exit.
      --max=<maxCount>       The maximum count of the reading frame.
      --min=<minCount>       The minimum count of the reading frame.
  -r, --reverse              Reverse the DNA sequence before processing.
  -V, --version              Print version information and exit.

Future Support and Improvements

Needleman-Wunsch Algorithm

This algorithm is used primarily for gene sequencing looking for the optimal match between multiple gene sequences. While the Boyer-Moore algorithm is undoubtedly more efficient, the Needleman-Wunsch algorithm continues to be one of the most accurate algorithms for genomic sequencing. [8]

Genotype Data for Analysis and Machine Learning Training

This will bring the ability to use genotyped data from 3rd-party DNA testing services with our algorithm. In the future, to use this program, all you will need is a simple $99 DNA Test to be able to experience all the features of DNAnalyzer.

DIAMOND Implementation, a BLAST fork

This will combine DIAMOND's performance advantage along with BLAST's algorithm.

.FAB File Format

This will allow for the use of own custom .fab files, which are a binary version of FASTA files. It will enable faster processing of large files and massively reduced file sizes (up to 4x).

Citations

View our in-line citations in the Citations document.

Contributing

Terms of Use

You are entirely responsible for the use of this application, including any and all activities that occur. While the DNAnalyzer Team strives to fix all major bugs that may be either reported by a user or discovered while debugging, they will not be held liable for any loss that the user may incur as a result of using this application, under any circumstances. For further inquiries, please contact the following email address: contact@dnanalyzer.live

Copyright © 2022 Piyush Acharya and DNAnalyzer. This is an open source project. Some rights reserved

About

A highly efficient, powerful, and feature-rich algorithm for analyzing DNA sequences

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Java 71.7%
  • HTML 19.6%
  • CSS 7.3%
  • Other 1.4%