Skip to content

Commit

Permalink
add reviewer suggestions #106
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel-VM committed Nov 9, 2023
1 parent 7eb9931 commit ca59305
Show file tree
Hide file tree
Showing 8 changed files with 44 additions and 38 deletions.
4 changes: 1 addition & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### `Added`

- [#104](https://github.com/nf-core/bacass/pull/104) - Added dragonflye module for long-reads assembly.
- [#106](https://github.com/nf-core/bacass/pull/106) - Added patch to dragonflye module enbling draft genome polishing with short-reads.

- [#104](https://github.com/nf-core/bacass/pull/104), [#106](https://github.com/nf-core/bacass/pull/106) - Added dragonflye module and enbled draft genome polishing with short-reads.
### `Fixed`

### `Dependencies`
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ The pipeline can then perform long read assembly utilizing [Unicycler](https://g
### Hybrid Assembly

For users specifying both short read and long read (NanoPore) data, the pipeline can perform a hybrid assembly approach utilizing [Unicycler](https://github.com/rrwick/Unicycler) or [Dragonflye](https://github.com/rpetit3/dragonflye) (polishing of the assembled genome with short reads), taking the full set of information from short reads and long reads into account.
For users specifying both short read and long read (NanoPore) data, the pipeline can perform a hybrid assembly approach utilizing [Unicycler](https://github.com/rrwick/Unicycler) (short read assembly followed by gap closing with long reads) or [Dragonflye](https://github.com/rpetit3/dragonflye) (long read assembly followed by polishing with short reads), taking the full set of information from short reads and long reads into account.

### Assembly QC and annotation

Expand Down
1 change: 1 addition & 0 deletions conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ process {

withName: 'PORECHOP_PORECHOP' {
ext.args = ''
ext.prefix = { "${meta.id}.porechop" }
publishDir = [
path: { "${params.outdir}/trimming/longreads" },
mode: params.publish_dir_mode,
Expand Down
30 changes: 30 additions & 0 deletions conf/test_hybrid_dragonflye.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/*
========================================================================================
Nextflow config file for running minimal tests
========================================================================================
Defines input files and everything required to run a fast and simple pipeline test.
Use as follows:
nextflow run nf-core/bacass -profile test_hybrid_dragonflye,<docker/singularity>
----------------------------------------------------------------------------------------
*/

params {
config_profile_name = 'Test hybrid-dragonflye profile'
config_profile_description = 'Minimal test dataset to check pipeline function'

// Limit resources so that this can run on GitHub Actions
max_cpus = 2
max_memory = 6.GB
max_time = 6.h

// Input data
input = 'https://raw.githubusercontent.com/nf-core/test-datasets/bacass/bacass_hybrid_dragonflye.tsv'

// some extra args to speed tests up
assembly_type='hybrid'
assembler='dragonflye'
prokka_args=" --fast"
skip_kraken2 = true
}
3 changes: 1 addition & 2 deletions modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@
"porechop/porechop": {
"branch": "master",
"git_sha": "911696ea0b62df80e900ef244d7867d177971f73",
"installed_by": ["modules"],
"patch": "modules/nf-core/porechop/porechop/porechop-porechop.diff"
"installed_by": ["modules"]
},
"prokka": {
"branch": "master",
Expand Down
4 changes: 2 additions & 2 deletions modules/nf-core/porechop/porechop/main.nf

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

23 changes: 0 additions & 23 deletions modules/nf-core/porechop/porechop/porechop-porechop.diff

This file was deleted.

15 changes: 8 additions & 7 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -196,13 +196,14 @@ profiles {
executor.cpus = 4
executor.memory = 8.GB
}
test { includeConfig 'conf/test.config' }
test_dfast { includeConfig 'conf/test_dfast.config' }
test_hybrid { includeConfig 'conf/test_hybrid.config' }
test_long { includeConfig 'conf/test_long.config' }
test_long_miniasm { includeConfig 'conf/test_long_miniasm.config' }
test_long_dragonflye{ includeConfig 'conf/test_long_dragonflye.config' }
test_full { includeConfig 'conf/test_full.config' }
test { includeConfig 'conf/test.config' }
test_dfast { includeConfig 'conf/test_dfast.config' }
test_hybrid { includeConfig 'conf/test_hybrid.config' }
test_hybrid_dragonflye { includeConfig 'conf/test_hybrid_dragonflye.config'}
test_long { includeConfig 'conf/test_long.config' }
test_long_miniasm { includeConfig 'conf/test_long_miniasm.config' }
test_long_dragonflye { includeConfig 'conf/test_long_dragonflye.config' }
test_full { includeConfig 'conf/test_full.config' }
}

// Set default registry for Apptainer, Docker, Podman and Singularity independent of -profile
Expand Down

0 comments on commit ca59305

Please sign in to comment.