Skip to content

revert stub_run index check skip [skip ci]#304

Open
rhassaine wants to merge 1 commit into
nf-core:dev-3.0.0from
rhassaine:dev-3.0.0
Open

revert stub_run index check skip [skip ci]#304
rhassaine wants to merge 1 commit into
nf-core:dev-3.0.0from
rhassaine:dev-3.0.0

Conversation

@rhassaine

@rhassaine rhassaine commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

To deal w/ failure of stub tests that appears to be due to this commit which disabled the index validation skipped for the stub tests.

I see 2 options to deal with the matter 1) add index entries in the stub test's samplesheet for clean validation (Luân's initial idea I assume?) or 2) revert to skipping the index validation for the stub tests. If 2 is favoured, code below.

Additionally, the index files of the VCF generated by purple were not being created by the stubs (initial issue reported)

Fine w/ either option on my end!

PS: skipped all ci testing due to nf-core template mismatch & other lingering snapshots differences, etc

@rhassaine rhassaine self-assigned this Jul 8, 2026
@nf-core-bot

Copy link
Copy Markdown
Member

Warning

Newer version of the nf-core template is available.

Your pipeline is using an old version of the nf-core template: 3.5.1.
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.

@luan-n-nguyen

Copy link
Copy Markdown
Contributor

Hey Rayan, thanks for spotting this. Just clarifying for option 1: adding the missing .tbi stub files means that the boolean stub_run flag is not needed? If so, i'd prefer this solution

@rhassaine

Copy link
Copy Markdown
Contributor Author

Apologies if that wasn't clear, the 2 are unrelated: we have missing index files for the PURPLE VCFs (which was the initial issue reported) in the stub tests and the stubs don't pass right now in dev-3.0.0 (regardless) because of the missing bam index validation (for the stubs). To deal with the latter, we either reintroduce the removed logic, using something like the boolean stub_run or we add index entries in the stub tests' samplesheet. Hope that's more clear

@luan-n-nguyen

luan-n-nguyen commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

@scwatts has taken over the OA dev work to prepare for the 3.0 release. Stephen, maybe you've encountered these issues and fixed them already in your branch?

If not, could you add the missing Purple vcf tbi files in the stub definitions?

And I'm in favor of adding this fix that Rayan proposed to avoid adding code that's only for stub runs:

we add index entries in the stub tests' samplesheet.

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