Skip to content
This repository was archived by the owner on May 6, 2024. It is now read-only.
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

Closed

Description

@jpfeuffer

See stagein directive in the module

Activity

  1. hendrikweisser commented on Apr 28, 2022

    @hendrikweisser

    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.

  2. hendrikweisser commented on Apr 28, 2022

    @hendrikweisser

    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 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).

  3. changed the title [-]Thermorawfileparser must not use softlinks on AWS![/-] [+]Thermorawfileparser must not use hard links on AWS![/+] on Apr 28, 2022
  4. jpfeuffer commented on Apr 28, 2022

    @jpfeuffer
    CollaboratorAuthor

    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.

  5. jpfeuffer commented on Apr 29, 2022

    @jpfeuffer
    CollaboratorAuthor

    If TRFP proves to be reliable with symlinks we can also revert the change of defaults.

  6. jpfeuffer commented on Apr 29, 2022

    @jpfeuffer
    CollaboratorAuthor

    I mostly have retry strategies enabled anyway.

  7. hendrikweisser commented on Apr 29, 2022

    @hendrikweisser

    I mostly have retry strategies enabled anyway.

    How can I do this on the command line?

  8. hendrikweisser commented on Apr 29, 2022

    @hendrikweisser

    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?

  9. jpfeuffer commented on Apr 29, 2022

    @jpfeuffer
    CollaboratorAuthor
  10. hendrikweisser commented on Apr 29, 2022

    @hendrikweisser

    Great, thanks Julianus!
    (Did the "Yes" refer to "Shall I open a separate ticket"?)

  11. jpfeuffer commented on Apr 29, 2022

    @jpfeuffer
    CollaboratorAuthor

    Ah no, can you just try again? I submitted and merged a PR for the retries in this step.

  12. hendrikweisser commented on Apr 29, 2022

    @hendrikweisser

    Yep, now that the second PR is merged, it works. Thanks again!

  13. added a commit that references this issue on Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions