Skip to content

Adding the contam_ prefix doesn't work with an existing database. It only works when downloading the database using Philosopher #528

Open

Description

@hupak2022

Hello,

We noticed that in fragpipe report, we found contaminants and reverse hits even if we check " remove contaminants" box.
I checked a few of them and it looks like that "CON" and "REV" tags are lost somehow during identification and validation process.
Is there a way to fixe this bug? we end-up with some hits from Yeast, Rabbit and Sheep in our peptide report list.

Many thanks

HuiSong

Activity

  1. transferred this issue fromNesvilab/FragPipeon Apr 1, 2025
  2. fcyu commented on Apr 1, 2025

    @fcyu
    Member

    Hi HuiSong,

    It is a known bug: https://github.com/Nesvilab/philosopher/issues/813, #530, #516, #510 (comment), and #498. This function was not well implemented at the beginning by the Philosopher developer. Hopefully, we will have the bandwidth to revisit it in the future.

    Best,

    Fengchao

  3. changed the title [-]Filtering for reverse and contaminant hits[/-] [+]Adding the contam_ prefix doesn't work with an existing database. It only works when downloading the database using Philosopher[/+] on Apr 1, 2025
  4. apsteinberg commented on Jul 7, 2025

    @apsteinberg

    Hi @fcyu ,

    If I wanted to filter these out from Fragpipe results, what would be the easiest way? Originally I was going to use the "contam_" prefix, but then I discovered this issue. I was looking for the fasta file that philosopher downloads with the contaminants, but not sure where exactly this is pulled from. I thought perhaps I could build a list of IDs from there and filter for these.

    Thanks,
    Asher

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions