Tool Description
PeptideDB digests the proteins of a FASTA file in silico and stores the resulting peptides, with their masses and modifications, in a SQLite database.
How does PeptideDB work?
Search space
The search tools compare measured spectra against these peptides, so the digestion settings define the search space of the whole analysis.
Algorithm
The protease, missed-cleavage limits, peptide lengths and modifications define the search space. BioFSharp.Mz describes the search-space settings and the database layout.
InputsFiles and command-line flags
These inputs are needed to execute the tool:
| Flag | Meaning | Comes from |
|---|---|---|
-i |
one FASTA file (no directories) | Chosen proteome |
-o |
the output directory, created when missing | - |
-p |
the parameter file in JSON | peptideDBParams.json |
-
The tool writes
<Name>.dbinto the output directory, usingNamefrom the parameter file. PeptideSpectrumMatchingTIMs requires a database with monoisotopic masses. -
The database is read by
-
When a
<Name>.dbalready exists in the output directory and the parameters stored inside it equal the parameter file, the tool reuses that database and only makes sure its index is present. -
The output directory also receives
PeptideDB_log.txtandPeptideDB_<Name>_log.txt.
Parameter fileDefault values and tool settings
| Parameter | Default | Meaning |
|---|---|---|
| Name | "AraTest" | Name of the database and stem of the output file. |
| ParseProteinIDRegexPattern | "id" | How protein identifiers are taken from the FASTA headers. "id" (in any letter case, or an empty string) keeps the whole header line as the identifier. Any other value is a regular expression, and the matched part of the header becomes the identifier, for example "^\S+" for the first word. |
| Protease | Protease.Trypsin | Enzyme used for the digestion. Other values are Protease.Trypsin_P, Protease.LysC, Protease.LysC_P, Protease.Chymotrypsin and Protease.PepsinA. |
| MinMissedCleavages | 0 | Lowest number of missed cleavage sites a peptide may have. |
| MaxMissedCleavages | 2 | Highest number of missed cleavage sites a peptide may have. |
| MaxMass | 15000.0 | Peptides above this mass in Da are dropped. |
| MinPepLength | 6 | Shortest peptide length kept, in residues. |
| MaxPepLength | 65 | Longest peptide length kept, in residues. |
| IsotopicMod | [IsotopicMod.N15] | Isotopic labels of the experiment. Each label adds a labeled variant of every peptide next to the unlabeled one. Use [] for an unlabeled experiment. Other values are IsotopicMod.C13, IsotopicMod.O17, IsotopicMod.O18 and IsotopicMod.D. |
| MassMode | MassMode.Monoisotopic | Mass calculation, MassMode.Monoisotopic or MassMode.Average. |
| FixedMods | [] | Modifications applied to every matching residue. |
| VariableMods | [Modification.Oxidation'Met'; Modification.Acetylation'ProtNTerm'] | Modifications that may or may not be present. Every allowed combination becomes its own database entry. |
| VarModThreshold | 4 | Maximum number of variable modifications on one peptide. |
- The available modifications are the cases of
ProteomIQon.Modification, for exampleModification.Carbamidomethyl'Cys'orModification.Phosphorylation'Ser'Thr'Tyr'. - The default file is peptideDBParams.json. The Thermo preset includes carbamidomethylation as a variable modification.
Parameter generationJSON and parameter-generation examples
From the ProteomIQon repository root, build the library with dotnet build src/ProteomIQon/ProteomIQon.fsproj -c Release. Save the following as generate-params.fsx in that same directory and run dotnet fsi generate-params.fsx. The script writes the JSON file to the system temporary directory.
#r "nuget: BioFSharp.Mz, 0.2.3"
#r "nuget: Newtonsoft.Json, 13.0.4"
#r "./src/ProteomIQon/bin/Release/net10.0/ProteomIQon.dll"
open BioFSharp.Mz.SearchDB
open ProteomIQon
let peptideDBParams : Dto.PeptideDBParams =
{
Name = "AraTest"
ParseProteinIDRegexPattern = "id"
Protease = Protease.Trypsin
MinMissedCleavages = 0
MaxMissedCleavages = 2
MaxMass = 15000.0
MinPepLength = 6
MaxPepLength = 65
IsotopicMod = [IsotopicMod.N15]
MassMode = MassMode.Monoisotopic
FixedMods = []
VariableMods = [Modification.Oxidation'Met'; Modification.Acetylation'ProtNTerm']
VarModThreshold = 4
}
// Replace the temp folder with your project folder.
let outputPath = System.IO.Path.Combine(System.IO.Path.GetTempPath(), "peptideDBParams.json")
Json.serializeAndWrite outputPath peptideDBParams
Installing and executing the tool
-
Installing
Install the tool globally with the .NET CLI.
dotnet tool install --global ProteomIQon.PeptideDB -
Execute
proteomiqon-peptidedb -i path/to/proteome.fasta -o path/to/output -p path/to/peptideDBParams.json -
All Flags
proteomiqon-peptidedb --help