Code Monkey home page Code Monkey logo

pun-of-harold's Introduction

PUN of HaROLD: Pretty Useful ruNtime of HaROLD

NB: this is deprecated code, but some may find use of it.

This program automates the running of processed in performing haplotype reconstruction on longitudinal deep sequencing samples, by analysing co-varying variants in a probabilistic framework.

Instructions:

  • Git clone this directory into folder
  • Save n bam files into <project_folder>/01_bam/
  • Save a .txt file including a newline separated list of your .bam files, in order of time (if you have it) into 01_bam/
  • Save a reference .fasta file in 01_bam/
  • Edit pun_of_harold.py instructions:
    • max-haplo - The maximum number of haplotypes to attempt in Haplotype_Reconstruction
    • alpha-frac - The fraction of variable sites to include in error estimates,
      • 0.01 is recommended. 0.1 for small genomes
      • Larger is better, Larger is slower
    • Command - the comm and requires to submit jobs in a cluster i.e. sh, qsub
    • conda_activate_loc - the location of the binary to run anaconda
    • conda_env - location of the conda environment to use in job submission
      • punofharold.yml is compatible
    • java - the command required to run java on your system

requirements:

  • packaged in here is a punofharold.yml file, use this to create a conda environment for runtime &/or job submission

process:

The process will run through from num_haplo = 2-max-haplo, running HAROLD. Formatiing outputs & piping into the num_haplo + 1 run. Between num_haplo = 4 to max-haplo ifthe gradient of Log Likelihood for the most recent 3 runs is at any point negative; HAROLD jobs will cease. A summary table & plot will be produced. For each BAM file in 01_bam/ haplotype refinement will be initialised, running each in parallel.

pun-of-harold's People

Contributors

ojcharles avatar

Watchers

James Cloos avatar Sofia Morfopoulou avatar Cristina Venturini avatar José Afonso Guerra-Assunção 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.