Code Monkey home page Code Monkey logo

hpp_production_workflows's Introduction

HPP Production Workflows

This repository holds WDL workflows and Docker build scripts for production workflows used by the Human Pangenome Project.

All WDLs and containers created in this repository are licensed under the MIT license. The underlying tools (that the WDLs and containers run) are likely covered under one or more Free and Open Source Software licenses, but we cannot make any guarantees to that fact.

Organization

The repo is split into assembly and QC workflows with the following organization:

 ── docker/
    └── toolName/
        └── Dockerfile
        └── Makefile
        └── scripts/
            └── toolName/
                └── scriptName.py
 ── wdl/
    └── tasks/
    │   └── taskName.wdl
    └── workflows/ 
        └── workFlowName.wdl

Assembly

Assemblies are produced with Hifiasm from reads filtered with HiFiAdapterFilt:


QC

Automated Assembly QC

Assembly QC is run with one of two workflows:

  • standard_qc.wdl
  • standard_qc_no_qv.wdl (for samples with no child Illumina data)

The following tools are included:

Miscellaneous QC

In addition to the automated QC of assemblies, the following tasks are included:

  • read_stats.wdl: outputs read length statistics for bam/fastq files
  • mask_assembly.wdl: masks assemblies in regions found in bed file
  • dropFastaContigs.wdl: drops contigs from assemblies based on text file list of contigs to drop
  • contamination.wdl: detects contamination in assemblies

Contamination

The contamination workflow is modeled after an NCBI document describing methods for detection and flagging of common contaminants in assemblies.

The workflow takes as input an assembly and contamination reference sequences to be used in the following subtasks. Each subtask is optional and is enabled by providing the reference sequence.

  • Eukaryotic Contamination: cloning artifacts that are likely to show up as contaminants across all eukaryotic species: vector sequences, E.coli genome, phage genomes, bacterial Insertion Sequences and transposons here
  • Mitochondria: mitochondrial sequences end in genomic.fna.gz here
  • Plastids: plastid sequences end in genomic.fna.gz here
  • Vecscreen: sequencing adaptor screens here
  • RRNA: ribosomal RNA here
  • RefSeq: reference sequences from other species organized here ending in genomic.fna.gz. Large files may need to be split into smaller shards.

The output includes the direct output from each subtask, BED files summarizing all the genomic locations where contamination was found, and a file detailing the ratio of contamination sequence per assembly contig.


hpp_production_workflows's People

Contributors

juklucas avatar mobinasri avatar tpesout avatar avani-k avatar jimin001 avatar adamnovak avatar iviolich avatar miramastoras 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.