Skip to content

Commit

Permalink
ebi-metagen module patch
Browse files Browse the repository at this point in the history
  • Loading branch information
mberacochea committed May 30, 2024
1 parent f5acf08 commit 1edc01b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 4 deletions.
5 changes: 3 additions & 2 deletions modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "ebi-metagenomics/miassembler",
"homePage": "https://github.com/ebi-metagenomics/miassembler",
"repos": {
"git@github.com:EBI-Metagenomics/nf-modules.git": {
"https://github.com/EBI-Metagenomics/nf-modules": {
"modules": {
"ebi-metagenomics": {
"bwamem2/mem": {
Expand All @@ -13,7 +13,8 @@
"samtools/bam2fq": {
"branch": "main",
"git_sha": "88f2bfbe6f0ba858d0833db590e647c4678656a7",
"installed_by": ["reads_bwamem2_decontamination"]
"installed_by": ["reads_bwamem2_decontamination"],
"patch": "modules/ebi-metagenomics/samtools/bam2fq/samtools-bam2fq.diff"
}
}
},
Expand Down
5 changes: 3 additions & 2 deletions modules/ebi-metagenomics/bwamem2/mem/environment.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
name: bwamem2_mem

channels:
- conda-forge
- bioconda
- defaults

dependencies:
- bwa-mem2=2.2.1
# renovate: datasource=conda depName=bioconda/samtools
- samtools=1.19.2
- htslib=1.19.1
- samtools=1.19.2
14 changes: 14 additions & 0 deletions modules/ebi-metagenomics/samtools/bam2fq/samtools-bam2fq.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Changes in module 'ebi-metagenomics/samtools/bam2fq'
--- modules/ebi-metagenomics/samtools/bam2fq/main.nf
+++ modules/ebi-metagenomics/samtools/bam2fq/main.nf
@@ -21,7 +21,7 @@

script:
def args = task.ext.args ?: ''
- def prefix = task.ext.prefix ?: "${meta.id}"
+ def prefix = task.ext.prefix ? "${task.ext.prefix}_${meta.id}": "${meta.id}"

if (split) {
"""

************************************************************

0 comments on commit 1edc01b

Please sign in to comment.