Code Monkey home page Code Monkey logo

eris's Introduction

Eris

Eris is a program for calculating sample concordance between BAM/CRAM alignment files and SNP array files in birdseed format. Also provided are scripts for converting array files for some common SNP chips (such as Fluidigm SNPTrace and OmniExpress1.0) into the birdseed format.

The output report files provide an estimated level of contamination between a given BAM and its specific array file and a sorted table of estimated concordance for each array file in a given directory.

Eris can also be run with the -g flag to create a file containing genotypes at each probelist site from the given BAM. These files are much smaller than the BAM itself and can be used with the -i flag to run concordance in place of the BAM.

Contributors: Adam English, Adam Mansfield, Shruthi Ambreth, Jeffrey Reid

Requirements

Requires Python 3 and pysam 8.4+.

Some of the conversion scripts require Perl 5.

Usage

  • Use provided scripts (under array_kits/) to convert array files into birdseed format.

  • Move all birdseed files into one directory.

  • Ensure the BAM/CRAM file you will use is indexed (such as with samtools index).

  • Then run:

python3 Eris.py -b BAM -a ARRAY_DIR -A SELF_ARRAY -p PROBELIST -o OUTFILE
  • For example:
python3 Eris.py -b NA12878.bam -a /path/to/birdseeds_dir \
      -A /path/to/birdseeds_dir/NA12878.birdseed -o NA12878.report.txt \
      -p ../array_kits/fluidigm_37/probelist.txt

Copyright

Copyright 2017 Baylor College of Medicine Human Genome Sequencing Center

eris's People

Contributors

adaminius avatar

Watchers

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