-
Notifications
You must be signed in to change notification settings - Fork 714
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into bump/gatk
- Loading branch information
Showing
15 changed files
with
928 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ channels: | |
- conda-forge | ||
- bioconda | ||
dependencies: | ||
- bioconda::chopper=0.3.0 | ||
- bioconda::chopper=0.9.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,64 @@ | ||
{ | ||
"versions": { | ||
"test without lambda reference": { | ||
"content": [ | ||
400, | ||
[ | ||
"versions.yml:md5,5fe28ea455482c9fe88603ddcc461881" | ||
"versions.yml:md5,74a27493c09d0c481f6e52b517e12023" | ||
] | ||
], | ||
"timestamp": "2023-10-20T08:27:24.592662298" | ||
"meta": { | ||
"nf-test": "0.9.0", | ||
"nextflow": "24.04.4" | ||
}, | ||
"timestamp": "2024-10-31T15:14:36.37897815" | ||
}, | ||
"number_of_lines": { | ||
"test with lambda reference": { | ||
"content": [ | ||
400 | ||
15984, | ||
[ | ||
"versions.yml:md5,74a27493c09d0c481f6e52b517e12023" | ||
] | ||
], | ||
"meta": { | ||
"nf-test": "0.9.0", | ||
"nextflow": "24.04.4" | ||
}, | ||
"timestamp": "2024-10-31T15:14:31.324993049" | ||
}, | ||
"test-chopper-stub": { | ||
"content": [ | ||
{ | ||
"0": [ | ||
[ | ||
{ | ||
"id": "test_out" | ||
}, | ||
"test_out.fastq.gz:md5,68b329da9893e34099c7d8ad5cb9c940" | ||
] | ||
], | ||
"1": [ | ||
"versions.yml:md5,74a27493c09d0c481f6e52b517e12023" | ||
], | ||
"fastq": [ | ||
[ | ||
{ | ||
"id": "test_out" | ||
}, | ||
"test_out.fastq.gz:md5,68b329da9893e34099c7d8ad5cb9c940" | ||
] | ||
], | ||
"versions": [ | ||
"versions.yml:md5,74a27493c09d0c481f6e52b517e12023" | ||
] | ||
}, | ||
[ | ||
"versions.yml:md5,74a27493c09d0c481f6e52b517e12023" | ||
] | ||
], | ||
"timestamp": "2023-10-20T08:27:24.581289647" | ||
"meta": { | ||
"nf-test": "0.9.0", | ||
"nextflow": "24.04.4" | ||
}, | ||
"timestamp": "2024-10-31T15:29:08.715579423" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
# yaml-language-server: $schema=https://raw.githubusercontent.com/nf-core/modules/master/modules/environment-schema.json | ||
channels: | ||
- conda-forge | ||
- bioconda | ||
dependencies: | ||
- "bioconda::pbsv=2.9.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
process PBSV_DISCOVER { | ||
tag "$meta.id" | ||
label 'process_single' | ||
conda "${moduleDir}/environment.yml" | ||
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ? | ||
'https://depot.galaxyproject.org/singularity/pbsv:2.9.0--h9ee0642_0': | ||
'biocontainers/pbsv:2.9.0--h9ee0642_0' }" | ||
|
||
input: | ||
tuple val(meta), path(bam) | ||
tuple val(meta2), path(fasta) | ||
|
||
output: | ||
tuple val(meta), path("*.svsig.gz"), emit: svsig | ||
path "versions.yml" , emit: versions | ||
|
||
when: | ||
task.ext.when == null || task.ext.when | ||
|
||
script: | ||
def args = task.ext.args ?: '' | ||
def prefix = task.ext.prefix ?: "${meta.id}" | ||
""" | ||
pbsv \\ | ||
discover \\ | ||
$args \\ | ||
${bam} \\ | ||
${prefix}.svsig.gz | ||
cat <<-END_VERSIONS > versions.yml | ||
"${task.process}": | ||
pbsv: \$(pbsv --version |& sed '1!d ; s/pbsv //') | ||
END_VERSIONS | ||
""" | ||
|
||
stub: | ||
def args = task.ext.args ?: '' | ||
def prefix = task.ext.prefix ?: "${meta.id}" | ||
""" | ||
echo | gzip > ${prefix}.svsig.gz | ||
cat <<-END_VERSIONS > versions.yml | ||
"${task.process}": | ||
pbsv: \$(pbsv --version |& sed '1!d ; s/pbsv //') | ||
END_VERSIONS | ||
""" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# yaml-language-server: $schema=https://raw.githubusercontent.com/nf-core/modules/master/modules/meta-schema.json | ||
name: "pbsv_discover" | ||
description: "pbsv - PacBio structural variant (SV) signature discovery tool" | ||
keywords: | ||
- variant | ||
- pacbio | ||
- structural | ||
tools: | ||
- "pbsv": | ||
description: "pbsv - PacBio structural variant (SV) calling and analysis tools" | ||
homepage: "https://github.com/PacificBiosciences/pbsv" | ||
documentation: "https://github.com/PacificBiosciences/pbsv" | ||
tool_dev_url: "https://github.com/PacificBiosciences/pbsv" | ||
licence: ["BSD-3-clause-Clear"] | ||
identifier: "" | ||
input: | ||
- - meta: | ||
type: map | ||
description: | | ||
Groovy Map containing sample information | ||
e.g. `[ id:'sample1', single_end:false ]` | ||
- bam: | ||
type: file | ||
description: Sorted BAM/CRAM/SAM file | ||
pattern: "*.{bam,cram,sam}" | ||
- - meta2: | ||
type: map | ||
description: | | ||
Groovy Map containing reference information | ||
e.g. `[ id:'reference' ]` | ||
- fasta: | ||
type: file | ||
description: fasta file | ||
pattern: "*.fasta" | ||
output: | ||
- svsig: | ||
- meta: | ||
type: file | ||
description: | | ||
Groovy Map containing sample information | ||
e.g. `[ id:'sample1', single_end:false ]` | ||
- "*.svsig.gz": | ||
type: file | ||
description: structural variant signatures files | ||
pattern: "*.svsig.gz" | ||
- versions: | ||
- versions.yml: | ||
type: file | ||
description: File containing software versions | ||
pattern: "versions.yml" | ||
authors: | ||
- "@tanyasarkjain" | ||
maintainers: | ||
- "@tanyasarkjain" |
Oops, something went wrong.