Skip to content
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

ms2rescore.py arguments list #416

Closed
prvst opened this issue Sep 5, 2024 · 5 comments
Closed

ms2rescore.py arguments list #416

prvst opened this issue Sep 5, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@prvst
Copy link

prvst commented Sep 5, 2024

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

@prvst prvst added the enhancement New feature or request label Sep 5, 2024
@ypriverol
Copy link
Member

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

@prvst
Copy link
Author

prvst commented Sep 5, 2024

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"
                },
                

@ypriverol
Copy link
Member

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

@prvst
Copy link
Author

prvst commented Sep 6, 2024

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+)",

@ypriverol
Copy link
Member

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
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants