Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
i2MassChroQ
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PAPPSO
i2MassChroQ
Commits
ac3491eb
Commit
ac3491eb
authored
7 years ago
by
Langella Olivier
Browse files
Options
Downloads
Patches
Plain Diff
fasta files references added to identification sources in xpip
parent
e38a9899
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/input/xtpxpipsaxhandler.cpp
+5
-1
5 additions, 1 deletion
src/input/xtpxpipsaxhandler.cpp
src/output/xpip.cpp
+7
-1
7 additions, 1 deletion
src/output/xpip.cpp
with
12 additions
and
2 deletions
src/input/xtpxpipsaxhandler.cpp
+
5
−
1
View file @
ac3491eb
...
...
@@ -302,7 +302,7 @@ bool XtpXpipSaxHandler::startElement_identification_group(QXmlAttributes attribu
}
bool
XtpXpipSaxHandler
::
startElement_identification_source
(
QXmlAttributes
attributes
)
{
//<identification_source id="identa0" msrun_id="sampa0" path="/
gorgone/pappso/formation/Janvier2014/TD/xml_
tandem/20120906_balliau_extract_1_A01_urnb-1.xml" engine="1" version=""
/
>
//<identification_source id="identa0" msrun_id="sampa0" path="/
espace/bio/
tandem/20120906_balliau_extract_1_A01_urnb-1.xml" engine="1" version="
2017.2.1.4" fasta_ids="fastaa0
">
qDebug
()
<<
"startElement_identification_source "
;
...
...
@@ -315,6 +315,10 @@ bool XtpXpipSaxHandler::startElement_identification_source(QXmlAttributes attrib
sp_ident_source
->
setMsRunSp
(
_map_msruns
.
at
(
attributes
.
value
(
"msrun_id"
).
simplified
()));
qDebug
()
<<
"startElement_identification_source setIdentificationEngineVersion"
;
sp_ident_source
->
setIdentificationEngineVersion
(
attributes
.
value
(
"version"
));
for
(
const
QString
&
fasta_id
:
attributes
.
value
(
"fasta_ids"
).
split
(
" "
))
{
sp_ident_source
.
get
()
->
addFastaFile
(
_map_fasta_files
.
at
(
fasta_id
));
}
//_current_identification_group_p->addMsRunSp(ms_run);
qDebug
()
<<
"startElement_identification_source end"
;
...
...
This diff is collapsed.
Click to expand it.
src/output/xpip.cpp
+
7
−
1
View file @
ac3491eb
...
...
@@ -194,6 +194,12 @@ void Xpip::writeIdentificationDataSourceList(const IdentificationDataSourceStore
_output_stream
->
writeAttribute
(
"engine"
,
QString
(
"%1"
).
arg
(
static_cast
<
std
::
int8_t
>
(
ident_source_sp
.
get
()
->
getIdentificationEngine
())));
_output_stream
->
writeAttribute
(
"version"
,
ident_source_sp
.
get
()
->
getIdentificationEngineVersion
());
QStringList
fasta_file_id
;
for
(
FastaFileSp
fasta_file
:
ident_source_sp
.
get
()
->
getFastaFileList
())
{
fasta_file_id
<<
fasta_file
.
get
()
->
getXmlId
();
}
_output_stream
->
writeAttribute
(
"fasta_ids"
,
fasta_file_id
.
join
(
" "
));
const
std
::
map
<
IdentificationEngineParam
,
QVariant
>
params
=
ident_source_sp
.
get
()
->
getIdentificationEngineParamMap
();
if
(
params
.
size
()
>
0
)
{
_output_stream
->
writeStartElement
(
"params"
);
...
...
@@ -205,7 +211,7 @@ void Xpip::writeIdentificationDataSourceList(const IdentificationDataSourceStore
}
_output_stream
->
writeEndElement
();
}
const
std
::
map
<
IdentificationEngineStatistics
,
QVariant
>
stats
=
ident_source_sp
.
get
()
->
getIdentificationEngineStatisticsMap
();
if
(
stats
.
size
()
>
0
)
{
_output_stream
->
writeStartElement
(
"stats"
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment