Skip to content

introduce constant for native id prefix set in OpenMS #4195

Closed

Description

@timosachsenberg

E.g.: in FileMerger, we write native ids as:
spec_it->setNativeID("spectrum=" + String(native_id));

XTandemAdapter annotates "index="
MSGFPlusAdapter annotates "scan="
in the ID data structure.

I think it would be good to be more consistent.

Activity

  1. jpfeuffer commented on Jul 25, 2019

    @jpfeuffer
    Contributor

    Feel free to Add it to the list in my pinned issue.

  2. oliveralka commented on Jul 26, 2019

    @oliveralka
    Contributor

    Is that a search engine issue, or related to the structure of the vendor nativeID?

    Maybe the nativeID should just be the string referring to the vendors nativeID (instead of setting "spectrum=;index=;..."), or?

    Please see:
    https://github.com/HUPO-PSI/mzTab/blob/master/specification_document-releases/2_0-Metabolomics-Release/mzTab_format_specification_2_0-M_release.adoc#51-use-of-identifiers-for-input-spectra-to-a-search

  3. timosachsenberg commented on Jul 26, 2019

    @timosachsenberg
    ContributorAuthor

    yes for the search engines I agree but seems the thirdparty tools don't provide all annotations and we need to reassign the native id.
    Also that doesn't work if you merge files using FileMerger as native ids might get duplicated

  4. stale commented on Mar 30, 2022

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions