mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-23 03:28:17 +00:00
58134cb929
* Initialise chromap module * Revert "Initialise chromap module" This reverts commit 47c67ae231a6f221ef5b9b7b444b583b5406852b. * Remake chromap base files with new layout * Copy chromap * Copy index * Add compression * Update padding * Update container * Update chromap input test data * Add chromap chromap tests * Add padding * Update comment * update yaml file * Remove TODOs * Add fasta input to yaml * Update YAML * Remove comment, update container * Remove comments * Import Chromap index * Update test.yml * Fix read input * Update test.yml * Add bcftools/concat module. (#641) * draft for bcftools modules [ci skip] * initial test for bcftools concat * Update the params for testing * fix tests * Accomodate code review [ci skip] Co-authored-by: James A. Fellows Yates <jfy133@gmail.com> * Update the meta file and open PR for review * Update the keyword * Update the tags for module [ci skip[ * add threads Co-authored-by: James A. Fellows Yates <jfy133@gmail.com> * add module for dragonflye (#633) * add module for dragonflye * fix tests for dragonflye * Update test.yml * Update meta.yml * Update main.nf * Update main.nf * Update modules/dragonflye/meta.yml Co-authored-by: Gregor Sturm <mail@gregor-sturm.de> * update typos. change quote from ' to ". (#652) * Add bcftools/norm module (#655) * Initial draft [ci skip] * trigger first test * update output file path * Tests passing * finishing touches for meta.yml and update checksum * tweak checksum * add threads to the module * skip version info for matching test md5sum [ci skip] * Add ref fasta and finalize the module Co-authored-by: Gregor Sturm <mail@gregor-sturm.de> * Expansionhunter (#666) Please enter the commit message for your changes. Lines starting * adds expansionhunter module Co-authored-by: Maxime U. Garcia <maxime.garcia@scilifelab.se> * Update test.yml (#668) * Specify in guidelines one should split CPUs when module has n > 1 tool (#660) * Specify more guidelines on input channels * Linting * Updates based on code review * Update README.md * Fix broken sentence * Describe CPU splitting * Update README.md Co-authored-by: Gregor Sturm <mail@gregor-sturm.de> * More CPU examples Co-authored-by: Gregor Sturm <mail@gregor-sturm.de> * Add dsh-bio export-segments module (#631) Co-authored-by: Gregor Sturm <mail@gregor-sturm.de> * update: `BWA/ALN` (#653) * Specify more guidelines on input channels * Linting * Updates based on code review * Update README.md * Fix broken sentence * Remove reads from output channel following module guidelines. Should do a .join() based on $meta, to reassociate. Co-authored-by: Gregor Sturm <mail@gregor-sturm.de> * Update seqwish reported version to match bioconda version. (#678) * Bbmap index (#683) BBMap index module * Initialise chromap module * Revert "Initialise chromap module" This reverts commit 47c67ae231a6f221ef5b9b7b444b583b5406852b. * Remove unnecessary files * Remove unnecessary files * Update modules/chromap/index/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update modules/chromap/index/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update modules/chromap/chromap/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update tests/modules/chromap/chromap/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update tests/modules/chromap/chromap/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update tests/modules/chromap/chromap/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update modules/chromap/index/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Remove pytest_software.yml * Apply suggestions from code review Co-authored-by: Abhinav Sharma <abhi18av@users.noreply.github.com> Co-authored-by: James A. Fellows Yates <jfy133@gmail.com> Co-authored-by: Robert A. Petit III <robbie.petit@gmail.com> Co-authored-by: Gregor Sturm <mail@gregor-sturm.de> Co-authored-by: JIANHONG OU <jianhong@users.noreply.github.com> Co-authored-by: Anders Jemt <jemten@users.noreply.github.com> Co-authored-by: Maxime U. Garcia <maxime.garcia@scilifelab.se> Co-authored-by: Michael L Heuer <heuermh@acm.org> Co-authored-by: Daniel Lundin <daniel.lundin@lnu.se> Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
79 lines
3.1 KiB
Text
79 lines
3.1 KiB
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { CHROMAP_INDEX } from '../../../../modules/chromap/index/main.nf' addParams( options: [:] )
|
|
include { CHROMAP_CHROMAP as CHROMAP_CHROMAP_BASE } from '../../../../modules/chromap/chromap/main.nf' addParams( options: [:] )
|
|
include { CHROMAP_CHROMAP as CHROMAP_CHROMAP_SAM } from '../../../../modules/chromap/chromap/main.nf' addParams( options: ['args': '--SAM'] )
|
|
|
|
workflow test_chromap_chromap_single_end {
|
|
|
|
// Test single-end and gz compressed output
|
|
|
|
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
|
input = [
|
|
[ id:'test', single_end:true ], // meta map
|
|
[ file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true) ]
|
|
]
|
|
|
|
CHROMAP_INDEX ( fasta )
|
|
CHROMAP_CHROMAP_BASE (
|
|
input, // meta + read data
|
|
fasta, // reference genome
|
|
CHROMAP_INDEX.out.index, // reference index
|
|
[], // barcode file
|
|
[], // barcode whitelist
|
|
[], // chromosome order file
|
|
[] // pairs chromosome order file
|
|
)
|
|
}
|
|
|
|
workflow test_chromap_chromap_paired_end {
|
|
|
|
// Test paired-end and gz compressed output
|
|
|
|
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
|
input = [
|
|
[ id:'test', single_end:false ], // meta map
|
|
[
|
|
file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true),
|
|
file(params.test_data['sarscov2']['illumina']['test_2_fastq_gz'], checkIfExists: true)
|
|
]
|
|
]
|
|
|
|
CHROMAP_INDEX ( fasta )
|
|
CHROMAP_CHROMAP_BASE (
|
|
input, // meta + read data
|
|
fasta, // reference genome
|
|
CHROMAP_INDEX.out.index, // reference index
|
|
[], // barcode file
|
|
[], // barcode whitelist
|
|
[], // chromosome order file
|
|
[] // pairs chromosome order file
|
|
)
|
|
}
|
|
|
|
workflow test_chromap_chromap_paired_bam {
|
|
|
|
// Test paired-end and bam output
|
|
|
|
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
|
input = [
|
|
[ id:'test', single_end:false ], // meta map
|
|
[
|
|
file(params.test_data['sarscov2']['illumina']['test_1_fastq_gz'], checkIfExists: true),
|
|
file(params.test_data['sarscov2']['illumina']['test_2_fastq_gz'], checkIfExists: true)
|
|
]
|
|
]
|
|
|
|
CHROMAP_INDEX ( fasta )
|
|
CHROMAP_CHROMAP_SAM (
|
|
input, // meta + read data
|
|
fasta, // reference genome
|
|
CHROMAP_INDEX.out.index, // reference index
|
|
[], // barcode file
|
|
[], // barcode whitelist
|
|
[], // chromosome order file
|
|
[] // pairs chromosome order file
|
|
)
|
|
}
|