Skip to content

Comet -- Error: No index found for enzyme Trypsin. #366

Open

Description

@jeffsocal

Ubuntu 20 LTS
SearchCLI 4.3.1

Leaving enzyme restriction null in the params file results in a error for comet execution.

Suggested error location: CometProcessBuilder.java L266
Suggested fault: CometProcessBuilder.java > getEnzymeListing L901

searchcli.par:
...
"restrictionBefore": [],
"restrictionAfter": [],

Activity

  1. self-assigned this
    on Oct 18, 2023
  2. hbarsnes commented on Oct 18, 2023

    @hbarsnes
    Member

    There are two trypsin versions included as defaults: "Trypsin" and "Trypsin_(no_P_rule)". It seems like it's the last one that you want? It includes the setting you list above, i.e. no restrictions before and after the cleavage site, and seems to work fine as far as I can tell. In other words, I'm not able to reproduce the no index found error.

    Are you perhaps creating your own enzyme? Or editing the SearchGUI parameter file directly?

  3. jeffsocal commented on Oct 18, 2023

    @jeffsocal
    Author

    Thanks for the immediate response.
    Interesting. Apologies, where can I find that in the documentation?

    If I set the values to "Trypsin_(no_P_rule)" such that ...
    "digestionParameters": {
    "cleavageParameter": "enzyme",
    "enzymes": [
    {
    "name": "Trypsin_(no_P_rule)",
    "aminoAcidBefore": [
    "R",
    "K"
    ],
    "aminoAcidAfter": [],
    "restrictionBefore": [],
    "restrictionAfter": [],
    "cvTerm": {
    "ontology": "PSI-MS",
    "accession": "MS:1001251",
    "name": "Trypsin_(no_P_rule)",
    "id": 0
    },
    "id": 0
    }
    ],
    "nMissedCleavages": {
    "Trypsin_(no_P_rule": 2
    },
    "specificity": {
    "Trypsin_(no_P_rule)": "specific"
    },
    "id": 0
    },

    Then none of the other searches are able to complete. For example:
    ...
    INFO: Beginning tide-search.
    FATAL: '/home/jeff/software/SearchGUI-4.2.17/resources/temp/search_engines/tide/fasta-index' does not exist
    ...

    I would prefer to set the enzyme, then also the "restrictionBefore": [], and "restrictionAfter": [], parameters independently. Any and all suggestions are welcome.

  4. jeffsocal commented on Oct 18, 2023

    @jeffsocal
    Author

    Ahh! Typo. Missing the ")", Seems to work fine now for Tide and others ...
    ...
    "nMissedCleavages": {
    "Trypsin_(no_P_rule": 2
    },

    Thanks for the feedback. Still looking for the SearchCLI documentation on enzyme nomenclature.

  5. hbarsnes commented on Oct 18, 2023

    @hbarsnes
    Member

    Still looking for the SearchCLI documentation on enzyme nomenclature.

    I'm not sure if we ever documented this properly. I had a look at https://github.com/compomics/compomics-utilities/wiki/IdentificationParametersCLI, but the closest I could find was the listing of available enzymes via the -enzymes option (https://github.com/compomics/compomics-utilities/wiki/IdentificationParametersCLI#general-parameters).

    However, we did also implement command line support for creating new enzymes: https://github.com/compomics/compomics-utilities/tree/master/src/main/java/com/compomics/cli/enzymes. Seems like this never made it into the wiki pages though. There currently also seems to be a bug resulting in null pointer when trying to run java -cp SearchGUI-4.3.1.jar com.compomics.cli.enzymes.EnzymesCLI (to see the list of parameters). I will see if I can manage to fix this (and update the wiki pages), but in the meantime you can get around the bug by adding -use_log_folder 0 at the end of the EnzymesCLI command line.

  6. jeffsocal commented on Oct 19, 2023

    @jeffsocal
    Author

    Interesting. Most the other algorithms accept Trypsin_(no_P_rule), except Comet, I noticed Tide also has a warning.

    java -cp SearchGUI-4.3.1.jar eu.isas.searchgui.cmd.SearchCLI -id_params trypNoP3ptm_0.1Da.par .. -comet 1 -tide 1

    Thu Oct 19 15:59:50 UTC 2023 Indexing ...fasta for Tide.
    ...
    WARNING: 'custom-enzyme' was set: setting 'enzyme' to 'custom-enzyme'

    Thu Oct 19 16:00:11 UTC 2023 Importing spectrum files.
    ...
    Thu Oct 19 16:00:11 UTC 2023 Error: No index found for enzyme Trypsin_(no_P_rule).
    Thu Oct 19 16:00:11 UTC 2023 An error occurred while running SearchGUI. Please contact the developers.
    Thu Oct 19 16:00:11 UTC 2023 The search or processing did not finish properly!

  7. jeffsocal commented on Oct 19, 2023

    @jeffsocal
    Author

    The specificity is in using no underscore for "Trypsin (no P rule)". That seems to work with SearchCLI now for all algorithms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions