Giter VIP home page Giter VIP logo

hic-assembly-benchmarking's Introduction

Snakemake pipeline for testing HiC phasing and scaffolding on simulated data

Overview:

  • This pipeline can simulate a diploid individual with snps, indels and optinally structural variation on a reference genome of choice. Specify the individual in config/config.yaml.
  • Hifi + HiC reads can be simulated from this genome
  • Hifiasm is run using the simulated reads
  • Yahs and other tools can be run to scaffold the assembly graph created by Hifiasm
  • The resulting assembly is evaluated by Quast

Installation

  1. Clone this repo.
  2. You unfortunately need to manually install pbsim3. This can be done by running ./install_pbsim.sh. GFAse also needs to be installed manually (but this tool is not used by the main pipeline).
  3. Install Python requirements: pip install -r requirements.txt
  4. Test that the pipeline works: snakemake --use-conda -F test_hifiasm (should finish without errors in ~2 minutes)

Run scaffolding with yahs and quality assesment with quast

See the rule test_quast in rules/test.smk.

snakemake --use-conda -F test_quast

Missing functionality / todo

  • Genome simulation is hardcoded in config and the same for all simulations. Should be possible to configure for a given run
  • Heterozygosity is fixed, should be tunable. Every variant is now default heterozygous.

hic-assembly-benchmarking's People

Contributors

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