-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add nextflow schema * remove hidden fields * tweak the schema * format files using intellij * [FIX] Syncing stubs and scripts (#38) * Add a basic nextflow_schema file (#37) * add nextflow schema * remove hidden fields * tweak the schema * fixing all stubs as requested * adding stubs to rename_files module Co-authored-by: Abhinav Sharma <[email protected]> * update readme and trim config * update the readme * tweak readme * Further updates for the readme * update readme * updated the benefits for NF wrapper * [DEV] adding dag resources (#41) * adding dag as png * adding a topic to readme * fixing wrong format * fixing `dag-batch.png` Co-authored-by: Davi Marcon <[email protected]>
- Loading branch information
Showing
24 changed files
with
265 additions
and
208 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 |
---|---|---|
@@ -1,11 +1,55 @@ | ||
# Mtbseq-nf | ||
# mtbseq-nf | ||
|
||
**NOTE**: This still a Work in progress! | ||
**NOTE: This still a work in progress, the code is functional however the [usage](#Usage) doc needs some love!** | ||
|
||
Project with aim to create a nextflow wrapper for mtbseq workflow. | ||
[MTBseq](https://github.com/ngs-fzb/MTBseq_source) made simple and easy using [Nextflow](https://www.nextflow.io/) workflow manager. | ||
|
||
Heavily based on [ngs-fzb/MTBseq_source](https://github.com/ngs-fzb/MTBseq_source) | ||
# Benefits of the Nextflow wrapper | ||
|
||
- Fine-grained control over resource allocation (CPU/Memory/Storage) | ||
- Reliance of bioconda and biocontainers for installing packages for reproducibility | ||
- Ease of use on a range of infrastructure (cloud/on-prem clusters/local machine) | ||
- Resumability for failed processes | ||
- Centralized locations for specifying | ||
- Hardware requirements (`conf/standard.config`) | ||
- Software requirements (`conf/docker.config` or `conf/conda.config`) | ||
- MTBseq parameters (`conf/global_parameters.config`) | ||
- Dedicated user interface for all parameters for wider audience (`nextflow_schema.json`) | ||
- Explicit rather than the implicit options (`conf/global_parameters.config`) | ||
- Ability to analyze genomes in **parallel** as well as in **batch** | ||
|
||
# Workflow example | ||
This pipeline has two execution types: batch and parallel and here is a dag example for them! | ||
|
||
The execution type is determined by the analysis\_mode parameter | ||
|
||
## Batch | ||
![batch-workflow](./resources/dag-batch.png) | ||
|
||
## Parallel | ||
![parallel-workflow](./resources/dag-parallel.png) | ||
|
||
|
||
|
||
# Usage | ||
|
||
## Nextflow command line | ||
|
||
|
||
## Nextflow Tower | ||
|
||
|
||
# Contributions | ||
|
||
Contributions are warmly accepted! | ||
|
||
We would like to Thank the developers of MTBseq! | ||
|
||
# License | ||
|
||
|
||
The insipiration for this project itself [MTBseq](https://github.com/ngs-fzb/MTBseq_source) has a GPL-3 license as of [v1.0.3](https://github.com/ngs-fzb/MTBseq_source/blob/v1.0.3/LICENSE.md). | ||
|
||
The components related to `mtbseq-nf` project itself (the Nextflow wrapper code) are licensed under the liberal MPL-2.0 license. | ||
|
||
We would like to Thank the developers of MTBseq for putting in the intial effort! | ||
|
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,6 +1,6 @@ | ||
process { | ||
withName: | ||
".*" { | ||
conda = "mtbseq" | ||
} | ||
".*" { | ||
conda = 'bioconda::mtbseq:1.0.3' | ||
} | ||
} |
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 was deleted.
Oops, something went wrong.
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
Oops, something went wrong.