Skip to content

Commit

Permalink
Merge pull request #107 from MartinPippel/update_busco
Browse files Browse the repository at this point in the history
Update busco
  • Loading branch information
MartinPippel authored Jan 15, 2024
2 parents 3af6af1 + 9838f76 commit a84824e
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 16 deletions.
2 changes: 1 addition & 1 deletion config/annotation_preprocessing_modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ process {
withName: 'BUSCO' {
time = 2.d
tag = { "$lineage:$meta.id" }
ext.args = '--mode genome --tar'
ext.args = '--tar'
publishDir = [
path: "${params.outdir}/${publish_subdir}/busco",
mode: params.publishDir_mode,
Expand Down
2 changes: 1 addition & 1 deletion modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"busco": {
"branch": "master",
"git_sha": "6d6552cb582f56b6101c452e16ee7c23073f91de",
"git_sha": "e3126f437c336c826f242842fe51769cfce0ec2d",
"installed_by": ["modules"]
},
"fastp": {
Expand Down
7 changes: 7 additions & 0 deletions modules/nf-core/busco/environment.yml

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

13 changes: 9 additions & 4 deletions modules/nf-core/busco/main.nf

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

13 changes: 10 additions & 3 deletions modules/nf-core/busco/meta.yml

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

18 changes: 11 additions & 7 deletions subworkflows/annotation_preprocessing/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,17 @@ workflow ANNOTATION_PREPROCESSING {

ASSEMBLY_PURIFY( genome_assembly )
ASSEMBLY_STATS( genome_assembly.mix( ASSEMBLY_PURIFY.out.fasta ) )
BUSCO(
ASSEMBLY_PURIFY.out.fasta
.combine( ch_busco_lineage )
.multiMap { fasta, lineage ->
ch_fasta: [ [ id: fasta.baseName ], fasta ]
ch_busco: lineage
},

ch_busco_in = ASSEMBLY_PURIFY.out.fasta
.combine( ch_busco_lineage )
.multiMap { fasta, lineage ->
fasta: [ [ id: fasta.baseName ], fasta ]
lineage: lineage
}
BUSCO (
ch_busco_in.fasta,
"genome",
ch_busco_in.lineage,
params.busco_lineages_path ? file( params.busco_lineages_path, checkIfExists: true ) : [],
[]
)
Expand Down

0 comments on commit a84824e

Please sign in to comment.