Skip to content

Commit

Permalink
passing prettier and editorconfig checks
Browse files Browse the repository at this point in the history
  • Loading branch information
rnaidu committed Oct 1, 2024
1 parent b206828 commit b4e8121
Show file tree
Hide file tree
Showing 3 changed files with 111 additions and 108 deletions.
148 changes: 76 additions & 72 deletions modules/msk/genotypevariants/all/meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,83 +2,87 @@
name: "genotypevariants_all"
description: write your description here
keywords:
- genotype
- bams
- maf
- genotype
- bams
- maf
tools:
- "genotypevariants":
description: "module supports genotyping and merging small variants (SNV and INDELS)."
documentation: "https://genotype-variants.readthedocs.io/en/latest/"
licence: ["MIT"]
identifier: ''
- "genotypevariants":
description: "module supports genotyping and merging small variants (SNV and INDELS)."
documentation: "https://genotype-variants.readthedocs.io/en/latest/"
licence: ["MIT"]
identifier: ""

input:
# Only when we have meta
- - meta:
type: map
description: |
Groovy Map containing sample information
e.g. `[ id:'sample1', patient:'patient_1' ]`
- bam_standard:
type: file
description: Full path to standard bam file.
pattern: "*.{bam}"
- bai_standard:
type: file
description: Requires the standard .bai file is present at same location as
the bam file.
pattern: "*.{bai}"
- bam_duplex:
type: file
description: Full path to duplex bam file.
pattern: "*.{bam}"
- bai_duplex:
type: file
description: Requires the duplex .bai file is present at same location as the
bam file.
pattern: "*.{bai}"
- bam_simplex:
type: file
description: Full path to simplex bam file.
pattern: "*.{bam}"
- bai_simplex:
type: file
description: Requires the simplex .bai file is present at same location as the
bam file.
pattern: "*.{bai}"
- maf:
type: file
description: Full path to small variants input file in MAF format
pattern: "*.{maf}"
- - fasta:
type: file
description: The reference fasta file
pattern: "*.fasta"
- - fai:
type: file
description: Index of reference fasta file
pattern: "*.fasta.fai"
- - meta:
type: map
description: |
Groovy Map containing sample information
e.g. `[ id:'sample1', patient:'patient_1' ]`
- bam_standard:
type: file
description: Full path to standard bam file.
pattern: "*.{bam}"
- bai_standard:
type: file
description:
Requires the standard .bai file is present at same location as
the bam file.
pattern: "*.{bai}"
- bam_duplex:
type: file
description: Full path to duplex bam file.
pattern: "*.{bam}"
- bai_duplex:
type: file
description:
Requires the duplex .bai file is present at same location as the
bam file.
pattern: "*.{bai}"
- bam_simplex:
type: file
description: Full path to simplex bam file.
pattern: "*.{bam}"
- bai_simplex:
type: file
description:
Requires the simplex .bai file is present at same location as the
bam file.
pattern: "*.{bai}"
- maf:
type: file
description: Full path to small variants input file in MAF format
pattern: "*.{maf}"
- - fasta:
type: file
description: The reference fasta file
pattern: "*.fasta"
- - fai:
type: file
description: Index of reference fasta file
pattern: "*.fasta.fai"
output:
#Only when we have meta
- maf:
- meta:
type: map
description: |
Groovy Map containing sample information
e.g. `[ id:'sample1', patient:'patient_1' ]`
- '*.maf':
type: file
description: Genotyped maf for each bam provided and a merged genotyped maf.
The mafs will be labelled with patient identifier or sample identifier as
the prefix, and end with the type of bam (duplex, simplex, or standard). The
sample identifier is prioritized.
pattern: "*.{mafs}"
- versions:
- versions.yml:
type: file
description: File containing software versions
pattern: "versions.yml"
- maf:
- meta:
type: map
description: |
Groovy Map containing sample information
e.g. `[ id:'sample1', patient:'patient_1' ]`
- "*.maf":
type: file
description:
Genotyped maf for each bam provided and a merged genotyped maf.
The mafs will be labelled with patient identifier or sample identifier as
the prefix, and end with the type of bam (duplex, simplex, or standard). The
sample identifier is prioritized.
pattern: "*.{mafs}"
- versions:
- versions.yml:
type: file
description: File containing software versions
pattern: "versions.yml"
authors:
- "@buehlere"
- "@buehlere"
maintainers:
- "@buehlere"
- "@buehlere"
70 changes: 35 additions & 35 deletions modules/msk/pvmaf/concat/meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,46 +2,46 @@
name: "pvmaf_concat"
description: a flexible command for concatenating maf files
keywords:
- sort
- example
- genomics
- sort
- example
- genomics
tools:
- "pvmaf":
description: "provides a variety of commands for manipulating mafs."
homepage: "https://github.com/msk-access/postprocessing_variant_calls"
documentation: "https://cmo-ci.gitbook.io/postprocessing_variant_calls/"
licence: ["MIT"]
identifier: ''
- "pvmaf":
description: "provides a variety of commands for manipulating mafs."
homepage: "https://github.com/msk-access/postprocessing_variant_calls"
documentation: "https://cmo-ci.gitbook.io/postprocessing_variant_calls/"
licence: ["MIT"]
identifier: ""

input:
# Only when we have meta
- - meta:
type: map
description: |
Groovy Map containing sample information
e.g. `[ id:'sample1', patient:'patient1' ]`
- maf_files:
type: file
description: list of maf files to concatenate
pattern: "*.{maf}"
- - meta:
type: map
description: |
Groovy Map containing sample information
e.g. `[ id:'sample1', patient:'patient1' ]`
- maf_files:
type: file
description: list of maf files to concatenate
pattern: "*.{maf}"
output:
#Only when we have meta
- maf:
- meta:
type: map
description: |
Groovy Map containing sample information
e.g. `[ id:'sample1', patient:'patient1' ]`
- '*.maf':
type: file
description: concatenated maf file
pattern: "*.{maf}"
- versions:
- versions.yml:
type: file
description: File containing software versions
pattern: "versions.yml"
- maf:
- meta:
type: map
description: |
Groovy Map containing sample information
e.g. `[ id:'sample1', patient:'patient1' ]`
- "*.maf":
type: file
description: concatenated maf file
pattern: "*.{maf}"
- versions:
- versions.yml:
type: file
description: File containing software versions
pattern: "versions.yml"
authors:
- "@buehlere"
- "@buehlere"
maintainers:
- "@buehlere"
- "@buehlere"
1 change: 0 additions & 1 deletion subworkflows/msk/traceback/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ workflow TRACEBACK {
.map {it -> [it[0].subMap('patient')[0], *it[1..-1]] }
.set{concat_maf}



bams
.map { it -> [it[0].subMap('patient')[0], it[0], *it[1..-1]] }
Expand Down

0 comments on commit b4e8121

Please sign in to comment.