Skip to content

[REFACTOR] MSFraggerAdapter - #3313

Merged
jpfeuffer merged 10 commits into
OpenMS:developfrom
oliveralka:fix/MSFraggerAdapter
Mar 19, 2018
Merged

jpfeuffer merged 10 commits into
OpenMS:developfrom
oliveralka:fix/MSFraggerAdapter

Conversation

@oliveralka

Copy link
Copy Markdown
Contributor

#3244

  • reduce java_heapmemory to 2600 (test_only)
  • convert MSFragger pepXML to idXML
  • optional_output pepXML
  • multiple files input -> one file (looping KNIME)

String pepxmlfile = File::removeExtension(link_name) + "." + "pepXML";
std::vector<PeptideIdentification> peptide_identifications;
std::vector<ProteinIdentification> protein_identifications;
PepXMLFile().load(pepxmlfile, protein_identifications, peptide_identifications);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we overwrite the weird XTandem hack of MSFragger here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually I don't know if it is necessary (will probably be updated in the following MSFragger Version) - if you think it is important - I can change it.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would make more sense. In the end we have a lot of idxmls lying around with XTandem annotated. And for us it does not make sense as we do not directly use peptide prophet.

@hroest

hroest commented Mar 15, 2018

Copy link
Copy Markdown
Contributor

how well does the conversion to idXML work? I assume that each modification is just identified by its mass and not by a name, does this break anything in OpenMS ?

@oliveralka

oliveralka commented Mar 16, 2018 •

Copy link
Copy Markdown
Contributor Author

It seems not to break anything but you will get a non-fatal error:

Non-fatal error while loading 'file/spectra_comet.pepXML': Modification '147.0354' is not uniquely defined by the given data. Using 'Oxidation (M)' to represent any of 'Oxidation (M), oxidation to L-methionine sulfoxide (M), oxidation to L-methionine (R)-sulfoxide (M), oxidation to L-methionine (S)-sulfoxide (M)'.

Please see test files:
MSFraggerAdapter_7_out.idXML
MSFraggerAdapter_7_opt_out.pepXML

The standard modifications seem to work fine.
There may be problems with modifications which do not exist in unimod but can be used in the MSFragger.

@hroest What do you think?

@jpfeuffer
jpfeuffer merged commit 536aeaf into OpenMS:develop Mar 19, 2018
@oliveralka
oliveralka deleted the fix/MSFraggerAdapter branch October 26, 2018 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants