Skip to content

Add bam output for Preprocessing#594

Merged
FriederikeHanssen merged 15 commits intonf-core:devfrom
FriederikeHanssen:output_bam
Jun 21, 2022
Merged

Add bam output for Preprocessing#594
FriederikeHanssen merged 15 commits intonf-core:devfrom
FriederikeHanssen:output_bam

Conversation

@FriederikeHanssen
Copy link
Copy Markdown
Contributor

Closes #437

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 you've added a new tool - add to the software_versions process and a regex to scrape_software_versions.py
    • If you've added a new tool - have you followed the pipeline conventions in the contribution docs
    • If necessary, also make a PR on the nf-core/sarek branch on the nf-core/test-datasets repository.
  • Make sure your code lints (nf-core lint .).
  • Ensure the test suite passes (nextflow run . -profile test,docker).
  • Usage Documentation in docs/usage.md is updated.
  • Output Documentation in docs/output.md is updated.
  • CHANGELOG.md is updated.
  • README.md is updated (including new tool citations and authors/contributors).

@FriederikeHanssen FriederikeHanssen changed the title Add bam output for recalibration Add bam output for Preprocessing Jun 17, 2022
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 17, 2022

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit 7cf0f7c

+| ✅ 145 tests passed       |+
#| ❔   4 tests were ignored |#
!| ❗   1 tests had warnings |!
Details

❗ Test warnings:

  • readme - README did not have a Nextflow minimum version badge.

❔ Tests ignored:

  • files_unchanged - File ignored due to lint config: assets/nf-core-sarek_logo_light.png
  • files_unchanged - File ignored due to lint config: docs/images/nf-core-sarek_logo_light.png
  • files_unchanged - File ignored due to lint config: docs/images/nf-core-sarek_logo_dark.png
  • files_unchanged - File ignored due to lint config: lib/NfcoreTemplate.groovy

✅ Tests passed:

Run details

  • nf-core/tools version 2.4.1
  • Run at 2022-06-21 13:49:54

@FriederikeHanssen
Copy link
Copy Markdown
Contributor Author

@maxulysse it works, it could be more efficient around the MD part. MD -> BAMTOCRAM -> QC (-> CRAMTOBAM). Unsure how much effort we should put in here.

@FriederikeHanssen FriederikeHanssen marked this pull request as ready for review June 20, 2022 20:03
@FriederikeHanssen
Copy link
Copy Markdown
Contributor Author

Not sure why I didn't think about this before, but now just publishing out of markduplicates in case --save_output_as_bam is set. For spark still a conversion done, but it shouldn't matter if MD_SPARK outputs cram that we convert to bam for this parameter or if it produces BAM that we then need to convert to CRAM for the remaining pipeline

@FriederikeHanssen
Copy link
Copy Markdown
Contributor Author

@nf-core-bot please fix prettier

@FriederikeHanssen
Copy link
Copy Markdown
Contributor Author

@nf-core-bot please fix linting

@FriederikeHanssen
Copy link
Copy Markdown
Contributor Author

FriederikeHanssen commented Jun 21, 2022

🤨 ran prettier locally and CHANGELOG is fine/ nothing to commit. @maxulysse how do I make the bot help me?

prettier --check CHANGELOG.md
Checking formatting...
All matched files use Prettier code style!

Copy link
Copy Markdown
Member

@maxulysse maxulysse left a comment

Choose a reason for hiding this comment

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

<3
I love how you get the extension for the csv file

@maxulysse
Copy link
Copy Markdown
Member

@nf-core-bot fix linting pretty please

@FriederikeHanssen FriederikeHanssen merged commit 67c2546 into nf-core:dev Jun 21, 2022
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