You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 6, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on May 6, 2024. It is now read-only.
Thermorawfileparser must not use hard links on AWS! #24
I've had a problem with the raw->mzML conversion on our server (Ubuntu 20.04) that may be related. The ThermoRawFileParser step failed with the following error message:
Command wrapper:
ln: failed to create hard link 'test.raw' => '/mnt/MS_Data/Jack/Proteomics/SSTs_for_Hendrik/RAW_files/test.raw': Invalid cross-device link
The raw files were stored on a separate mounted volume.
However, this never takes effect without the errorStrategy 'retry' directive! Adding a line with label 'error_retry' to the top of "thermorawfileparser/main.nf" made it work on my system (with a failure at the first try, but success on the second).
Yes, one can always overwrite stagein directives. Unfortunately TRFP had problems with symlinks in the past so we default to hardlinks except for AWS now.
The current quantms version (after #28) doesn't fix my problem, because "thermorawfileparser/main.nf" still isn't configured to retry on failure.
Shall I open a separate ticket?
Activity
hendrikweisser commentedon Apr 28, 2022
I've had a problem with the raw->mzML conversion on our server (Ubuntu 20.04) that may be related. The ThermoRawFileParser step failed with the following error message:
The raw files were stored on a separate mounted volume.
hendrikweisser commentedon Apr 28, 2022
Looking into this more, the process script for ThermoRawFileParser actually has code to try staging files in different ways:
https://github.com/bigbio/quantms/blob/8ff9160827c46bd008ea9f191eb73c13a7057bf7/modules/local/thermorawfileparser/main.nf#L11
However, this never takes effect without the
errorStrategy 'retry'directive! Adding a line withlabel 'error_retry'to the top of "thermorawfileparser/main.nf" made it work on my system (with a failure at the first try, but success on the second).[-]Thermorawfileparser must not use softlinks on AWS![/-][+]Thermorawfileparser must not use hard links on AWS![/+]jpfeuffer commentedon Apr 28, 2022
Yes, one can always overwrite stagein directives. Unfortunately TRFP had problems with symlinks in the past so we default to hardlinks except for AWS now.
jpfeuffer commentedon Apr 29, 2022
If TRFP proves to be reliable with symlinks we can also revert the change of defaults.
jpfeuffer commentedon Apr 29, 2022
I mostly have retry strategies enabled anyway.
hendrikweisser commentedon Apr 29, 2022
How can I do this on the command line?
hendrikweisser commentedon Apr 29, 2022
The current quantms version (after #28) doesn't fix my problem, because "thermorawfileparser/main.nf" still isn't configured to retry on failure.
Shall I open a separate ticket?
jpfeuffer commentedon Apr 29, 2022
Yes. The default config https://github.com/nf-core/quantms/blob/dev/conf/base.config#L18
only retries at certain exit codes. On AWS they seem to have triggered. In the new linked PR I now labelled TRFP for unconditional retry https://github.com/nf-core/quantms/blob/dev/conf/base.config#L58
I would use a config file if you want to overwrite the settings of a process:
https://nf-co.re/docs/usage/configuration#custom-configuration-files
hendrikweisser commentedon Apr 29, 2022
Great, thanks Julianus!
(Did the "Yes" refer to "Shall I open a separate ticket"?)
jpfeuffer commentedon Apr 29, 2022
Ah no, can you just try again? I submitted and merged a PR for the retries in this step.
hendrikweisser commentedon Apr 29, 2022
Yep, now that the second PR is merged, it works. Thanks again!
Merge pull request #24 from WangHong007/dev