post-translational-modification-detection
Summary
Identifies and validates post-translational modifications (PTMs) on peptides by matching experimental tandem mass spectra against databases of putative modified RiPP structures, with class-specific modification rules applied during database construction. This skill bridges metabologenomic data (genome-predicted precursor peptides with enumerated PTM variants) and mass spectrometry evidence (fragmentation patterns).
When to use
When you have tandem mass spectrometry data (LC-MS/MS in MGF, mzML, mzXML, or mzData format) paired with either genome sequences or precursor peptide predictions, and you want to confirm the presence and identity of modified ribosomally synthesized and post-translationally modified peptides (RiPPs) such as lantibiotics, lassopeptides, or cyanobactins. Specifically apply this skill after genome-based BGC identification has generated candidate precursor peptide sequences and their putative PTM variants.
When NOT to use
- Input spectra are in profile (non-centroided) mode—centroiding is a preprocessing requirement not handled by MetaMiner/Dereplicator
- Searching non-peptidic natural products or metabolites without ribosomally synthesized origins—use Dereplicator+ instead for general metabolite identification
- Genome input is from antiSMASH .final.gbk or .gbk output files without fallback to raw contigs.fasta, as documented failures show antiSMASH format does not reliably produce PTM detections for known compounds like AmfS
Inputs
- Tandem mass spectrometry files (MGF, mzML, mzXML, or mzData format)
- Genome FASTA nucleotide sequences or extracted precursor peptide sequences
- RiPP class specification (lantibiotic, lassopeptide, cyanobactin, or other)
- Optional: antiSMASH genome mining output or BOA annotated gene files
Outputs
- Tab-separated significant_matches.tsv file with columns: scan identifier, match score, p-value, false discovery rate, FragmentSeq (core peptide), ModifiedSeq (with PTM mass shifts)
- RiPP structure database (intermediate TSV or FASTA format with enumerated PTM variants)
- Identified RiPP compound list with confirmed PTM patterns
How to apply
First, construct a RiPP structure database by applying class-specific modification rules (e.g., dehydrobutyrine and dehydroalanine T-18 and S-18 mass shifts for lantibiotics) to enumerate all putative post-translationally modified variants of identified precursor peptides. Convert spectral input files to MGF format if needed using ProteoWizard msconvert. Then execute Dereplicator to match experimental spectra against the constructed database, scoring matches and recording significant identifications. Parse the output tab-separated results file (significant_matches.tsv) to extract compound identifications and verify presence of target modified peptides by checking the ModifiedSeq column for expected mass shifts and the FragmentSeq column for the core peptide sequence. The rational relies on the observation that raw nucleotide FASTA input enables PTM detection better than pre-processed genome mining tool output (e.g., antiSMASH .gbk files), likely because sequence parsing and precursor extraction is more reliable from unformatted contigs.
Related tools
- MetaMiner (Metabologenomic pipeline that identifies putative BGCs and precursor peptides from genome FASTA, constructs RiPP structure databases with class-specific PTM enumeration, and coordinates spectral matching) — https://github.com/mohimanilab/MetaMiner
- Dereplicator (Matches tandem mass spectra against the constructed post-translationally modified RiPPs structure database and scores significant matches) — https://github.com/ablab/npdtools
- ProteoWizard (Converts mass spectrometry data in non-native formats (e.g., raw instrument formats) to MGF via msconvert utility for compatibility with NPDtools pipelines)
- antiSMASH (Alternative genome mining tool for BGC annotation; produces .final.gbk or .gbk output that can be input to MetaMiner, though raw FASTA sequences are preferred for PTM detection)
- BOA (Alternative bacterial gene cluster annotation tool producing .annotated.txt files as optional input to MetaMiner) — https://github.com/idoerg/BOA
Examples
python metaminer.py test_data/metaminer/msms/ -s test_data/metaminer/fasta/ -c lantibiotic -o metaminer_outdir
Evaluation signals
- Presence of expected core peptide sequence in FragmentSeq column (e.g., 'TGSQVSLLVCEYSSLSVVLCTP' for AmfS lantibiotic)
- ModifiedSeq column shows class-appropriate PTM mass shifts (e.g., T-18 and S-18 for dehydrobutyrine and dehydroalanine in lantibiotics)
- Significant match p-value or score threshold is met (tool-dependent; Dereplicator reports p-values and false discovery rates)
- Match is reported in significant_matches.tsv (not filtered out as below threshold)
- Input format consistency: raw nucleotide FASTA (not antiSMASH .gbk) yields higher detection sensitivity for known RiPPs
Limitations
- MetaMiner fails to detect known RiPPs when antiSMASH .final.gbk or .gbk files are used as input; raw nucleotide contigs.fasta must be supplied instead
- PTM enumeration is class-specific; the pipeline must know the target RiPP class (lantibiotic, lassopeptide, cyanobactin) a priori to apply correct modification rules
- Requires Python 2.6–2.7 or 3.3+ and joblib for parallel processing; older or missing dependencies may degrade performance
- Spectral input files must be centroided; profile-mode spectra will not be processed correctly
- Spectral networking and visualization require optional matplotlib and networkx libraries; without them, propagation graphs are generated in plain text only
Evidence
- [methods] MetaMiner successfully detects AmfS using contigs.fasta genome files, though it fails when using antiSMASH results as input, indicating that raw nucleotide sequence format supports lantibiotic discovery.: "While
MetaMiner successfully detect AmfS using the contigs.fasta file, it fails with antiSMASH result as input"
- [methods] MetaMiner constructs putative RiPP structure databases by applying class-specific modification rules to enumerate post-translationally modified variants.: "For each identified precursor peptide, apply the RiPP Structure Database Builder to enumerate putative post-translationally modified variants according to class-specific modification rules."
- [methods] Verification of PTM detection relies on checking the ModifiedSeq column for expected mass shifts (T-18 and S-18) and the FragmentSeq column for the core peptide sequence.: "verifying presence of AmfS by FragmentSeq column matching 'TGSQVSLLVCEYSSLSVVLCTP' and ModifiedSeq showing dehydrobutyrine/dehydroalanine modifications (T-18 and S-18 mass shifts)"
- [readme] NPDtools natively supports MGF, mzXML, mzData and uses msconvert utility from the ProteoWizard package to convert spectra in other formats to MGF.: "MetaMiner natively supports MGF, mzXML, mzData and uses msconvert utility from the ProteoWizard package to convert spectra in other formats to MGF"
- [readme] Dereplicator matches tandem mass spectra against the constructed post-translationally modified RiPPs structure database.: "matches tandem mass spectra against the constructed post-translationally modified RiPPs structure database using Dereplicator"
1---2name: post-translational-modification-detection3description: Use when when you have tandem mass spectrometry data (LC-MS/MS in MGF, mzML, mzXML, or mzData format) paired with either genome sequences or precursor peptide predictions, and you want to confirm the presence and identity of modified ribosomally synthesized and post-translationally modified.4license: CC-BY-4.05---67# post-translational-modification-detection89## Summary1011Identifies and validates post-translational modifications (PTMs) on peptides by matching experimental tandem mass spectra against databases of putative modified RiPP structures, with class-specific modification rules applied during database construction. This skill bridges metabologenomic data (genome-predicted precursor peptides with enumerated PTM variants) and mass spectrometry evidence (fragmentation patterns).1213## When to use1415When you have tandem mass spectrometry data (LC-MS/MS in MGF, mzML, mzXML, or mzData format) paired with either genome sequences or precursor peptide predictions, and you want to confirm the presence and identity of modified ribosomally synthesized and post-translationally modified peptides (RiPPs) such as lantibiotics, lassopeptides, or cyanobactins. Specifically apply this skill after genome-based BGC identification has generated candidate precursor peptide sequences and their putative PTM variants.1617## When NOT to use1819- Input spectra are in profile (non-centroided) mode—centroiding is a preprocessing requirement not handled by MetaMiner/Dereplicator20- Searching non-peptidic natural products or metabolites without ribosomally synthesized origins—use Dereplicator+ instead for general metabolite identification21- Genome input is from antiSMASH .final.gbk or .gbk output files without fallback to raw contigs.fasta, as documented failures show antiSMASH format does not reliably produce PTM detections for known compounds like AmfS2223## Inputs2425- Tandem mass spectrometry files (MGF, mzML, mzXML, or mzData format)26- Genome FASTA nucleotide sequences or extracted precursor peptide sequences27- RiPP class specification (lantibiotic, lassopeptide, cyanobactin, or other)28- Optional: antiSMASH genome mining output or BOA annotated gene files2930## Outputs3132- Tab-separated significant_matches.tsv file with columns: scan identifier, match score, p-value, false discovery rate, FragmentSeq (core peptide), ModifiedSeq (with PTM mass shifts)33- RiPP structure database (intermediate TSV or FASTA format with enumerated PTM variants)34- Identified RiPP compound list with confirmed PTM patterns3536## How to apply3738First, construct a RiPP structure database by applying class-specific modification rules (e.g., dehydrobutyrine and dehydroalanine T-18 and S-18 mass shifts for lantibiotics) to enumerate all putative post-translationally modified variants of identified precursor peptides. Convert spectral input files to MGF format if needed using ProteoWizard msconvert. Then execute Dereplicator to match experimental spectra against the constructed database, scoring matches and recording significant identifications. Parse the output tab-separated results file (significant_matches.tsv) to extract compound identifications and verify presence of target modified peptides by checking the ModifiedSeq column for expected mass shifts and the FragmentSeq column for the core peptide sequence. The rational relies on the observation that raw nucleotide FASTA input enables PTM detection better than pre-processed genome mining tool output (e.g., antiSMASH .gbk files), likely because sequence parsing and precursor extraction is more reliable from unformatted contigs.3940## Related tools4142- **MetaMiner** (Metabologenomic pipeline that identifies putative BGCs and precursor peptides from genome FASTA, constructs RiPP structure databases with class-specific PTM enumeration, and coordinates spectral matching) — https://github.com/mohimanilab/MetaMiner43- **Dereplicator** (Matches tandem mass spectra against the constructed post-translationally modified RiPPs structure database and scores significant matches) — https://github.com/ablab/npdtools44- **ProteoWizard** (Converts mass spectrometry data in non-native formats (e.g., raw instrument formats) to MGF via msconvert utility for compatibility with NPDtools pipelines)45- **antiSMASH** (Alternative genome mining tool for BGC annotation; produces .final.gbk or .gbk output that can be input to MetaMiner, though raw FASTA sequences are preferred for PTM detection)46- **BOA** (Alternative bacterial gene cluster annotation tool producing .annotated.txt files as optional input to MetaMiner) — https://github.com/idoerg/BOA4748## Examples4950```51python metaminer.py test_data/metaminer/msms/ -s test_data/metaminer/fasta/ -c lantibiotic -o metaminer_outdir52```5354## Evaluation signals5556- Presence of expected core peptide sequence in FragmentSeq column (e.g., 'TGSQVSLLVCEYSSLSVVLCTP' for AmfS lantibiotic)57- ModifiedSeq column shows class-appropriate PTM mass shifts (e.g., T-18 and S-18 for dehydrobutyrine and dehydroalanine in lantibiotics)58- Significant match p-value or score threshold is met (tool-dependent; Dereplicator reports p-values and false discovery rates)59- Match is reported in significant_matches.tsv (not filtered out as below threshold)60- Input format consistency: raw nucleotide FASTA (not antiSMASH .gbk) yields higher detection sensitivity for known RiPPs6162## Limitations6364- MetaMiner fails to detect known RiPPs when antiSMASH .final.gbk or .gbk files are used as input; raw nucleotide contigs.fasta must be supplied instead65- PTM enumeration is class-specific; the pipeline must know the target RiPP class (lantibiotic, lassopeptide, cyanobactin) a priori to apply correct modification rules66- Requires Python 2.6–2.7 or 3.3+ and joblib for parallel processing; older or missing dependencies may degrade performance67- Spectral input files must be centroided; profile-mode spectra will not be processed correctly68- Spectral networking and visualization require optional matplotlib and networkx libraries; without them, propagation graphs are generated in plain text only6970## Evidence7172- [methods] MetaMiner successfully detects AmfS using contigs.fasta genome files, though it fails when using antiSMASH results as input, indicating that raw nucleotide sequence format supports lantibiotic discovery.: "While `MetaMiner` successfully detect AmfS using the `contigs.fasta` file, it fails with antiSMASH result as input"73- [methods] MetaMiner constructs putative RiPP structure databases by applying class-specific modification rules to enumerate post-translationally modified variants.: "For each identified precursor peptide, apply the RiPP Structure Database Builder to enumerate putative post-translationally modified variants according to class-specific modification rules."74- [methods] Verification of PTM detection relies on checking the ModifiedSeq column for expected mass shifts (T-18 and S-18) and the FragmentSeq column for the core peptide sequence.: "verifying presence of AmfS by FragmentSeq column matching 'TGSQVSLLVCEYSSLSVVLCTP' and ModifiedSeq showing dehydrobutyrine/dehydroalanine modifications (T-18 and S-18 mass shifts)"75- [readme] NPDtools natively supports MGF, mzXML, mzData and uses msconvert utility from the ProteoWizard package to convert spectra in other formats to MGF.: "MetaMiner natively supports MGF, mzXML, mzData and uses msconvert utility from the ProteoWizard package to convert spectra in other formats to MGF"76- [readme] Dereplicator matches tandem mass spectra against the constructed post-translationally modified RiPPs structure database.: "matches tandem mass spectra against the constructed post-translationally modified RiPPs structure database using Dereplicator"