Skip to content

Feature/msstats - #3339

Closed
lukaszimmermann wants to merge 117 commits into
OpenMS:developfrom
lukaszimmermann:feature/msstats
Closed

lukaszimmermann wants to merge 117 commits into
OpenMS:developfrom
lukaszimmermann:feature/msstats

Conversation

@lukaszimmermann

Copy link
Copy Markdown
Contributor

PR for MSstatsConverter. Based on #3332 . I wil rebase this branch on #3332 once the underlying branch for the experimental design changes.

lukaszimmermann and others added 30 commits March 30, 2018 11:33
…esign TSV

The BioReplicate column for MSstats is currently missing
@jpfeuffer

Copy link
Copy Markdown
Contributor

error message: the value 'MSstats_Condition' was used but is not valid; Registering a required StringOption param (msstats_condition) with a non-empty default is forbidden! [C:\jenkins\ws\openms_user_experimental\openms_test_packaging\c2e226b2\build\doc\doc_param_internal.vcxproj]

And FileConverter tests still fail: http://cdash.openms.de/viewTest.php?onlyfailed&buildid=266197

Label: Label in MS file:
label-free: always 1
TMT6Plex: 1..6
SILAC with light and heavy: 1..2

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what about light, medium, heavy? can be easily extended I guess? just an example?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just an example. In that case you would have 3 labels

@jpfeuffer

Copy link
Copy Markdown
Contributor

Can someone merge in develop please? We had changes in the win installer.

@timosachsenberg

Copy link
Copy Markdown
Contributor

merged develop

@hroest

hroest commented May 23, 2018

Copy link
Copy Markdown
Contributor

can you fix this?

src/tests/class_tests/openms/source/ExperimentalDesign_test.cpp
Function parameter 'sample_to_rowindex' should be passed by reference.
275

START_SECTION(([ExperimentalDesign::SampleSection] SampleSection(std::vector< std::vector< String > > _content, std::map< unsigned, Size > sample_to_rowindex, std::map< String, Size > columnname_to_columnindex)))

@timosachsenberg

Copy link
Copy Markdown
Contributor

Thanks. I will give this branch another go tomorrow.

@hroest

hroest commented May 23, 2018

Copy link
Copy Markdown
Contributor

looks like windows crashed but everything else works


START_SECTION((static ExperimentalDesign fromConsensusMap(const ConsensusMap &c)))
{
// TODO

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: fix or delete all these tests

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added test for consensusmap and featuremap

@ingroup Format
*/

class OPENMS_DLLAPI ExperimentalDesignFile

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add a .pxd file for this as well?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

START_SECTION((static ExperimentalDesign load(const String &tsv_file, bool require_spectra_files)))
{
ExperimentalDesign design = ExperimentalDesignFile::load(
OPENMS_GET_TEST_DATA_PATH("ExperimentalDesign_input_1.tsv"), false);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you actually test something here? e.g. what should be in design?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

its tested in ExperimentalDesign_test. From my side that's fine but I can also test it here if you want

}
END_SECTION

START_SECTION((bool sameNrOfMSFilesPerFraction() const ))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make sure you test all public methods

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All are tested now, except the simple getter and setter of the inner struct and loading from identifications only data.

add_test("TOPP_FileConverter_28" ${TOPP_BIN_PATH}/FileConverter -test -in ${DATA_DIR_TOPP}/FileConverter_28_input.mzML -out FileConverter_28.tmp -out_type mzML -convert_to_chromatograms)
add_test("TOPP_FileConverter_28_out" ${DIFF} -in1 FileConverter_28.tmp -in2 ${DATA_DIR_TOPP}/FileConverter_28_output.mzML -whitelist "location=")
add_test("TOPP_FileConverter_28_out" ${DIFF} -in1 FileConverter_28.tmp -in2 ${DATA_DIR_TOPP}/FileConverter_28_output.mzML -whitelist "location=" "<offset")
set_tests_properties("TOPP_FileConverter_28_out" PROPERTIES DEPENDS "TOPP_FileConverter_28")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add tests for the MSStatsConverter?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will do

@timosachsenberg

Copy link
Copy Markdown
Contributor

continued in my branch

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

Successfully merging this pull request may close these issues.

4 participants