Skip to content
Snippets Groups Projects
Commit cf0257e1 authored by Langella Olivier's avatar Langella Olivier
Browse files

use real msrun xml id

parent 19188f70
No related branches found
No related tags found
No related merge requests found
......@@ -22,8 +22,7 @@
*implementation
******************************************************************************/
#ifndef AUTOMATICFILTERPARAMETERS_H
#define AUTOMATICFILTERPARAMETERS_H
#pragma once
#include <pappsomspp/types.h>
class AutomaticFilterParameters
......@@ -37,9 +36,10 @@ class AutomaticFilterParameters
void setFilterPeptideEvalue(pappso::pappso_double evalue);
void setFilterProteinEvalue(pappso::pappso_double evalue);
void setFilterMinimumPeptidePerMatch(unsigned int number);
/** @brief filter on peptide reproducibility accross MS runs
* if a peptide is observed in less MS runs than this value, the peptide is not valid
* if a peptide is observed in less MS runs than this value, the peptide is
* not valid
*/
void setFilterPeptideObservedInLessSamplesThan(unsigned int number);
void setFilterCrossSamplePeptideNumber(bool cross);
......@@ -61,5 +61,3 @@ class AutomaticFilterParameters
unsigned int m_filter_peptide_observed_in_less_samples_than = 1;
bool _filter_is_cross_sample_peptide_number = false;
};
#endif // AUTOMATICFILTERPARAMETERS_H
......@@ -21,8 +21,7 @@
* Olivier Langella <Olivier.Langella@moulon.inra.fr> - initial API and
*implementation
******************************************************************************/
#ifndef IDENTIFICATIONDATASOURCE_H
#define IDENTIFICATIONDATASOURCE_H
#pragma once
#include <pappsomspp/massspectrum/massspectrum.h>
......@@ -152,5 +151,3 @@ class IdentificationDataSource
PeptideEvidenceStore _peptide_evidence_store;
};
#endif // IDENTIFICATIONDATASOURCE_H
......@@ -446,7 +446,10 @@ MassChroQml::writeAlignments()
_output_stream->writeStartElement("align");
_output_stream->writeAttribute("group_id", "fractiona1");
_output_stream->writeAttribute("method_id", "my_ms2");
_output_stream->writeAttribute("reference_data_id", "msruna1");
std::vector<MsRunSp> msrun_list =
_sp_project.get()->getMsRunStore().getMsRunList();
_output_stream->writeAttribute("reference_data_id",
msrun_list.front().get()->getXmlId());
_output_stream->writeEndElement();
//</alignments>
_output_stream->writeEndElement();
......
......@@ -28,8 +28,7 @@
*implementation
******************************************************************************/
#ifndef MASSCHROQPRM_H
#define MASSCHROQPRM_H
#pragma once
#include <QXmlStreamWriter>
#include <QFile>
......@@ -56,4 +55,3 @@ class MassChroqPrm
IdentificationGroup *_p_identification_group;
};
#endif // MASSCHROQPRM_H
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment