|
void | resolveMixedSequenceGroups_ (std::vector< TSVTransition > &transition_list) const |
| Resolve cases where the same peptide label group has different sequences. More...
|
|
void | createTransition_ (std::vector< TSVTransition >::iterator &tr_it, OpenMS::ReactionMonitoringTransition &rm_trans) |
| Populate a new ReactionMonitoringTransition object from a row in the csv. More...
|
|
void | createProtein_ (String protein_name, const String &uniprot_id, OpenMS::TargetedExperiment::Protein &protein) |
| Populate a new TargetedExperiment::Protein object from a row in the csv. More...
|
|
void | interpretRetentionTime_ (std::vector< TargetedExperiment::RetentionTime > &retention_times, const OpenMS::DataValue &rt_value) |
| Helper function to assign retention times to compounds and peptides. More...
|
|
void | createPeptide_ (std::vector< TSVTransition >::const_iterator tr_it, OpenMS::TargetedExperiment::Peptide &peptide) |
| Populate a new TargetedExperiment::Peptide object from a row in the csv. More...
|
|
void | createCompound_ (std::vector< TSVTransition >::const_iterator tr_it, OpenMS::TargetedExperiment::Compound &compound) |
| Populate a new TargetedExperiment::Compound object (a metabolite) from a row in the csv. More...
|
|
void | addModification_ (std::vector< TargetedExperiment::Peptide::Modification > &mods, int location, const ResidueModification &rmod) |
| Add a modification at the specified location. More...
|
|
void | writeTSVOutput_ (const char *filename, OpenMS::TargetedExperiment &targeted_exp) |
| Write a TargetedExperiment to a file. More...
|
|
| TransitionTSVFile () |
| Constructor. More...
|
|
| ~TransitionTSVFile () override |
| Destructor. More...
|
|
void | convertTargetedExperimentToTSV (const char *filename, OpenMS::TargetedExperiment &targeted_exp) |
| Write out a targeted experiment (TraML structure) into a tsv file. More...
|
|
void | convertTSVToTargetedExperiment (const char *filename, FileTypes::Type filetype, OpenMS::TargetedExperiment &targeted_exp) |
| Read in a tsv/mrm file and construct a targeted experiment (TraML structure) More...
|
|
void | convertTSVToTargetedExperiment (const char *filename, FileTypes::Type filetype, OpenSwath::LightTargetedExperiment &targeted_exp) |
| Read in a tsv file and construct a targeted experiment (Light transition structure) More...
|
|
void | validateTargetedExperiment (const OpenMS::TargetedExperiment &targeted_exp) |
| Validate a TargetedExperiment (check that all ids are unique) More...
|
|
@brief This class supports reading and writing of OpenSWATH transition
lists.
The transition lists can be either comma- or tab-separated plain
text files (CSV or TSV format). Modifications should be provided in
UniMod format<sup>1</sup>, but can also be provided in TPP format.
For another file format that stores transitions, see also TransitionPQPFile.
The following columns are required:
<table>
<tr> <td BGCOLOR="#EBEBEB">PrecursorMz*</td> <td>float</td> <td>This describes the precursor ion \a m/z</td> </tr>
<tr> <td BGCOLOR="#EBEBEB">ProductMz*</td> <td>float; synonyms: FragmentMz</td> <td>This specifies the product ion \a m/z</td> </tr>
<tr> <td BGCOLOR="#EBEBEB">LibraryIntensity*</td> <td>float; synonyms: RelativeFragmentIntensity</td> <td>This specifies the relative intensity of the fragment ion</td></tr>
<tr> <td BGCOLOR="#EBEBEB">NormalizedRetentionTime*</td> <td>float; synonyms: RetentionTime, Tr_recalibrated, iRT, RetentionTimeCalculatorScore</td> <td>This specifies the expected retention time (normalized retention time) </td></tr>
</table>
For targeted proteomics files, the following additional columns should be provided:
GeneName** | free text; | Gene name (unique gene identifier) |
ProteinId** | free text; synonyms: ProteinName | Protein identifier |
PeptideSequence** | free text | sequence only (no modifications); synonyms: Sequence, StrippedSequence |
ModifiedPeptideSequence** | free text | should contain modifications1; synonyms: FullUniModPeptideName, FullPeptideName, ModifiedSequence |
PrecursorCharge** | integer; synonyms: Charge | contains the charge of the precursor ion |
ProductCharge** | integer; synonyms: FragmentCharge | contains the fragment charge |
FragmentType | free text | contains the type of the fragment, e.g. "b" or "y" |
FragmentSeriesNumber | integer; synonyms: FragmentNumber | e.g. for y7 use "7" here |
OpenSWATH uses grouped transitions to detect candidate analyte signals. These groups are by default generated based on the input, but can also be manually specified:
<table>
<tr> <td BGCOLOR="#EBEBEB">TransitionGroupId**</td> <td>free text; synomys: TransitionGroupName, transition_group_id</td><td> designates the transition group [e.g. peptide] to which this transition belongs</td> </tr>
<tr> <td BGCOLOR="#EBEBEB">TransitionId**</td> <td>free text; synonyms: TransitionName, transition_name </td> <td> needs to be unique for each transition [in this file]</td> </tr>
<tr> <td BGCOLOR="#EBEBEB">Decoy</td> <td>1: decoy, 0: target; synomys: decoy, IsDecoy </td> <td> determines whether the transition is a decoy transition or not</td> </tr>
<tr> <td BGCOLOR="#EBEBEB">PeptideGroupLabel</td> <td>free text </td> <td> designates to which peptide label group (as defined in MS:1000893) the peptide belongs to<sup>2</sup></td> </tr>
<tr> <td BGCOLOR="#EBEBEB">DetectingTransition</td> <td> 0 or 1; synonyms: detecting_transition</td> <td>1: use transition to detect peak group, 0: don't use transition for detection</td> </tr>
<tr> <td BGCOLOR="#EBEBEB">IdentifyingTransition</td> <td> 0 or 1; synonyms: identifying_transition</td> <td>1: use transition for peptidoform inference in the <a href="http://openswath.org/en/latest/docs/ipf.html">IPF Workflow</a>, 0: don't use transition for identification</td> </tr>
<tr> <td BGCOLOR="#EBEBEB">QuantifyingTransition</td> <td> 0 or 1; synonyms: quantifying_transition</td> <td>1: use transition to quantify peak group, 0: don't use transition for quantification</td> </tr>
</table>
Optionally, the following columns can be specified but they are not actively used by OpenSWATH:
CollisionEnergy | float; synonyms: CE | Collision energy |
Annotation | free text | Transition-level annotation, e.g. y7 |
UniprotId | free text; synonyms: UniprotID | A Uniprot identifier |
LabelType | free text | optional description of which label was used, e.g. heavy or light |
For targeted metabolomics files, the following fields are also supported:
<table>
<tr> <td BGCOLOR="#EBEBEB">CompoundName**</td> <td>free text; synonyms: CompoundId</td><td>Should be unique for the analyte, if present the file will be interpreted as a metabolomics file </td></tr>
<tr> <td BGCOLOR="#EBEBEB">SMILES</td><td>free text</td><td>SMILES identifier of the compound</td></tr>
<tr> <td BGCOLOR="#EBEBEB">SumFormula</td><td>free text</td><td>molecular formula of the compound (e.g. H2O)</td></tr>
</table>
Fields indicated with * are strictly required to create a TraML file. Fields indicated with ** are recommended, but only required for a specific application (such as using the transition list for an analysis tool such as OpenSwathWorkflow) or in a specific context (proteomics or metabolomics).
Remarks:
-
- modifications should be supplied inside the sequence using UniMod identifiers or freetext identifiers that are understood by OpenMS. See also OpenMS::AASequence for more information. For example:
-
PEPT(Phosphorylation)IDE(UniMod:27)A )
-
- peptide label groups designate groups of peptides that are isotopically modified forms of the same peptide species. For example, the heavy and light forms of the same peptide will both be assigned the same peptide group label. For example:
-
PEPTIDEAK -> gets label "PEPTIDEAK_gr1"
-
PEPTIDEAK[+8] -> gets label "PEPTIDEAK_gr1"
-
PEPT(Phosphorylation)IDEAK -> gets label "PEPTIDEAK_gr2"
-
PEPT(Phosphorylation)IDEAK[+8] -> gets label "PEPTIDEAK_gr2"
Parameters of this class are:
Name | Type | Default | Restrictions | Description |
retentionTimeInterpretation |
string | iRT |
iRT, seconds, minutes | How to interpret the provided retention time (the retention time column can either be interpreted to be in iRT, minutes or seconds) |
override_group_label_check |
string | false |
true, false | Override an internal check that assures that all members of the same PeptideGroupLabel have the same PeptideSequence (this ensures that only different isotopic forms of the same peptide can be grouped together in the same label group). Only turn this off if you know what you are doing. |
force_invalid_mods |
string | false |
true, false | Force reading even if invalid modifications are encountered (OpenMS may not recognize the modification) |
Note:
- If a section name is documented, the documentation is displayed as tooltip.
- Advanced parameter names are italic.