mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-11 04:33:10 +00:00
e2ba70ed9a
* feat(cellranger): Add initial count module Co-authored-by: Gisela Gabernet <gisela.gabernet@gmail.com> * feat(cellranger): Add mkgtf module * test(cellranger): Fix count test with mkgtf * fix(cellranger): Generalize gtf attribute filters * chore: Add .gitignore for cellranger tar * build(cellranger): Update dockerfile https://joshtronic.com/2021/09/12/fixed-repository-debian-security-buster-updates-changed-suite-from-stable-to-oldstable/ * Apply suggestions from code review Co-authored-by: Gisela Gabernet <gisela.gabernet@gmail.com> * Apply suggestions from code review Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * Update modules/cellranger/mkgtf/main.nf Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com> * style: Capitalize README * test(cellranger): Update pytest_modules * feat(cellranger): Add initial mkfastq module * ci: Update pytest modules * refactor(cellranger): Update modules to new syntax * docs(cellranger): Update meta files There is some terrible copy-pasting going on. * fix(cellranger): Add args Co-authored-by: Gisela Gabernet <gisela.gabernet@gmail.com> Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
33 lines
1.1 KiB
Text
33 lines
1.1 KiB
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { CELLRANGER_MKGTF } from '../../../../modules/cellranger/mkgtf/main.nf'
|
|
include { CELLRANGER_MKREF } from '../../../../modules/cellranger/mkref/main.nf'
|
|
include { CELLRANGER_COUNT } from '../../../../modules/cellranger/count/main.nf'
|
|
|
|
workflow test_cellranger_count {
|
|
|
|
input = [ [ id:'test', single_end:true, strandedness:'forward', gem: '123', samples: ["test_10x"] ], // meta map
|
|
[ file(params.test_data['homo_sapiens']['illumina']['test_10x_1_fastq_gz'], checkIfExists: true),
|
|
file(params.test_data['homo_sapiens']['illumina']['test_10x_2_fastq_gz'], checkIfExists: true)
|
|
]
|
|
]
|
|
|
|
fasta = file(params.test_data['homo_sapiens']['genome']['genome_fasta'], checkIfExists: true)
|
|
gtf = file(params.test_data['homo_sapiens']['genome']['genome_gtf'], checkIfExists: true)
|
|
reference_name = "homo_sapiens_chr22_reference"
|
|
|
|
CELLRANGER_MKGTF ( gtf )
|
|
|
|
CELLRANGER_MKREF (
|
|
fasta,
|
|
CELLRANGER_MKGTF.out.gtf,
|
|
reference_name
|
|
)
|
|
|
|
CELLRANGER_COUNT(
|
|
input,
|
|
CELLRANGER_MKREF.out.reference
|
|
)
|
|
}
|