Repository navigation
Add support for .dia file format and improve file format documentation - #623
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Note Other AI code review bot(s) detectedCodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review. Comment |
Co-authored-by: jpfeuffer <[email protected]>
Co-authored-by: jpfeuffer <[email protected]>
|
@copilot make sure to warn early if unsupported file formats are specified. Tell the user that they will be skipped from processing. |
Co-authored-by: jpfeuffer <[email protected]>
I've implemented all the requested changes in commit 2eaf584:
|
Co-authored-by: jpfeuffer <[email protected]>
This PR is against the
|
|
|
@copilot you have issues with prettier: |
Co-authored-by: ypriverol <[email protected]>
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
|
@copilot can we open an issue that make clear we need a test for this use case in the future? |
I don't have permissions to create issues directly. However, here's what the issue should contain: Title: Add test coverage for .dia file format support Description:
Test data needed: Sample .dia file(s) that can be added to the test dataset repository. |
Co-authored-by: ypriverol <[email protected]>
Add support for .dia file format and improve file format documentation ✅
This PR implements support for the
.diafile format as requested in the issue. The changes enable users to use.diafiles directly with the quantms pipeline without needing to convert them to another format first.Changes Made:
File preparation workflow (
subworkflows/local/file_preparation/main.nf).diato file extension branching logic.diafiles are passed through without conversion (DIA-NN handles them natively)SDRF parsing (
modules/local/sdrf_parsing/main.nf).diafiles (binary format that isn't compressed)Schema update (
nextflow_schema.json)local_input_typeparameter documentation to include all supported formats: 'mzML', 'raw', 'd', 'dia'Documentation updates
README.mddocs/usage.md.raw,.mzML,.d,.dia.diais a binary format and compression is only supported for.raw,.mzML, and.dImplementation Details:
The implementation follows the same pattern as
.dfile handling whenconvert_dotdis false:.diaextension.diais a binary format and does not support compressionValidation and Error Handling:
Testing:
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.
PR Type
Enhancement
Description
Add
.diafile format support to pipeline input handlingImplement file format validation with unsupported format warnings
Document all supported formats and compressed variants comprehensively
Update SDRF parsing for
.diacompressed file decompressionDiagram Walkthrough
File Walkthrough
README.md
Document supported file formats and variantsREADME.md
.raw,.mzML,.d,and
.diaformats.gz,.tar,.tar.gz,.zip)usage.md
Add file format documentation to usage guidedocs/usage.md
descriptions
instead of "raw or mzML files"
nextflow_schema.json
Update schema documentation for file type parameternextflow_schema.json
local_input_typeparameter help text to include'd'and'dia'as valid options
.gz,.tar,.tar.gz,.zip)main.nf
Add .dia compressed format decompression rulesmodules/local/sdrf_parsing/main.nf
.diavariants(
.dia.gz,.dia.tar.gz,.dia.tar,.dia.zip).diaextension after extraction.dianative handling by DIA-NNmain.nf
Implement .dia branching and format validationsubworkflows/local/file_preparation/main.nf
.diabranch to file format branching logicwarning message
.diafile pass-through without conversion (DIA-NN nativehandling)