Skip to content

Commit

Permalink
Added fasta_explore_search_plot_tidk subworkflow
Browse files Browse the repository at this point in the history
  • Loading branch information
GallVp committed Feb 21, 2024
1 parent 64eebf3 commit 92c5da1
Show file tree
Hide file tree
Showing 46 changed files with 2,388 additions and 8 deletions.
34 changes: 34 additions & 0 deletions modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,40 @@
"branch": "master",
"git_sha": "3a5fef109d113b4997c9822198664ca5f2716208",
"installed_by": ["modules"]
},
"seqkit/seq": {
"branch": "master",
"git_sha": "687ad41c14008d3d55cf7c2ffacebe6a057211a4",
"installed_by": ["fasta_explore_search_plot_tidk"]
},
"seqkit/sort": {
"branch": "master",
"git_sha": "ffcdfb354f8c8e59bdccc1a4249f0f3b232c2a3d",
"installed_by": ["fasta_explore_search_plot_tidk"]
},
"tidk/explore": {
"branch": "master",
"git_sha": "fad335b31b32d78f89a8340373d3ccfc0f2b18b5",
"installed_by": ["fasta_explore_search_plot_tidk"]
},
"tidk/plot": {
"branch": "master",
"git_sha": "d54cd1d823f151854825da8ffe7289bcbf77206b",
"installed_by": ["fasta_explore_search_plot_tidk"]
},
"tidk/search": {
"branch": "master",
"git_sha": "669a329f4aa37f5b7f03776c2ed1cd0ef122c626",
"installed_by": ["fasta_explore_search_plot_tidk"]
}
}
},
"subworkflows": {
"nf-core": {
"fasta_explore_search_plot_tidk": {
"branch": "master",
"git_sha": "2b21fbeb20ad9f17612f4a3dd7b12971513f08d5",
"installed_by": ["subworkflows"]
}
}
}
Expand Down
9 changes: 6 additions & 3 deletions modules/local/busco.nf
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ process BUSCO {
tag "${asm_tag}:${lineage_dataset}"
label 'process_high'

conda "bioconda::busco=5.2.2"
conda "bioconda::busco=5.6.1"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/busco:5.2.2--pyhdfd78af_0':
'quay.io/biocontainers/busco:5.2.2--pyhdfd78af_0' }"
'https://depot.galaxyproject.org/singularity/busco:5.6.1--pyhdfd78af_0':
'biocontainers/busco:5.6.1--pyhdfd78af_0' }"

input:
tuple val(asm_tag), path(fasta_file)
Expand All @@ -17,6 +17,9 @@ process BUSCO {
path "${asm_tag}/short_summary.specific.${lineage_dataset}.${asm_tag}_${lineage_initials}.txt" , emit: summary
path "versions.yml" , emit: versions

when:
task.ext.when == null || task.ext.when

script:
def lineages_path = download_path ? "--download_path ${download_path}" : ''
lineage_initials = "${lineage_dataset}".split("_")[0]
Expand Down
22 changes: 18 additions & 4 deletions modules/local/busco_plot.nf
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,41 @@ process BUSCO_PLOT {
tag 'all summaries'
label 'process_single'

conda "bioconda::busco=5.2.2"
conda "bioconda::busco=5.6.1"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/busco:5.2.2--pyhdfd78af_0':
'quay.io/biocontainers/busco:5.2.2--pyhdfd78af_0' }"
'https://depot.galaxyproject.org/singularity/busco:5.6.1--pyhdfd78af_0':
'biocontainers/busco:5.6.1--pyhdfd78af_0' }"

input:
path "short_summary.*", stageAs: 'busco/*'

output:
path 'busco/*.png', emit: png
path 'busco/*.png' , emit: png
path "versions.yml" , emit: versions

when:
task.ext.when == null || task.ext.when

script:
"""
generate_plot.py \\
-wd ./busco
cat <<-END_VERSIONS > versions.yml
"${task.process}":
busco: \$( busco --version 2>&1 | sed 's/^BUSCO //' )
END_VERSIONS
"""

stub:
"""
mkdir -p busco
touch busco/summary_plot.png
cat <<-END_VERSIONS > versions.yml
"${task.process}":
busco: \$( busco --version 2>&1 | sed 's/^BUSCO //' )
END_VERSIONS
"""
}
9 changes: 9 additions & 0 deletions modules/nf-core/seqkit/seq/environment.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

63 changes: 63 additions & 0 deletions modules/nf-core/seqkit/seq/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

48 changes: 48 additions & 0 deletions modules/nf-core/seqkit/seq/meta.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

149 changes: 149 additions & 0 deletions modules/nf-core/seqkit/seq/tests/main.nf.test

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 92c5da1

Please sign in to comment.