mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-23 11:38:17 +00:00
a813e2e3a6
* local tests and linting passing (#585) * fix: picard filtersamreads input (#610) * Move readlist into same input channel as bam * Update test reflecting input restructuring * Update tests/modules/picard/filtersamreads/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * fix test Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Added module arriba (#611) * Updated the version of STAR in align and genomegenerate modules * Changes in test.yml * Changes in test.yml * Added module arriba * Changes in test configs * Added module Arriba for fusion detection * Fixed review comments * Added an output option for discarded fusions * Resolved some conflits * conflicts * Apply suggestions from code review Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * added test for new header * enhance module fastp: add `save_merged` (#598) (#614) * enhance module fastp: add `save_merged` (#598) * removed md5sum checks from log and json * Apply suggestions from code review Co-authored-by: James A. Fellows Yates <jfy133@gmail.com> Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> Co-authored-by: praveenraj2018 <43108054+praveenraj2018@users.noreply.github.com>
40 lines
1.3 KiB
Text
40 lines
1.3 KiB
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { BCFTOOLS_REHEADER } from '../../../../modules/bcftools/reheader/main.nf' addParams( options: [suffix: '.updated'] )
|
|
|
|
workflow test_bcftools_reheader_update_sequences {
|
|
|
|
input = [
|
|
[ id:'test', single_end:false ],
|
|
file(params.test_data['sarscov2']['illumina']['test_vcf_gz'], checkIfExists: true)
|
|
]
|
|
fai = file(params.test_data['sarscov2']['genome']['genome_fasta_fai'], checkIfExists: true)
|
|
header = []
|
|
BCFTOOLS_REHEADER ( input, fai, header )
|
|
}
|
|
|
|
workflow test_bcftools_reheader_new_header {
|
|
|
|
input = [
|
|
[ id:'test', single_end:false ],
|
|
file(params.test_data['sarscov2']['illumina']['test_vcf_gz'], checkIfExists: true)
|
|
]
|
|
fai = []
|
|
header = file(params.test_data['sarscov2']['illumina']['test_vcf'], checkIfExists: true)
|
|
|
|
BCFTOOLS_REHEADER ( input, fai, header )
|
|
}
|
|
|
|
workflow test_bcftools_reheader_new_header_update_sequences {
|
|
|
|
input = [
|
|
[ id:'test', single_end:false ],
|
|
file(params.test_data['sarscov2']['illumina']['test_vcf_gz'], checkIfExists: true)
|
|
]
|
|
fai = file(params.test_data['sarscov2']['genome']['genome_fasta_fai'], checkIfExists: true)
|
|
header = file(params.test_data['sarscov2']['illumina']['test_vcf'], checkIfExists: true)
|
|
|
|
BCFTOOLS_REHEADER ( input, fai, header )
|
|
}
|