Skip to content

Error when using a peptide level entrapment database for peptide-level FDP estimation #10

@TMin-relax

Description

@TMin-relax

Dear FDRBench maintainers,

I'm trying to perform precursor-level entrapment analysis for a search.

  1. I generated a peptide level entrapment database using the human target database UP000005640_9606.fasta by taking peptides from Arabidopsis thaliana and Saccharomyces cerevisiae as entrapments.
    Here is the command I used:
    java -jar fdrbench-0.0.4.jar java -db UP000005640_9606.fasta -o UP000005640_9606_I2L_foreign_species_entrapment_peptide.txt -I2L -diann -uniprot -ms uniprotkb_Saccharomyces_cerevisiae_AND_2025_07_15.fasta,uniprotkb_Arabidopsis_AND_model_organis_2025_07_15.fasta -enzyme 2 -miss_c 1 -minLength 7 -maxLength 35 -level peptide -fold 1

  2. After obtaining the identifications with DIA-NN (version 2.1.0), I proceeded with peptide-level results and prepared two input tables (https://github.com/TMin-relax/SupportingInformation.git).

  3. Here is the command I used: java -jar fdrbench-0.0.4.jar -i pep_fdp.tsv -fold 1 -pep UP000005640_9606_I2L_foreign_species_entrapment_peptide.txt -level precursor -o peptide-openspec_fdp_precursor.csv -score score:0.

However, I encountered the following error:

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::invokeCleaner has been called by nonapi.io.github.classgraph.utils.FileUtils (file:/D:/TMin/ArticalResponse/FDR/fdrbench-0.0.4/lib/classgraph-4.8.60.jar)
WARNING: Please consider reporting this to the maintainers of class nonapi.io.github.classgraph.utils.FileUtils
WARNING: sun.misc.Unsafe::invokeCleaner will be removed in a future release
Use both q_value and score for ranking
of peptides: 155268
Exception in thread "main" java.lang.NullPointerException: Cannot invoke "java.util.ArrayList.get(int)" because the return value of "java.util.HashMap.get(Object)" is null
at main.java.FDR.PeptidePair.get_paired_target_peptide(PeptidePair.java:151)
at main.java.FDR.FDREval.calc_fdp_fast_kfold(FDREval.java:2892)
at main.java.FDR.FDREval.main(FDREval.java:525)

Could you help check what might be causing this issue? Please let me know if I can provide more details.
Thanks!

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