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

Add bam/cram support #157

Merged
merged 8 commits into from
Jan 8, 2025
Merged

Add bam/cram support #157

merged 8 commits into from
Jan 8, 2025

Conversation

nvnieuwk
Copy link

@nvnieuwk nvnieuwk commented Jan 7, 2025

Add support for BAM/CRAM input (fixes #41)

Following steps were added:

  1. Add new samplesheet fields: bam, bai, cram, crai
  2. Add additional checks to prevent weird issues caused by having multiple input file types
  3. Optionally create the index of the file when missing
  4. Add the alignment files to the flow right before GATK4_SPLITNCIGARREADS

There are still some things left to do:

  • Update the changelog
  • Add and update the tests

@nvnieuwk nvnieuwk requested a review from maxulysse January 7, 2025 15:29
@nf-core-bot
Copy link
Member

Warning

Newer version of the nf-core template is available.

Your pipeline is using an old version of the nf-core template: 3.0.2.
Please update your pipeline to the latest version.

For more documentation on how to update your pipeline, please see the nf-core documentation and Synchronisation documentation.

Copy link

github-actions bot commented Jan 7, 2025

nf-core pipelines lint overall result: Passed ✅ ⚠️

Posted for pipeline commit c788544

+| ✅ 225 tests passed       |+
!| ❗   4 tests had warnings |!

❗ Test warnings:

  • pipeline_todos - TODO string in main.nf: Optionally add in-text citation tools to this list.
  • pipeline_todos - TODO string in main.nf: Optionally add bibliographic entries to this list.
  • pipeline_todos - TODO string in main.nf: Only uncomment below if logic in toolCitationText/toolBibliographyText has been filled!
  • pipeline_todos - TODO string in base.config: Check the defaults for all processes

✅ Tests passed:

Run details

  • nf-core/tools version 3.0.2
  • Run at 2025-01-08 13:30:02

Copy link
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.

Looking good, but need to check the snapshots

@nvnieuwk
Copy link
Author

nvnieuwk commented Jan 7, 2025

Looking good, but need to check the snapshots

Currently working on that ;)

@nvnieuwk nvnieuwk merged commit afd9ff2 into nf-core:dev Jan 8, 2025
12 checks passed
@nvnieuwk nvnieuwk deleted the add-bam/cram-support branch January 8, 2025 13:49
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.

3 participants