Skip to content

ms2rescore.py arguments list #416

Closed
Closed

Description

@prvst

Description of feature

Please consider adding the following cli arguments to the quantms-utils :: ms2rescore.py script:

-log_level
-psm_id_pattern
-spectrum_id_pattern

Thanks

Activity

  1. added
    enhancement
    on Sep 5, 2024
  2. ypriverol commented on Sep 5, 2024

    @ypriverol
    Contributor

    What will be the values for the patterns? and spectrum ID? Can you elaborate @prvst

  3. prvst commented on Sep 5, 2024

    @prvst
    Author

    Here's the description from the schema:

                    "log_level": {
                        "description": "Logging level",
                        "type": "string",
                        "enum": ["debug", "info", "warning", "error", "critical"]
                    },
                    "spectrum_id_pattern": {
                        "description": "Regex pattern to extract index or scan number from spectrum file. Requires at least one capturing group.",
                        "oneOf": [{ "type": "string" }, { "type": "null" }],
                        "default": "(.*)",
                        "format": "regex"
                    },
                    "psm_id_pattern": {
                        "description": "Regex pattern to extract index or scan number from PSM file. Requires at least one capturing group.",
                        "oneOf": [{ "type": "string" }, { "type": "null" }],
                        "default": "(.*)",
                        "format": "regex"
                    },
                    
    
  4. ypriverol commented on Sep 6, 2024

    @ypriverol
    Contributor

    @prvst Can you give us one example about how to use this parameters?

  5. prvst commented on Sep 6, 2024

    @prvst
    Author

    This is an example from an actual parameter file - all three arguments are passed as strings

            "log_level": "debug",
            "psm_id_pattern": "scan=(\\d+)",
            "spectrum_id_pattern": "scan=(\\d+)",
    
  6. ypriverol commented on Sep 11, 2024

    @ypriverol
    Contributor

    Done in quantms-utils 0.0.11 #419

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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions