Skip to content

add bcftools sort operation #44

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ include { VARIANT_ANNOTATION; VARIANT_SARSCOV2_ANNOTATION;
include { PANGOLIN_LINEAGE; VCF2FASTA } from './modules/07_lineage_annotation'
include { BGZIP } from './modules/08_compress_vcf'


params.help= false

params.fastq1 = false
Expand Down
2 changes: 1 addition & 1 deletion modules/04_variant_calling.nf
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ process VARIANT_CALLING_LOFREQ {
--min-mq ${params.min_mapping_quality} \
--ref ${reference} \
--call-indels \
<( lofreq indelqual --dindel --ref ${reference} ${bam} ) | bgzip > ${name}.lofreq.vcf.gz
<( lofreq indelqual --dindel --ref ${reference} ${bam} ) | bcftools sort | bgzip > ${name}.lofreq.vcf.gz

# NOTE: adding the tabix index is a dirty fix to deal with LoFreq VCF missing the chromosome in the header
bcftools index ${name}.lofreq.vcf.gz
Expand Down
2 changes: 1 addition & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ process.shell = ['/bin/bash', '-euo', 'pipefail']
cleanup = true
conda.createTimeout = '1 h'

VERSION = '0.17.0'
VERSION = '0.17.1'

manifest {
name = 'TRON-Bioinformatics/covigator-ngs-pipeline'
Expand Down