Skip to content

Commit 470428f

Browse files
georgiakesLouisLeNezetpinin4fjordsclaudevagkaratzas
authored
Add module t1k/run (#9555)
* Initial commit * Create one input tuple * Remove bam tests * Update snapshot * Fix formatting * Update meta.yml * Add version to main.nf.test * Run prettier * Add minimac4 imputation subworkfllow (#9451) * Add vcf_impute_minimac4 * Update linting * Update test * Fix linting * Update minimac4 sbwf * Remove tag * Remove tag * Fix linting * Add comment * Update snapshot * Fix nf-test * Add BBSplit stats to MultiQC in fastq_qc_trim_filter_setstrandedness subworkflow (#9559) Add BBSplit stats to MultiQC files in fastq_qc_trim_filter_setstrandedness Pass BBSplit stats output to MultiQC for visualization of read binning statistics. MultiQC 1.33+ includes support for parsing BBSplit stats.txt files and displaying per-sample read distribution across reference genomes. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.5 <[email protected]> * Update cutadapt (#9551) * proper stub for gz and stub test added * topic output syntax and tests update * meta yml updated with topics and ontologies * meta file curated * version bump to latest * update nf-tests properly * adding self to maintainers * removed Z flag as is deprecated after v4.10 * conda bug with different pre-built python version fixed * Syntax updates and topic version for manta modules (#9556) * update manta germline * topics convertinversion * topics convertinversion * topics manta/somatic * topics manta/tumoronly * Syntax updates and topics of jasminesv (#9554) syntax updates and topics of jasminesv * Update `Modkit pileup` (#9553) * update yaml * update main.nf * modified test runs * update bedmethyltobigwig tests * update main * update snapshot * fix linting * update snapshots * remove config * update module_args * [automated] Fix linting with Prettier * changed name * update main --------- Co-authored-by: ra25wog <[email protected]> Co-authored-by: nf-core-bot <[email protected]> * Standarize and alignment for all imputation and alignment modules (#9566) * Standarize and alignment * Fix glimpse2 sbwf test * Fix test * Add comment * Update snapshot --------- Co-authored-by: LouisLeNezet <[email protected]> * Update Infrastructural dependencies * Remove .view() (#9567) * Bump strdrop to 0.3.1 (#9565) * Remove unecessary tags (#9568) * Remove .view() * Remove unecessary tags * Update trimgalore (#9570) * testing solo trim-galore container, without adding extra cutadapt and pigz * Syntax updates and topic version for manta modules (#9556) * update manta germline * topics convertinversion * topics convertinversion * topics manta/somatic * topics manta/tumoronly * Syntax updates and topics of jasminesv (#9554) syntax updates and topics of jasminesv * Update `Modkit pileup` (#9553) * update yaml * update main.nf * modified test runs * update bedmethyltobigwig tests * update main * update snapshot * fix linting * update snapshots * remove config * update module_args * [automated] Fix linting with Prettier * changed name * update main --------- Co-authored-by: ra25wog <[email protected]> Co-authored-by: nf-core-bot <[email protected]> * Standarize and alignment for all imputation and alignment modules (#9566) * Standarize and alignment * Fix glimpse2 sbwf test * Fix test * Add comment * Update snapshot --------- Co-authored-by: LouisLeNezet <[email protected]> * Update Infrastructural dependencies * Remove .view() (#9567) * Bump strdrop to 0.3.1 (#9565) * Remove unecessary tags (#9568) * Remove .view() * Remove unecessary tags * latest container, with cutadapt 5.2 * new output syntax, nf-tests updated, meta updated * meta yml lint fixed * trying to fix lint * lint fix with nf-core tools 3.6.0dev * removing TRIMGALORE versions output from the FASTQ_FASTQC_UMITOOLS_TRIMGALORE subworkflow --------- Co-authored-by: Nicolas Vannieuwkerke <[email protected]> Co-authored-by: Jinn <[email protected]> Co-authored-by: ra25wog <[email protected]> Co-authored-by: nf-core-bot <[email protected]> Co-authored-by: Louis Le Nézet <[email protected]> Co-authored-by: LouisLeNezet <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Felix Lenner <[email protected]> * RiboCode - prepare_transcripts, metaplots, ribocode (#9485) * add 3 required ribocode modules * GTFUpdate; meta in inputs; No Gzip; * return snaps * nf-test passing * Update RiboCode versions to use topics * Update RiboCode versions to use topics -New lines at EOF * Update RiboCode versions to use topics - Prettier * RiboCode update snapshots * Update RiboCode snapshots to container versions * Bump to latest ribocode build with pyfasta and ribocode fixes * Improve RiboCode module tests and fix review issues - Remove defaults channel from environment.yml files - Fix keywords to lowercase in meta.yml files - Add stub tests to all modules - Update version snapshots from 1.2.14 to 1.2.15 - Remove duplicate snapshot entries - Optimize test setup using pre-made test data: - metaplots/ribocode: use UNTAR for annotation instead of full setup chain - prepare: use pre-made updated GTF instead of running gtfupdate Temporarily points to test-datasets branch pending merge of: nf-core/test-datasets#1820 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]> * Update RiboCode snapshot to GHA runner architecture Update md5 hashes to match linux/amd64 output from CI runners. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]> * Add schema reference to ribocode/ribocode meta.yml 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]> * Revert nf-test.config to standard test-datasets paths test-datasets PR #1820 has been merged, reverting to nf-core/test-datasets. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]> --------- Co-authored-by: Jonathan Manning <[email protected]> Co-authored-by: Claude Opus 4.5 <[email protected]> * Bump stranger (#9571) * Bump stranger * meta.yaml * linting not happy * linting is happy, but I'm not * pin same python version as used in container * add containers in meta.yml for fastqc and multiqc (#9569) * add containers for fastqc and multiqc * sort containers and add https for singularity * fix build_id naming * some more key names fixing * use underscores * Sort TRGT merge inputs for stable outputs (#9572) * Rseqc add bam index - topics-based versions - version bump (#9546) * Updated rseqc/bamstat: Added BAI support per #9460 & topics-based versions * Updated rseqc/inferexperiment: Added BAI support per #9460 & topics-based versions * Updated rseqc/innerdistance: Added BAI support per #9460 & topics-based versions * Updated rseqc/junctionannotation: Added BAI support per #9460 & topics-based versions * Updated rseqc/junctionsaturation: Added BAI support per #9460 & topics-based versions * Updated rseqc/readdistribution: Added BAI support per #9460 & topics-based versions * Updated rseqc/readduplication: Added BAI support per #9460 & topics-based versions * Updated rseqc/tin: Added topics-based versions * Updated bam_rseqc subworkflow - BAI support, channel syntax fix - topics-based versions * Failed snapshot update - linting error * Snapshot Update & Channel syntax fix * Channel syntax update * Test & Snapshot Updated - version assertion to circumvent nf-core tools potential bug * Fixed null entries in snapshot * Updated subworkflow assertions on optional files (& snapshot) - migration of versions channels to topics * Linting failures fixes - dedicated versions assertions * Add MultiQC routing for seqkit/stats and UMI-tools outputs (#9576) - Add SEQKIT_STATS output to multiqc_files in fastq_remove_rrna (when using ribodetector for rRNA removal) - Add umi_log output to multiqc_files in fastq_qc_trim_filter_setstrandedness for both trimgalore and fastp paths 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.5 <[email protected]> * Update cmaple (#9580) * adding uncompression functionality * new versions output syntax * meta.yml updated * Add fq2bam fq align dd bwamem (#9309) * Added fq2bam * test fix * typo * PE channel * tidying * gpu snap * test fix for snaps * gpu snapshot * PR feedback * tests * cpu snapshot * tests * last snapshot * fix channels * last snapshot * PR feedback * PR feedback * new cpu snapshot * changing test * changing test * new gpu snapshot * [automated] Update gpu snapshot * PR feedback * PR feedback * PR feedback * PR feedback * PR feedback * PR feedback * PR feedback * PR feedback * PR feedback * PR feedback * PR feedback * containerOptions back * genome test name * genome test name * wrong comment * fix tests * new snapshot * Add use_gpu channel * new snapshot * [automated] Fix linting with Prettier * fix lint * Remove containerOptions --------- Co-authored-by: root <[email protected]> Co-authored-by: root <[email protected]> Co-authored-by: nf-core-bot <[email protected]> Co-authored-by: Joon Klaps <[email protected]> Co-authored-by: Eduard Casas <[email protected]> * Update RSEQC modules with Seqera Wave containers matching environment.yml (#9588) Replace biocontainers with Seqera Wave containers built from the exact environment.yml specifications. This ensures conda and container environments match. Key changes: - Pin r-base=4.3 in all RSEQC environment.yml files (r-base=3.5 has no ARM build available) - Use Wave-generated containers built from environment.yml for both Docker and Singularity - Standardize all 9 RSEQC modules to use identical dependencies The previous biocontainers (rseqc:5.0.4--pyhdfd78af_1) were not built with the R pin specified in environment.yml, causing inconsistency between conda and container execution modes. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.5 <[email protected]> * Allow gzipped inputs to modkit/bedmethyltobigwig (#9591) * Allow gzipped inputs to modkit/bedmethyltobigwig * Update modules/nf-core/modkit/bedmethyltobigwig/main.nf Co-authored-by: Felix Kummer <[email protected]> * harshil --------- Co-authored-by: Felix Kummer <[email protected]> * Fix modkit pileup stub (#9590) * feat(ribowaltz): Export underlying data from QC plots (#9593) * feat(ribowaltz): Export underlying data from QC plots Add TSV export for data underlying P-site region and frame distribution plots. This makes the raw data available for downstream analysis and reporting tools like MultiQC. Changes: - Export psite_region.tsv from region_psite() in save_psite_region_plot - Export frames.tsv from frame_psite() in save_frame_plots - Export frames_stratified.tsv from frame_psite_length() in save_frame_plots - Add ribowaltz_qc_data output channel for TSV files - Update stub outputs to include new TSV files - Add test assertions for new output channel 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]> * chore(ribowaltz): Update meta.yml with ribowaltz_qc_data output 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]> --------- Co-authored-by: Claude Opus 4.5 <[email protected]> * feat(ribowaltz): Export underlying data for all QC plots (#9594) * feat(ribowaltz): Export underlying data for all QC plots Add TSV data exports for all riboWaltz QC plots to enable downstream processing and MultiQC custom content integration: - length_bins_for_psite.tsv (P-site offset identification bins) - ends_heatmap.tsv (read extremities heatmap) - codon_usage.tsv (codon usage barplot) - length_distribution.tsv (read length distribution) - metaprofile_psite.tsv (P-site metaprofile around start/stop codons) These complement existing exports (psite_region, frames, frames_stratified). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]> * fix(ribowaltz): Use correct key for ends_heatmap data export The rends_heat function returns data in 'count_dt' not 'dt'. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]> --------- Co-authored-by: Claude Opus 4.5 <[email protected]> * chore(deps): update conda-incubator/setup-miniconda digest to 8352349 * Swap bcftools/mpileup to topic (#9596) * Swap bcftools/mpileup to topic * Fix linting * Update snapshots * Swap mpileup to topics (#9595) * Swap mpileup to topics * Apply suggestions from code review * Add Harshil back as author * Update snapshots * Fix string path (#9602) * Fix string path * Update subworkflows/nf-core/vcf_impute_beagle5/main.nf Co-authored-by: Felix Lenner <[email protected]> --------- Co-authored-by: Felix Lenner <[email protected]> * Bump genmod to 3.10.2 and switch to topics (#9603) * Bump genmod to 3.10.2 and switch to topics * Add md5sum for stable subcommands * Update the FASTP output file names to match "R1/R2" naming conventions (#9606) * Modify output files in FASTP module to use 'R1' and 'R2' conventions rather than just '1' or '2' * Update testing snapshots --------- Co-authored-by: Tatiana Gelaf Romer <[email protected]> * Update MLST from 2.23 to 2.25 (#9604) * Update MLST from 2.23 to 2.25 * test: update snapshots for mlst 2.25 --------- Co-authored-by: Subham Verma <[email protected]> * Update GitHub PR template check list item - version numbers (#9586) Update PR template check list item WRT version numbers Updating the PR template per the blog: ``` We are adopting topic channels to replace the versions.yml. For now both options are valid, but this will change. No more mixing of version channels. ``` Co-authored-by: Simon Pearce <[email protected]> * Ngscheckmate topics (#9597) * Start of topics conversion * Swap ngscheckmate to topic * Remove trailing whitespace * Update snapshots * Update test * Update snapshots * Skip two submodules on conda * Address comments * Update snapshot * Update snapshot --------- Co-authored-by: Louis Le Nézet <[email protected]> * Migrate samtools dict/faidx/merge to topics (#9598) * Update samtools dict/faidx/merge * Update subworkflows * Update meta * Update snapshots * Prettier * Add config back * Add config * Prettier * Allow `dream` to process non-formula contrasts (#9562) * Allow `dream` to process non-formula contrasts * Add test case without formula * Update `meta.yml` * Fix test with unstable file * Update subworkflow to allow non-formula contrasts with DREAM * Update modules/nf-core/variancepartition/dream/templates/dream.R Co-authored-by: Copilot <[email protected]> * Update modules/nf-core/variancepartition/dream/templates/dream.R Co-authored-by: Copilot <[email protected]> * Correct format of function * Fix contrast building and code flow * Update tests * Modify logic for contrast_string building * Make contrast_string compulsory with formula * Update tests * Refactor contrast_string construction logic Simplified the construction of contrast_string by removing unnecessary checks for treatment levels in the design matrix. * Make formula mutually exclusive to contrast tuple * Modify tests with mutually exclusive varaibles * Revert changes in first test case * Update tests * Fix tests --------- Co-authored-by: Copilot <[email protected]> * Add vcfpgloader/load module (#9579) * Add vcfpgloader/load module High-throughput VCF to PostgreSQL loader using asyncpg for bulk variant ingestion. * Remove throughput metric from meta.yml description * fix(vcfpgloader): fix CI failures for conda, singularity, and docker - Add pip as explicit conda dependency in environment.yml - Simplify container directive (remove oras:// for singularity compatibility) - Remove integration test requiring PostgreSQL database 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> * chore: re-trigger CI for bioconda 0.5.3 propagation * chore: reorder deps to bust conda cache for 0.5.3 * fix: specify exact bioconda build string to force 0.5.3 * chore: sort environment.yml dependencies (linter) * fix: remove version from snapshot (varies by profile) * fix(vcfpgloader): restore version checking in tests Add back versions to snapshot assertions and update snapshot file with expected version output format for lint compliance. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> * fix(vcfpgloader): use correct findAll pattern for topic versions Use process.out.findAll { key, val -> key.startsWith("versions")} pattern for topic-based versioning, matching nf-core conventions. Update snapshot with versions_vcfpgloader object format. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> * feat(vcfpgloader): bump to v0.5.4 - Update environment.yml to bioconda::vcf-pg-loader=0.5.4 - Update container to ghcr.io/zacharyr41/vcf-pg-loader:0.5.4 - Add sed to parse version number from --version output - Update snapshot for 0.5.4 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> * ci: retrigger after bioconda 0.5.4 merge * fix(vcfpgloader): update meta.yml version format Add type: eval and description to version command entries in outputs and topics sections. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]> * style(vcfpgloader): apply nextflow lint formatting * fix(vcfpgloader): add export to env() output variables Add explicit `export` to ROWS_LOADED assignments as recommended for env() output qualifiers. Note: `nextflow lint` still reports false positive errors for env() outputs - this is a known limitation of static analysis on shell scripts. The linter cannot verify variable definitions inside heredoc script blocks. Other nf-core modules (e.g., genescopefk) have the same lint warning. The code functions correctly at runtime. * Update modules/nf-core/vcfpgloader/load/tests/nextflow.config Co-authored-by: Famke Bäuerle <[email protected]> * chore(vcfpgloader): remove unused tags.yml * Update modules/nf-core/vcfpgloader/load/tests/main.nf.test Co-authored-by: Famke Bäuerle <[email protected]> * Update modules/nf-core/vcfpgloader/load/tests/main.nf.test Co-authored-by: Famke Bäuerle <[email protected]> * refactor(vcfpgloader): consolidate inputs into single tuple * feat(vcfpgloader): switch to BioContainers - Use BioContainers URLs instead of personal ghcr.io - Remove jq dependency, use Python for JSON parsing - Fix sed quoting for nf-core lint compatibility 🤖 Generated with [Claude Code](https://claude.ai/code) * fix(vcfpgloader): update snapshots to include row_count output Add missing row_count and log outputs to test snapshots to match the process outputs being asserted in tests. --------- Co-authored-by: Claude <[email protected]> Co-authored-by: Zachary Rothstein <[email protected]> Co-authored-by: Famke Bäuerle <[email protected]> * Replace busybox with coreutils sort for genmod modules (#9610) Replace busybox with coreutils sort * Add error message * Update version * Fix output capture * Update tests * Update singularity container * Use https protocol --------- Co-authored-by: Louis Le Nézet <[email protected]> Co-authored-by: Jonathan Manning <[email protected]> Co-authored-by: Claude Opus 4.5 <[email protected]> Co-authored-by: Evangelos Karatzas <[email protected]> Co-authored-by: Nicolas Vannieuwkerke <[email protected]> Co-authored-by: Jinn <[email protected]> Co-authored-by: ra25wog <[email protected]> Co-authored-by: nf-core-bot <[email protected]> Co-authored-by: LouisLeNezet <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Felix Lenner <[email protected]> Co-authored-by: Jack Tierney <[email protected]> Co-authored-by: Júlia Mir Pedrol <[email protected]> Co-authored-by: Rayan Hassaïne <[email protected]> Co-authored-by: Eduard Casas <[email protected]> Co-authored-by: root <[email protected]> Co-authored-by: root <[email protected]> Co-authored-by: Joon Klaps <[email protected]> Co-authored-by: Eduard Casas <[email protected]> Co-authored-by: Felix Kummer <[email protected]> Co-authored-by: Simon Pearce <[email protected]> Co-authored-by: Tatiana Gelaf Romer <[email protected]> Co-authored-by: Tatiana Gelaf Romer <[email protected]> Co-authored-by: Shubham Verma <[email protected]> Co-authored-by: Subham Verma <[email protected]> Co-authored-by: PeterKnealeCMRI <[email protected]> Co-authored-by: Delfina Terradas <[email protected]> Co-authored-by: Copilot <[email protected]> Co-authored-by: Zacharyr41 <[email protected]> Co-authored-by: Zachary Rothstein <[email protected]> Co-authored-by: Famke Bäuerle <[email protected]>
1 parent 61cd0d3 commit 470428f

5 files changed

Lines changed: 857 additions & 0 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
# yaml-language-server: $schema=https://raw.githubusercontent.com/nf-core/modules/master/modules/environment-schema.json
3+
channels:
4+
- conda-forge
5+
- bioconda
6+
dependencies:
7+
- "bioconda::t1k=1.0.9"

modules/nf-core/t1k/run/main.nf

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
process T1K_RUN {
2+
tag "${meta.id}"
3+
label 'process_low'
4+
5+
conda "${moduleDir}/environment.yml"
6+
container "${workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container
7+
? 'https://community-cr-prod.seqera.io/docker/registry/v2/blobs/sha256/c6/c64676623c43855d3a9dd8a5b02a03b13216e454a8bd1e9a7d9d5695daf5030b/data'
8+
: 'community.wave.seqera.io/library/t1k:1.0.9--793c68c25d680b97'}"
9+
10+
input:
11+
tuple val(meta), path(input), path(fasta), path(cordinates), path(barcodes), path(barcodewhitelist)
12+
13+
output:
14+
tuple val(meta), path("*_genotype.tsv") , emit: genotype_tsv
15+
tuple val(meta), path("*_allele.tsv") , emit: allele_tsv
16+
tuple val(meta), path("*_allele.vcf") , emit: allele_vcf
17+
tuple val(meta), path("*_candidate*.fq") , optional: true, emit: candidate_reads
18+
tuple val(meta), path("*_aligned.fa") , optional: true, emit: aligned_reads_single
19+
tuple val(meta), path("*_aligned_{1,2}.fa") , optional: true, emit: aligned_reads_paired
20+
tuple val(meta), path("*_barcode_expr.tsv") , optional: true, emit: barcode_tsv
21+
tuple val(meta), path("*_candidate_bc.fa") , optional: true, emit: barcode_candidate
22+
tuple val(meta), path("*_aligned_bc.fa") , optional: true, emit: barcode_aligned
23+
tuple val("${task.process}"), val('t1k'), eval("run-t1k 2>&1 | head -n 1 | cut -d '-' -f 1 | cut -d v -f 2"), topic: versions, emit: versions_t1k
24+
25+
when:
26+
task.ext.when == null || task.ext.when
27+
28+
script:
29+
def args = task.ext.args ?: ''
30+
def prefix = task.ext.prefix ?: "${meta.id}"
31+
def is_bam = input.toString().endsWith('.bam')
32+
def input_args = ""
33+
if (is_bam) {
34+
// BAM input
35+
input_args = "-b ${input}"
36+
}
37+
else if (meta.single_end) {
38+
// Single-end FASTQ
39+
input_args = "-u ${input}"
40+
}
41+
else if (!meta.single_end && input.size() == 2) {
42+
// Paired-end FASTQ
43+
input_args = "-1 ${input[0]} -2 ${input[1]}"
44+
}
45+
else if (!meta.single_end && input.size() == 1) {
46+
// Interleaved FASTQ
47+
input_args = "-i ${input}"
48+
}
49+
else {
50+
error "Invalid input files for sample ${meta.id}. Please provide either a BAM file, single-end FASTQ, paired-end FASTQ (2 files), or interleaved FASTQ."
51+
}
52+
def cordinates_args = cordinates && is_bam ? "-c ${cordinates}" : ''
53+
def barcodes_args = barcodes ? "--barcode ${barcodes}" : ''
54+
def barcodewhitelist_args = barcodewhitelist ? "--barcodeWhiteList ${barcodewhitelist} " : ''
55+
"""
56+
run-t1k \\
57+
${args} \\
58+
-t ${task.cpus} \\
59+
-o ${prefix} \\
60+
-f ${fasta} \\
61+
${input_args} \\
62+
${cordinates_args} \\
63+
${barcodes_args} \\
64+
${barcodewhitelist_args}
65+
"""
66+
67+
stub:
68+
def args = task.ext.args ?: ''
69+
def prefix = task.ext.prefix ?: "${meta.id}"
70+
"""
71+
echo ${args}
72+
73+
touch ${prefix}_genotype.tsv
74+
touch ${prefix}_allele.tsv
75+
touch ${prefix}_candidate_1.fq
76+
touch ${prefix}_candidate_2.fq
77+
touch ${prefix}_aligned_1.fa
78+
touch ${prefix}_aligned_2.fa
79+
touch ${prefix}_allele.vcf
80+
touch ${prefix}_barcode_expr.tsv
81+
touch ${prefix}_aligned_bc.fa
82+
touch ${prefix}_candidate_bc.fa
83+
"""
84+
}

modules/nf-core/t1k/run/meta.yml

Lines changed: 193 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,193 @@
1+
# yaml-language-server: $schema=https://raw.githubusercontent.com/nf-core/modules/master/modules/meta-schema.json
2+
name: "t1k_run"
3+
description: write your description here
4+
keywords:
5+
- polymorphic
6+
- genes
7+
- HLA
8+
- Kir
9+
tools:
10+
- "t1k":
11+
description: "T1K is a versatile methods to genotype highly polymorphic genes
12+
(e.g. KIR, HLA) with RNA-seq, WGS or WES data."
13+
homepage: "https://github.com/mourisl/T1K/blob/v1.0.8/README.md"
14+
documentation: "https://github.com/mourisl/T1K/blob/v1.0.8/README.md"
15+
tool_dev_url: "https://github.com/mourisl/T1K"
16+
doi: "10.1101/gr.277585.122"
17+
licence: ["MIT"]
18+
identifier: ""
19+
20+
input:
21+
- - meta:
22+
type: map
23+
description: |
24+
Groovy Map containing sample id and single_end label for fastq input files.
25+
e.g. `[ id:'sample1', single_end:false ]`
26+
- input:
27+
type: file
28+
description: BAM or FASTQ file(s).
29+
pattern: "*.{bam,fastq}"
30+
ontologies:
31+
- edam: http://edamontology.org/format_2572 # BAM
32+
- edam: http://edamontology.org/format_1930 # FASTQ
33+
- fasta:
34+
type: file
35+
description: Reference fasta file.
36+
pattern: "*.{fa,fasta}"
37+
ontologies:
38+
- edam: http://edamontology.org/format_1929 # FASTA
39+
- cordinates:
40+
type: file
41+
description: A fasta file with the coordinates of the gene alleles in the
42+
header as created form the t1k/build
43+
pattern: "*.fa"
44+
ontologies:
45+
- edam: http://edamontology.org/format_1929 # FASTA
46+
- barcodes:
47+
type: file
48+
description: A file with a list of barcodes.
49+
pattern: "*.txt"
50+
ontologies:
51+
- edam: http://edamontology.org/format_2330
52+
- barcodewhitelist:
53+
type: file
54+
description: A file with a whitelist of barcodes.
55+
pattern: "*.txt"
56+
ontologies:
57+
- edam: http://edamontology.org/format_2330 # TXT
58+
59+
output:
60+
genotype_tsv:
61+
- - meta:
62+
type: map
63+
description: |
64+
Groovy Map containing sample information
65+
e.g. `[ id:'sample1' ]`
66+
- "*_genotype.tsv":
67+
type: file
68+
description: Genotyping file where the allele for each gene has its own
69+
line.
70+
pattern: "*_genotype.tsv"
71+
ontologies:
72+
- edam: http://edamontology.org/format_3475 #TSV
73+
allele_tsv:
74+
- - meta:
75+
type: map
76+
description: |
77+
Groovy Map containing sample information
78+
e.g. `[ id:'sample1' ]`
79+
- "*_allele.tsv":
80+
type: file
81+
description: File with the representative alleles and their quality
82+
scores.
83+
pattern: "*_allele.tsv"
84+
ontologies:
85+
- edam: http://edamontology.org/format_3475 # TSV
86+
allele_vcf:
87+
- - meta:
88+
type: map
89+
description: |
90+
Groovy Map containing sample information
91+
e.g. `[ id:'sample1' ]`
92+
- "*_allele.vcf":
93+
type: file
94+
description: A vcf file with the novel SNPs.
95+
ontologies:
96+
- edam: http://edamontology.org/format_3016 # VCF
97+
candidate_reads:
98+
- - meta:
99+
type: map
100+
description: |
101+
Groovy Map containing sample information
102+
e.g. `[ id:'sample1' ]`
103+
- "*_candidate*.fq":
104+
type: file
105+
description: Fastq file containing candidate reads extracted from raw
106+
data for genotyping.
107+
ontologies:
108+
- edam: http://edamontology.org/format_1930 # FASTQ
109+
aligned_reads_single:
110+
- - meta:
111+
type: map
112+
description: |
113+
Groovy Map containing sample information
114+
e.g. `[ id:'sample1' ]`
115+
- "*_aligned.fa":
116+
type: file
117+
description: Aligned reads in fasta format from single-end input.
118+
pattern: "*_aligned.fa"
119+
ontologies:
120+
- edam: http://edamontology.org/format_1929 # FASTA
121+
aligned_reads_paired:
122+
- - meta:
123+
type: map
124+
description: |
125+
Groovy Map containing sample information
126+
e.g. `[ id:'sample1' ]`
127+
- "*_aligned_{1,2}.fa":
128+
type: file
129+
description: Aligned reads in fasta format from paired-end input.
130+
pattern: "*_aligned_{1,2}.fa"
131+
ontologies:
132+
- edam: http://edamontology.org/format_1929 # FASTA
133+
barcode_tsv:
134+
- - meta:
135+
type: map
136+
description: |
137+
Groovy Map containing sample information
138+
e.g. `[ id:'sample1' ]`
139+
- "*_barcode_expr.tsv":
140+
type: file
141+
description: Data matrix where rows are the barcodes and columns are the
142+
allele abundances.
143+
ontologies:
144+
- edam: http://edamontology.org/format_3475 # TSV
145+
barcode_candidate:
146+
- - meta:
147+
type: map
148+
description: |
149+
Groovy Map containing sample information
150+
e.g. `[ id:'sample1' ]`
151+
- "*_candidate_bc.fa":
152+
type: file
153+
description: Barcodes form candidate reads.
154+
pattern: "*_candidate_bc.fa"
155+
ontologies:
156+
- edam: http://edamontology.org/format_1929 # FASTA
157+
barcode_aligned:
158+
- - meta:
159+
type: map
160+
description: |
161+
Groovy Map containing sample information
162+
e.g. `[ id:'sample1' ]`
163+
- "*_aligned_bc.fa":
164+
type: file
165+
description: Barcodes form aligned reads.
166+
pattern: "*_aligned_bc.fa"
167+
ontologies:
168+
- edam: http://edamontology.org/format_1929 # FASTA
169+
versions_t1k:
170+
- - ${task.process}:
171+
type: string
172+
description: The name of the process
173+
- t1k:
174+
type: string
175+
description: The name of the tool
176+
- run-t1k 2>&1 | head -n 1 | cut -d '-' -f 1 | cut -d v -f 2:
177+
type: eval
178+
description: The expression to obtain the version of the tool
179+
topics:
180+
versions:
181+
- - ${task.process}:
182+
type: string
183+
description: The name of the process
184+
- t1k:
185+
type: string
186+
description: The name of the tool
187+
- run-t1k 2>&1 | head -n 1 | cut -d '-' -f 1 | cut -d v -f 2:
188+
type: eval
189+
description: The expression to obtain the version of the tool
190+
authors:
191+
- "@georgiakes"
192+
maintainers:
193+
- "@georgiakes"

0 commit comments

Comments
 (0)