Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contaminants #36

Open
dominikschm opened this issue Mar 19, 2019 · 1 comment
Open

Contaminants #36

dominikschm opened this issue Mar 19, 2019 · 1 comment

Comments

@dominikschm
Copy link

dominikschm commented Mar 19, 2019

  • new metric for tool "QualityControl"

input:
FeatureMap (vector of Features) and contaminants Database (vector of FastaEntry)

output:
ratio of # contaminants (# contaminants/ # all peptides) and
ratio of sum of contaminants (sum of contaminants/sum of peptides)

corner case:
no contaminants -> warning

@cbielow
Copy link
Owner

cbielow commented Mar 19, 2019

with regards to mzTab later on, receive the FeatureMap by reference, but do not make it const.
Instead, for every feature, at a new metavalue ( via .setMetaValue("is_contaminant", x)) where int x = 0/1 depending on contaminant status.

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

No branches or pull requests

2 participants