Skip to content

Use 20.07-RC1, add skip_qc to MD#252

Merged
maxulysse merged 6 commits intonf-core:dsl2from
FriederikeHanssen:add_index
Jul 22, 2020
Merged

Use 20.07-RC1, add skip_qc to MD#252
maxulysse merged 6 commits intonf-core:dsl2from
FriederikeHanssen:add_index

Conversation

@FriederikeHanssen
Copy link
Copy Markdown
Contributor

nf-core/sarek pull request

Many thanks for contributing to nf-core/sarek!

Please fill in the appropriate checklist below (delete whatever is not relevant).
These are the most common things requested on pull requests (PRs).

PR checklist

  • This comment contains a description of changes (with reason)
  • If you've fixed a bug or added code that should be tested, add tests!
  • If necessary, also make a PR on the nf-core/sarek branch on the nf-core/test-datasets repo
  • Ensure the test suite passes (nextflow run . -profile test,docker).
  • Make sure your code lints (nf-core lint .).
  • Documentation in docs is updated
  • CHANGELOG.md is updated
  • README.md is updated

Learn more about contributing: CONTRIBUTING.md

Comment thread main.nf
include { MERGE_BAM_MAPPED } from './modules/local/merge_mapped_bam' addParams(params)
include { MARK_DUPLICATES } from './modules/local/mark_duplicates' params(params)
include { MERGE_BAM_MAPPED } from './modules/local/merge_mapped_bam'
include { MARK_DUPLICATES } from './modules/local/mark_duplicates' addParams(skip_qc: skip_qc)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see, now I understand better

Comment thread modules/local/mark_duplicates.nf Outdated
tuple idPatient, idSample, path("${idSample}.md.bam"), path("${idSample}.md.bam.bai"), emit: bam_duplicates_marked
tuple idPatient, idSample, emit: tsv_bam_duplicates_marked
path "${idSample}.bam.metrics", emit: duplicates_marked_report //is optional , applies when skip_qc is used(not implemented yet)
path "${idSample}.bam.metrics", optional : true, emit: duplicates_marked_report //is optional , applies when skip_qc is used(not implemented yet)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually we will need to rename this option.

you can't actually skip markduplicates with skip_qc, but you actually don't keep the report.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I see. So maybe skip_markduplicates_report and make it an extra parameter not included in the skip_qc list?

@FriederikeHanssen
Copy link
Copy Markdown
Contributor Author

@maxulysse I am done adding things to this PR. Sorry, I wanted to add the new nextflow.enable thing and then had to fix some things after that

Comment thread .github/workflows/ci.yml
matrix:
# Nextflow versions: check pipeline minimum and current latest
nxf_ver: ['20.04.1', '']
nxf_ver: ['20.07.0-RC1', '']
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you update the README.md too?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@maxulysse maxulysse merged commit 5bceacf into nf-core:dsl2 Jul 22, 2020
@maxulysse maxulysse added the DSL2 label Jan 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants