mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-23 03:28:17 +00:00
989fb7d5b7
* new module: samtools/fastq * solve conflict: pytest_software.yml * solve linting conflicts * solved EditorConfig linting problem * Module samtools/fastq: * output compressed fastq.gz file(s) * add if conditionals for single/paired reads * samtools/fastq: modified test.yml * samtools/fastq: modified main.nf to avoid duplicated part of the script section * fix README.md * modify test path gatk4 * fix config * Add new module gatk4/haplotypecaller * solve check issues * fix test.yml file * fix test.yml gz.tbi * Update software/gatk4/haplotypecaller/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update software/gatk4/haplotypecaller/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update software/gatk4/haplotypecaller/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update software/gatk4/haplotypecaller/meta.yml Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update software/gatk4/haplotypecaller/meta.yml Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update tests/software/gatk4/haplotypecaller/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: suzannejin <suzanne.jin@crg.eu> Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
30 lines
1.5 KiB
Text
30 lines
1.5 KiB
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { GATK4_APPLYBQSR } from '../../../../software/gatk4/applybqsr/main.nf' addParams( options: [:] )
|
|
|
|
workflow test_gatk4_applybqsr {
|
|
input = [ [ id:'test' ], // meta map
|
|
file(params.test_data['sarscov2']['illumina']['test_paired_end_sorted_bam'], checkIfExists: true),
|
|
file(params.test_data['sarscov2']['illumina']['test_baserecalibrator_table'], checkIfExists: true)
|
|
]
|
|
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
|
fai = file(params.test_data['sarscov2']['genome']['genome_fasta_fai'], checkIfExists: true)
|
|
dict = file(params.test_data['sarscov2']['genome']['genome_dict'], checkIfExists: true)
|
|
|
|
GATK4_APPLYBQSR ( input, fasta, fai, dict, [] )
|
|
}
|
|
|
|
workflow test_gatk4_applybqsr_intervals {
|
|
input = [ [ id:'test' ], // meta map
|
|
file(params.test_data['sarscov2']['illumina']['test_paired_end_sorted_bam'], checkIfExists: true),
|
|
file(params.test_data['sarscov2']['illumina']['test_baserecalibrator_table'], checkIfExists: true)
|
|
]
|
|
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
|
fai = file(params.test_data['sarscov2']['genome']['genome_fasta_fai'], checkIfExists: true)
|
|
dict = file(params.test_data['sarscov2']['genome']['genome_dict'], checkIfExists: true)
|
|
intervals = file(params.test_data['sarscov2']['genome']['test_bed'], checkIfExists: true)
|
|
|
|
GATK4_APPLYBQSR ( input, fasta, fai, dict, intervals )
|
|
}
|