Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch modules #159

Draft
wants to merge 4 commits into
base: dev
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Initial release of Joon-Klaps/viralgenie, created with the [nf-core](https://nf-
- Update docs ([#150](https://github.com/Joon-Klaps/viralgenie/pull/150))
- Make custom-mpileup.py postion 1 index based and not 0 index to follow bcftools ([#153](https://github.com/Joon-Klaps/viralgenie/pull/153))
- Update docs for more streamlined docs & figures ([#154](https://github.com/Joon-Klaps/viralgenie/pull/154))
- Patch modules ([#159](https://github.com/Joon-Klaps/viralgenie/pull/159))

### `Fixed`

Expand Down
7 changes: 6 additions & 1 deletion conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

variant_caller = params.variant_caller
intermediate_variant_caller = params.intermediate_variant_caller
search_mode = params.mmseqs_searchtype
assemblers = params.assemblers ? params.assemblers.split(',').collect{ it.trim().toLowerCase() } : []
id_threshold_cdhit = Math.max(params.identity_threshold > 1 ? params.identity_threshold * 0.01 : params.identity_threshold, 0.80)
save_final_reads = params.save_final_reads ? (!params.skip_hostremoval ? 'host' : (!params.skip_complexity_filtering ? 'complexity' : (!params.skip_humid ? 'deduplication' : 'trimming'))) : 'nothing'
Expand Down Expand Up @@ -1652,7 +1653,11 @@ process {
}

withName: MMSEQS_EASYSEARCH {
ext.args= { "--search-type ${params.mmseqs_searchtype} --rescore-mode 3 --format-output query,target,theader,fident,qlen,tlen,alnlen,mismatch,gapopen,qstart,qend,tstart,tend,evalue,bits" } // don't change format-output
ext.args= [
mmseqs_searchtype == "3" ? "--search-type ${params.mmseqs_searchtype} --strand 2" : "--search-type ${params.mmseqs_searchtype}",
"--rescore-mode 3",
"--format-output query,target,theader,fident,qlen,tlen,alnlen,mismatch,gapopen,qstart,qend,tstart,tend,evalue,bits" // don't change format-output
]
publishDir = [
path: { "${params.outdir}/consensus/quality_control/mmseqs-search"},
mode: params.publish_dir_mode,
Expand Down
150 changes: 71 additions & 79 deletions modules.json

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions modules/nf-core/bbmap/bbduk/environment.yml

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

18 changes: 16 additions & 2 deletions modules/nf-core/bbmap/bbduk/main.nf

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

70 changes: 40 additions & 30 deletions modules/nf-core/bbmap/bbduk/meta.yml

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

169 changes: 169 additions & 0 deletions modules/nf-core/bbmap/bbduk/tests/main.nf.test

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

Loading
Loading