Repository navigation
Add Bruker/timsTOF auto-calibration warning - #30
Conversation
Add a log.warn in PRELIMINARY_ANALYSIS when a .d file is processed with mass_acc_automatic=true, advising users to manually fix mass accuracy to 10-15 ppm for timsTOF data. Also add a "Bruker/timsTOF Data" section to docs/usage.md with recommended parameters. Closes #26 Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Review Summary by QodoAdd Bruker/timsTOF auto-calibration warning and documentation
WalkthroughsDescription• Add warning when processing Bruker/timsTOF .d files with automatic mass accuracy • Recommend manual mass accuracy settings (10-15 ppm) for timsTOF datasets • Document Bruker/timsTOF best practices with example command • Include note about Synchro-PASEF data handling with --diann_tims_sum Diagramflowchart LR
A["Bruker .d file detected"] -- "mass_acc_automatic=true" --> B["Log warning message"]
B -- "recommends" --> C["Manual settings: 10-15 ppm"]
D["docs/usage.md"] -- "documents" --> E["Bruker/timsTOF best practices"]
E -- "includes" --> F["Example command with parameters"]
File Changes1. modules/local/diann/preliminary_analysis/main.nf
|
Code Review by Qodo
1. mass_acc_automatic still user-exposed
|
Instead of prescribing specific mass accuracy values, guide users to set tolerances via SDRF columns (per-file) or pipeline parameters (global override). Updated both the runtime warning and docs. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Summary
log.warninPRELIMINARY_ANALYSISwhen.dfiles are processed withmass_acc_automatic=true, advising users to manually set mass accuracy to 10-15 ppm for timsTOF datadocs/usage.mdwith recommended parameters and example commandTest plan
nextflow run . -profile test_dia_dotd,docker --outdir resultsand verify warning appears in log outputnextflow run . -profile test_dia,docker --outdir results(non-.d files) and verify no warning appearsCloses #26
🤖 Generated with Claude Code