GithubHelp home page GithubHelp logo

jfjlaros / snp Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 8 KB

Non-biallelic SNPs for population genetics and forensics.

License: MIT License

Makefile 10.27% C 89.73%
snp-candidates dbsnp forensics tri-allelic

snp's Introduction

Finding non-biallelic SNPs

SNPs are used as markers for various population genetic purposes. In particular non-biallelic SNPs are of interest for identification purposes; to have the same discriminative power, more biallelic than non-biallelic SNPs are required.

In this project, we present a tool that uses the NCBI public database dbSNP to identify non-biallelic SNPs.

This work was published in FSI Genetics in 2009.

Installation

Install the expat development files:

apt-get install libexpat1-dev

Retrieve the source code and compile the program:

git clone https://github.com/jfjlaros/snp.git
cd snp/src
make

Usage

The program requires a dump of the database in XML format. These files are typically found in the subfolder named genotype of any of the builds hosted on the download site of the NCBI.

For a file named gt_chrXX.xml.gz, use the following command to find the SNP candidates:

  zcat gt_chrXX.xml.gz | ./snp <threshold> > output.txt

The treshold parameter is used to specify the minimum allele frequency (in percentages). If this option is omitted, the threshold defaults to 0. By increasing this variable the amount of output can be greatly reduced, setting it to 1 or higher is recommended.

Related work

Some notes on allele frequencies on the X- and Y chromosomes.

Inspired by this research, we looked into the degradation of methylated nucleotides for similar purposes.

snp's People

Contributors

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