-
Notifications
You must be signed in to change notification settings - Fork 23
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
[Pitch] Partial keep raw in OpenMS #145
Comments
@jspaezp I like option |
Yes maybe we should do "2.", just in case we allow mixed designs at some point. Name of the option could also be "extension_map(ping)" |
I have finished the first iteration of this implementation. @jpfeuffer Can I ask you something, will the name only changed in the |
So, to be honest, after thinking about it a bit more, I think the safest way would be to always keep the original filenames everywhere. BUT this means that you need to pass the design along the workflow for a bit longer, until the actual conversion step. By the way, has anyone tried with having the "raw" names in the design first? I thought @timosachsenberg implemented a file basename check only in the affected OpenMS tools. |
I'm saying this because in n theory, this is all a hack based on the idea "we know that it most likely needs to be converted at some point in the future to mzML", which is not very nice. |
@jpfeuffer I guess, this will need some refactoring in quantms and also OpenMS if we don't do conversions? |
No, as I said this should be implemented. |
Can we continue with the following approach and then do the major refactoring? In any case, this PR only include the possibilityin |
I think no changes are necessary but someone has to try. |
I actually removed now the option |
Hello there! This fix broke how my data was handled, If I had files that ended with I am working over here on fixing this, I also noticed that the testing suite always passed because "ERROR" was looked for in the output, but click errored out with the "Error" word, thus it never failed. Right now this test fails on me, let me know if that is the intended behavior.
|
You mean in your experimental design you have data in the way |
Let me go back a bit ... just to make sure we are all in the same page. If I wanted to set up a workflow with the file nontheless, since we need the name in the experimental design ( 'why do it in this stage?': Since there is now a flag in quantms that allow forcing the conversion of .d files to .mzML, makes more sense to me to allow the user to have the same starting .sdrf file, with any extension supported by the pipeline (d.gz, d.tar.gz, .d.tar, .d ...) and have the pipeline translate the extension, instead of having the user create an .sdrf with the "expected extension" of the output. HAVING SAID THAT! even if that is not something you want, I will split the work on the testing side of things and submit a PR on it. |
Ok, the idea is that we allow users to convert:
I actually in the logic validated that we have only some extensions supported like .d -> .d or .raw -> .mzML, etc. I agree with you that we should move to a more generic appraoch when we allow any type of conversion from any file type to any file type. I will do a PR with the new changes for you to review. |
Hello,
I am working on a project where I would like to convert an sdrf to an openms workflow where I would like to keep the extension as is, only for some files.
(I am also implementing the workflow... nf-core/quantms#64 (comment))
Ideas:
let me know what you think and if the feature would be something you want me to make a PR for
Places where changes would go:
sdrf-pipelines/sdrf_pipelines/openms/openms.py
Lines 582 to 586 in adf9279
(there is another place in the same file)
https://github.com/bigbio/sdrf-pipelines/blob/adf9279a5c1c03d578575c4a89dfd535af8715c2/sdrf_pipelines/parse_sdrf.py#L37C1-L37C1
The text was updated successfully, but these errors were encountered: