Okay, let's clarify how to obtain spectral counts using the FragPipe graphical user interface (GUI).
Spectral counting isn't typically a separate search mode you select in FragPipe. Instead, it's a form of label-free quantification (LFQ) derived from the results of a standard peptide identification search (usually performed by MSFragger within the FragPipe workflow). The spectral counts (number of Peptide Spectrum Matches, or PSMs) for each protein are calculated and reported as part of the standard output generated by the downstream processing steps, primarily handled by the Philosopher tool integrated into FragPipe.
Here’s how you generally run a workflow in FragPipe to get spectral counting results:
- Open FragPipe.
- Load Data: Go to the 'Workflow' tab. Click 'Add files' to load your spectral data files (e.g., .raw, .mzML).
- Select Workflow: Choose a relevant workflow. A standard identification workflow (like 'Default' or one appropriate for your data type/labeling) is sufficient. MSFragger will be used for the peptide search.
- Specify Database: Go to the 'Database' tab. Add your protein sequence database (FASTA file). Configure any necessary decoy generation or contaminant inclusion.
- Configure Search Parameters (MSFragger): Go to the 'MSFragger' tab. Set your peptide search parameters like precursor/fragment mass tolerances, enzyme specificity, variable/fixed modifications, etc.
- Configure Validation and Reporting (Philosopher):
- Go to the 'Validation' tab (or sometimes integrated within other tabs depending on FragPipe version). This is where Philosopher settings reside. Ensure PeptideProphet and ProteinProphet (or similar FDR filtering steps) are enabled. These process the MSFragger results.
- Go to the 'Report' tab. Ensure that 'Generate Reports' is checked. Philosopher handles the aggregation of PSMs per protein. There usually isn't a specific checkbox only for "spectral counting," as it's a fundamental output of the protein inference process.
- Run the Analysis: Go back to the 'Run' tab. Specify an output directory ('Data Folder'). Click the 'RUN' button.
Finding the Spectral Counting Results:
Once the FragPipe run is complete, navigate to the output folder you specified. The spectral counts are typically found within the protein-level results file generated by Philosopher.
- Look for a file named
protein.tsv (or similar, like protein-report.tsv).
- Open this file (it's a tab-separated text file, easily opened in Excel or similar spreadsheet software).
- Inside this file, look for columns related to PSM counts. Common column names include:
Total Spectral Count / Total PSMs: The total number of PSMs assigned to the protein group (including shared peptides counted for each protein they map to).
Unique Spectral Count / Unique PSMs: The number of PSMs corresponding to peptides that map uniquely to that specific protein group.
Razor Spectral Count / Razor PSMs: The number of PSMs from peptides assigned to the protein group according to the "razor peptide" principle (where a shared peptide's PSMs are assigned entirely to the protein group with the most evidence/other unique peptides).
These columns directly provide the spectral counts for each identified protein group, which you can then use for quantification.
In summary, you don't run a specific "spectral counting search." You run a standard identification workflow, and the spectral counts (PSM counts per protein) are automatically calculated and included in the standard protein report (protein.tsv) generated by the Philosopher part of the FragPipe pipeline.