Giter Site home page Giter Site logo

ref_finder's Introduction

Build Status

ref_finder - Script to find and check the reference allele.

Version 0.2

ref_finder is a Python script created to find the reference (and alternative) allele using a BIM file (from Plink) and a reference genome (in Fasta format).

Dependencies

The tool requires a standard Python installation (2.7 or 3) with the following module:

  1. pyfaidx version 0.3.0 or latest
  2. pandas version 0.15.2 or latest

The tool has been tested on Linux, but should work on Windows and MacOS operating system as well.

Usage

$ ref_finder.py --help
usage: ref_finder.py [-h] [-v] [--debug] [--log LOGFILE] -i FILE -r FASTA
                     [-o FILE]

Finds the human reference allele (version 0.2).

optional arguments:
  -h, --help            show this help message and exit
  -v, --version         show program's version number and exit
  --debug               Set the logging to debug
  --log LOGFILE         The log file [ref_finder.log]

Input Files:
  -i FILE, --input FILE
                        The input file (BIM format).
  -r FASTA, --reference FASTA
                        The human reference genome in FASTA format.

Result File:
  -o FILE, --output-prefix FILE
                        The name of the output file [ref_alleles.vcf]

Testing

Basic testing is available.

$ python -m unittest -q ref_finder

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.