Skip to content

Nextflow workflow for purging haplotigs from a genome assembly

License

Notifications You must be signed in to change notification settings

WarrenLab/purge-haplotigs-nf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

purge-haplotigs-nf

Nextflow workflow for purging haplotigs from a genome assembly

Introduction

This pipeline uses the program purge_haplotigs to purge haplotigs from an assembly of a diploid organism.

Requirements

Only nextflow and conda or mamba are required.

Running

First, perform the alignment and create the histogram:

nextflow run WarrenLab/purge-haplotigs-nf \
    --assembly contigs.fa --subreads subreads.bam

Then, examine the histogram in histogram/ to choose low, mid, and high cutoffs, as explained in the README for purge_haplotigs. Enter those cutoffs to run the purging part of the pipeline:

nextflow run WarrenLab/purge-haplotigs-nf \
    --assembly contigs.fa --low 5 --mid 20 --high 50

Your curated assembly will now be in purged/curated.fa.

About

Nextflow workflow for purging haplotigs from a genome assembly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published