Open search analysis
This tutorial will show you how to use Philosopher for a complete open search proteomics analysis. Philosopher can also be used on Windows, though the commands in this tutorial are formatted for GNU/Linux
What are the basic steps?
The commands in this tutorial should be executed in a particular order. Consider this the "default" order in which to perform an analysis:
- Create a workspace
- Download a database
- Search with MSFragger
Before we start
As an example data set, we will use a publicly-available LC-MS data file from a human protein sample described in this publication. Download the file 06_CPTAC_TMTS1-NCI7_P_JHUZ_20170509_LUMOS.raw from the dataset FTP location (the full listing is here).
You can choose to use the .raw spectral format, or you can convert it to the mzML format (needed for quantification). A tutorial on raw file conversion can be found here.
If you need help with the commands, you can run them using the
--help flag (e.g.
philosopher workspace --help), which will provide a description of all available flags for each command.
1. Create a workspace
(Note: use the full path to the Philosopher binary file in place of philosopher in the following steps.) Place the 06_CPTAC_TMTS1-NCI7_P_JHUZ_20170509_LUMOS.raw in a new folder, which we will call the 'workspace'. We will create the workspace with the Philosopher workspace command, which will enable the program to store processed data in a special binary format for quick access.
Inside your workspace folder, open a new terminal window and run this command:
philosopher workspace --init
From now on, all steps should be executed inside this same directory.
2. Download a protein database
For the first step we will download and format a database file using the database command, but first we need to find the Proteome ID (PID) for our organism. Searching the UniProt proteome list, we can see that the Homo sapiens proteome ID is UP000005640, so let's prepare the database file with the following command:
philosopher database --id UP000005640 --reviewed --contam
Philosopher will retreive all reviewed protein sequences from this proteome, add common contaminants, and generate decoy sequences labeled with the tag rev_.
3. Perform a database search with MSFragger
(Note: use the full path to the MSFragger.jar file in place of MSFragger.jar in the following steps.)
java -jar MSFragger.jar --config to print three MSFragger parameter files (closed, nonspecific, and open).
In the open_fragger.params file, update the database_name parameter to the name of the database file we downloaded in the previous step (e.g. 2019-11-04-td-rev-UP000005640.fas). You can also change the calibrate_mass parameter from 2 to 0 to speed up the search even more.
Launch the search by running:
java -Xmx32g -jar MSFragger.jar open_fragger.params 06_CPTAC_TMTS1-NCI7_P_JHUZ_20170509_LUMOS.raw. (Adjust the
-Xmx flag to the appropriate amount of RAM for your computer.)
The search should be done in a few minutes or less. The search hits are now stored in a file called 06_CPTAC_TMTS1-NCI7_P_JHUZ_20170509_LUMOS.pepXML.
The next step is to validate the peptide hits with PeptideProphet:
philosopher peptideprophet --database 2019-11-04-td-rev-UP000005640.fas --nonparam --expectscore --decoyprobs --masswidth 1000.0 --clevel -2 06_CPTAC_TMTS1-NCI7_P_JHUZ_20170509_LUMOS.pepXML
This will generate a new file called interact-06_CPTAC_TMTS1-NCI7_P_JHUZ_20170509_LUMOS.pep.xml.
Next, perform protein inference and generate a protXML file:
philosopher proteinprophet --maxppmdiff 2000000 interact-06_CPTAC_TMTS1-NCI7_P_JHUZ_20170509_LUMOS.pep.xml
6. Filter and estimate FDR
Now we have all necessary files to filter our data using the FDR approach:
philosopher filter --razor --mapmods --pepxml interact-06_CPTAC_TMTS1-NCI7_P_JHUZ_20170509_LUMOS.pep.xml
Running the above command with only a pepXML will give you the current levels for the pepXML file only. If you include a protXML file, Philosopher will use protein inference information to make the FDR score more precise:
philosopher filter --pepxml interact-06_CPTAC_TMTS1-NCI7_P_JHUZ_20170509_LUMOS.pep.xml --protxml interact.prot.xml
The filter algorithm can be applied in many different ways, use the
--help flag and choose the best method to analyze your data. Scoring results will be shown in the console, and all processed data will be stored in your workspace for further analysis.
7. Report the results
Now we can inspect the experiment results by printing the PSM, peptide, and protein reports:
As an optional last step, backup your data in case you wish to print the reports again later.
philosopher workspace --backup
We've demonstrated how to run a complete proteomics analysis using Philosopher. By providing easy access to advanced analysis software and custom processing algorithms, protein reports can be obtained from LC-MS files in just a few minutes. Note that label-free or label-based quantification can also be performed on open search results (between
report steps), see freequant and labelquant for more information. The .mzML file format must be used for quantification, see the msconvert tutorial.