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

work on the mascot dat parser

parent ee477b81
No related branches found
No related tags found
Loading
This diff is collapsed.
......@@ -74,9 +74,11 @@ class MascotDatParser
};
struct QueryLine
{
unsigned int query_index = 0;
unsigned int charge = 0;
pappso::pappso_double rt = 0;
std::size_t parsed_scan_number = 0;
std::size_t query_index = 0;
unsigned int index = 0;
unsigned int charge = 0;
pappso::pappso_double rt = 0;
QString title;
};
struct SummaryLine
......@@ -87,7 +89,8 @@ class MascotDatParser
};
void savePeptideList(std::vector<PeptideLine> &peptide_list, bool is_decoy);
pappso::pappso_double
getEvalue(pappso::pappso_double ion_score, SummaryLine &summary_line,
getEvalue(pappso::pappso_double ion_score,
SummaryLine &summary_line,
pappso::pappso_double confidence_interval = 0.05) const;
pappso::pappso_double
getEvalueExperimental(pappso::pappso_double ion_score,
......@@ -105,9 +108,9 @@ class MascotDatParser
QRegExp _regexp_header_line;
QRegExp _regexp_parse_scan;
unsigned int _number_of_queries = 0;
unsigned int _number_of_residues = 0;
unsigned int _current_query_index = 0;
QString _error_str;
bool _is_decoy_section = false;
......
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