Skip to content

problem reading PSMs #160

Description

@Francescodotta

I've tried to run a specific command in python using the command line CMD.dll, i'm in a linux environment. This is the specific code:

flashlfq_path = os.path.join(os.getenv('TOOLS_BASE_PATH'), "FlashLFQ/CMD/bin/Release/net8.0/CMD.dll")
command = [
        "dotnet", flashlfq_path,  # Remove "mono" if you're using Windows EXE
        "--idt", input_pin_file,
        "--rep", os.path.dirname(mzml_file),
        "--out", output_dir,
        "--chg"
    ]

I know for a fact that the directory positions etc. are all correct. I'm trying to run the flashlfq tool after the msfragger and percolator steps and i'm putting as input the percolator output file, and as the directory name, the directory containing the mzml file.
However it seems that FlashLFQ can't match the spectra identified through msfragger with the one present in the mzml file. How can i check and correct this error?

This is the error code:

Running FlashLFQ: dotnet /media/datastorage/it_cast/omnis_microservice_db/tools/FlashLFQ/CMD/bin/Release/net8.0/CMD.dll --idt /media/datastorage/it_cast/omnis_microservice_db/test_db/file_mzml/20250228_04_03.pin --rep /media/datastorage/it_cast/omnis_microservice_db/test_db/file_mzml --out /media/datastorage/it_cast/omnis_microservice_db/test_db/flashlfq_results --chg
Opening PSM file /media/datastorage/it_cast/omnis_microservice_db/test_db/file_mzml/20250228_04_03.pin
Problem reading PSMs: The given key '20250228_04_03.388.388' was not present in the dictionary.
FlashLFQ processing complete.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions